View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003461 | FreeCAD | Bug | public | 2018-05-06 12:45 | 2018-05-08 13:29 |
Reporter | eduardosm | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | x86_64 | OS | Linux | OS Version | 4.16.4-1-MANJARO |
Product Version | 0.17 | ||||
Target Version | 0.18 | Fixed in Version | 0.17 | ||
Summary | 0003461: FreeCAD crashes when changing language setting | ||||
Description | FreeCAD crashes when changing language settings. | ||||
Steps To Reproduce | With a clean FreeCAD installation ("~/.FreeCAD" not existing): * Open FreeCAD. * Open the settings window. * Change the langiage. In my case, from Spanish (system language) to English. * Click apply or accept. * FreeCAD crashes immediately. * Open FreeCAD again, language setting has not been saved. | ||||
Additional Information | Console output is attached. FreeCAD 0.17 has been built from Arch Linux AUR package: https://aur.archlinux.org/packages/freecad Version info: OS: "Manjaro Linux" Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.17.5235 (Git shallow) Build type: Release Branch: master Hash: cd733757bc18992ed67a7e4e2b631cc3760963ab Python version: 2.7.14 Qt version: 4.8.7 Coin version: 3.1.3 OCC version: 7.2.0 Locale: Spanish/Spain (es_ES) | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
|
console.txt (5,902 bytes)
FreeCAD 0.17, Libs: 0.17R5235 (Git shallow) © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2018 ##### #### ### #### # # # # # # # ## #### #### # # # # # #### # # # # # # # ##### # # # # #### #### # # # # # # # # # # # # # # ## ## ## # # #### #### ### # # #### ## ## ## Program received signal SIGSEGV, Segmentation fault. #0 /usr/lib/libc.so.6(+0x348e0) [0x7fb54f5338e0] #1 0x7fb5509d39c0 in QPlainTextEdit::setWordWrapMode(QTextOption::WrapMode) from /usr/lib/libQtGui.so.4+0 #2 0x7fb5521151ab in Gui::Dialog::DlgGeneralImp::saveSettings() from /usr/lib/freecad/lib/libFreeCADGui.so+0x1fb #3 0x7fb55211a55a in Gui::Dialog::DlgPreferencesImp::applyChanges() from /usr/lib/freecad/lib/libFreeCADGui.so+0x10a #4 0x7fb55211ae43 in Gui::Dialog::DlgPreferencesImp::qt_metacall(QMetaObject::Call, int, void**) from /usr/lib/freecad/lib/libFreeCADGui.so+0x83 #5 0x7fb54fff57b8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) from /usr/lib/libQtCore.so.4+0x2b8 #6 0x7fb55091b690 in QDialogButtonBox::clicked(QAbstractButton*) from /usr/lib/libQtGui.so.4+0x40 #7 /usr/lib/libQtGui.so.4(+0x5da747) [0x7fb55091b747] #8 0x7fb54fff5c9d in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) from /usr/lib/libQtCore.so.4+0x79d #9 0x7fb550bb2c93 in QAbstractButton::clicked(bool) from /usr/lib/libQtGui.so.4+0x43 #10 /usr/lib/libQtGui.so.4(+0x5ad2b7) [0x7fb5508ee2b7] #11 /usr/lib/libQtGui.so.4(+0x5ae7bb) [0x7fb5508ef7bb] #12 0x7fb5508ef8e5 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) from /usr/lib/libQtGui.so.4+0x75 #13 0x7fb550579478 in QWidget::event(QEvent*) from /usr/lib/libQtGui.so.4+0x3c8 #14 0x7fb5505251f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/libQtGui.so.4+0x94 #15 0x7fb55052ca02 in QApplication::notify(QObject*, QEvent*) from /usr/lib/libQtGui.so.4+0xde2 #16 0x7fb55201f478 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x88 #17 0x7fb54ffe1e9e in QCoreApplication::notifyInternal(QObject*, QEvent*) from /usr/lib/libQtCore.so.4+0x8e #18 0x7fb55052b62d in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) from /usr/lib/libQtGui.so.4+0x13d #19 /usr/lib/libQtGui.so.4(+0x263d5b) [0x7fb5505a4d5b] #20 0x7fb5505a3b29 in QApplication::x11ProcessEvent(_XEvent*) from /usr/lib/libQtGui.so.4+0x1119 #21 /usr/lib/libQtGui.so.4(+0x28b215) [0x7fb5505cc215] #22 /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x2e8) [0x7fb54a0aa368] #23 /usr/lib/libglib-2.0.so.0(+0x4c5b1) [0x7fb54a0aa5b1] #24 /usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x2e) [0x7fb54a0aa63e] #25 0x7fb5500104b8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/libQtCore.so.4+0x78 #26 /usr/lib/libQtGui.so.4(+0x28b3a8) [0x7fb5505cc3a8] #27 0x7fb54ffe0224 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/libQtCore.so.4+0x44 #28 0x7fb54ffe058f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/libQtCore.so.4+0x1bf #29 0x7fb5509f61e8 in QDialog::exec() from /usr/lib/libQtGui.so.4+0xe8 #30 0x7fb55205ae70 in StdCmdDlgPreferences::activated(int) from /usr/lib/freecad/lib/libFreeCADGui.so+0x40 #31 0x7fb552049d3b in Gui::Command::invoke(int) from /usr/lib/freecad/lib/libFreeCADGui.so+0x7b #32 0x7fb54fff5c9d in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) from /usr/lib/libQtCore.so.4+0x79d #33 0x7fb55051f2f3 in QAction::triggered(bool) from /usr/lib/libQtGui.so.4+0x43 #34 0x7fb55052077b in QAction::activate(QAction::ActionEvent) from /usr/lib/libQtGui.so.4+0xbb #35 /usr/lib/libQtGui.so.4(+0x62f005) [0x7fb550970005] #36 /usr/lib/libQtGui.so.4(+0x6339f5) [0x7fb5509749f5] #37 0x7fb550579478 in QWidget::event(QEvent*) from /usr/lib/libQtGui.so.4+0x3c8 #38 0x7fb55097877c in QMenu::event(QEvent*) from /usr/lib/libQtGui.so.4+0x6c #39 0x7fb5505251f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/libQtGui.so.4+0x94 #40 0x7fb55052ca02 in QApplication::notify(QObject*, QEvent*) from /usr/lib/libQtGui.so.4+0xde2 #41 0x7fb55201f478 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x88 #42 0x7fb54ffe1e9e in QCoreApplication::notifyInternal(QObject*, QEvent*) from /usr/lib/libQtCore.so.4+0x8e #43 0x7fb55052b62d in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) from /usr/lib/libQtGui.so.4+0x13d #44 /usr/lib/libQtGui.so.4(+0x263b5e) [0x7fb5505a4b5e] #45 0x7fb5505a3b29 in QApplication::x11ProcessEvent(_XEvent*) from /usr/lib/libQtGui.so.4+0x1119 #46 /usr/lib/libQtGui.so.4(+0x28b215) [0x7fb5505cc215] #47 /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x2e8) [0x7fb54a0aa368] #48 /usr/lib/libglib-2.0.so.0(+0x4c5b1) [0x7fb54a0aa5b1] #49 /usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x2e) [0x7fb54a0aa63e] #50 0x7fb5500104b8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/libQtCore.so.4+0x78 #51 /usr/lib/libQtGui.so.4(+0x28b3a8) [0x7fb5505cc3a8] #52 0x7fb54ffe0224 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/libQtCore.so.4+0x44 #53 0x7fb54ffe058f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/libQtCore.so.4+0x1bf #54 0x7fb54ffe5de0 in QCoreApplication::exec() from /usr/lib/libQtCore.so.4+0xa0 #55 0x7fb551fd21ec in Gui::Application::runApplication() from /usr/lib/freecad/lib/libFreeCADGui.so+0x147c #56 freecad(main+0x6db) [0x558f31a0945b] #57 /usr/lib/libc.so.6(__libc_start_main+0xea) [0x7fb54f51ff4a] #58 freecad(_start+0x2a) [0x558f31a0a60a] |
|
Can confirm on
I tried to change language and got the following segfault: |
|
@eduardosm FYI, You can also use the latest appimage from: https://github.com/FreeCAD/FreeCAD/releases/tag/0.18_pre Also heads up: https://forum.freecadweb.org/viewtopic.php?f=4&t=28183 Edit: I can't recreate on the latest appImage: FreeCAD_0.18.13662.glibc2.17-x86_64.AppImage
|
|
This is an Arch issue i bet. @sgrogan && @sgrogan1 I think the issue is related to https://forum.freecadweb.org/viewtopic.php?f=4&t=28183 |
|
Already fixed in master with: https://github.com/FreeCAD/FreeCAD/commit/32973995423007a59cd18799c63383150811d1a7 Applied fix to v0.17: https://github.com/FreeCAD/FreeCAD/commit/3bb5ff4e70c0c526f2d9dd69b1004155b2f527f2 |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-05-06 12:45 | eduardosm | New Issue | |
2018-05-06 12:45 | eduardosm | File Added: console.txt | |
2018-05-07 02:08 | Kunda1 | Note Added: 0011234 | |
2018-05-07 02:22 | Kunda1 | Note Added: 0011235 | |
2018-05-07 02:23 | Kunda1 | Note Edited: 0011235 | |
2018-05-07 02:24 | Kunda1 | Assigned To | => user2853 |
2018-05-07 02:24 | Kunda1 | Status | new => assigned |
2018-05-07 02:24 | Kunda1 | Target Version | => 0.18 |
2018-05-07 02:25 | Kunda1 | Note Added: 0011236 | |
2018-05-08 13:29 | wmayer | Status | assigned => closed |
2018-05-08 13:29 | wmayer | Resolution | open => fixed |
2018-05-08 13:29 | wmayer | Fixed in Version | => 0.17 |
2018-05-08 13:29 | wmayer | Note Added: 0011238 |