View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004182 | FreeCAD | Bug | public | 2019-11-02 18:25 | 2020-01-11 16:39 |
Reporter | ARandomEngineer | Assigned To | wmayer | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Laptop | OS | Linux | OS Version | Linux Mint 18.3 |
Fixed in Version | 0.18 | ||||
Summary | 0004182: Segfault when clicking constraints from a different viewport | ||||
Description | When double clicking a constraint from the sketch being edited while a spreadsheed is open in the viewport, FreeCAD crashes with a SegFault. Forum post: https://forum.freecadweb.org/viewtopic.php?f=3&t=40575&p=344767#p344767 | ||||
Steps To Reproduce |
The constraint editor dialog should pop up and the spreadsheet should still be visible. | ||||
Additional Information | Crash log from the console:
| ||||
Tags | #pending-forum, 0.19, crash, GUI | ||||
FreeCAD Information | OS: Linux Mint 18.3 Sylvia (X-Cinnamon/cinnamon) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19. Build type: Release Python version: 3.5.2 Qt version: 4.8.7 Coin version: 4.0.0a OCC version: 7.3.0 Locale: German/Germany (de_DE) | ||||
|
FreeCAD.log (15,227 bytes)
Msg: FreeCAD 0.19, Libs: 0.19R © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019 ##### #### ### #### # # # # # # # ## #### #### # # # # # #### # # # # # # # ##### # # # # #### #### # # # # # # # # # # # # # # ## ## ## # # #### #### ### # # #### ## ## ## Log: Time = Sat Nov 2 15:54:31 2019 Log: AppDataSkipVendor = true Log: AppHomePath = /usr/lib/freecad-daily/ Log: AppIcon = freecad Log: AppTempPath = /tmp/ Log: BinPath = /usr/lib/freecad-daily/bin/ Log: BuildRepositoryURL = https://code.launchpad.net/~vcs-imports/freecad/trunk Log: BuildRevision = Log: BuildRevisionDate = 2019/10/31 22:36:28 Log: BuildVersionMajor = 0 Log: BuildVersionMinor = 19 Log: Console = 0 Log: CopyrightInfo = © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019 ##### #### ### #### # # # # # # # ## #### #### # # # # # #### # # # # # # # ##### # # # # #### #### # # # # # # # # # # # # # # ## ## ## # # #### #### ### # # #### ## ## ## Log: Debug = 0 Log: DocPath = /usr/lib/freecad-daily/doc/ Log: ExeName = FreeCAD Log: ExeVendor = FreeCAD Log: ExeVersion = 0.19 Log: LoggingConsole = 1 Log: LoggingFile = 1 Log: LoggingFileName = /home/julian/.FreeCAD/FreeCAD.log Log: MaintainerUrl = http://www.freecadweb.org/wiki/Main_Page Log: PATH = /home/julian/.cargo/bin:/home/julian/bin:/home/julian/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/clang-8.0/bin Log: PYTHONPATH = Log: PythonSearchPath = /usr/lib/python35.zip:/usr/lib/python3.5/:/usr/lib/python3.5/plat-x86_64-linux-gnu:/usr/lib/python3.5/lib-dynload Log: RunMode = Gui Log: SplashAlignment = Bottom|Left Log: SplashInfoColor = #c8c8c8 Log: SplashScreen = freecadsplash Log: SplashTextColor = #ffffff Log: StartWorkbench = StartWorkbench Log: SystemParameter = /home/julian/.FreeCAD/system.cfg Log: UserAppData = /home/julian/.FreeCAD/ Log: UserHomePath = /home/julian Log: UserParameter = /home/julian/.FreeCAD/user.cfg Log: Verbose = Log: Create Application Log: Run App init script Log: Init: starting App::FreeCADInit.py Log: Init: Searching for modules... Log: Init: Initializing /usr/share/freecad-daily/Mod/Measure... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Part... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Inspection... done Log: Init: Initializing /usr/share/freecad-daily/Mod/OpenSCAD... done Log: Init: Initializing /usr/share/freecad-daily/Mod/MeshPart... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Raytracing... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Mesh... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Spreadsheet... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Robot... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Sketcher... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Idf... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Material... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Points... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Complete... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Start... done Log: Init: Initializing /usr/share/freecad-daily/Mod/ReverseEngineering... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Image... done Log: Init: Initializing /usr/share/freecad-daily/Mod/PartDesign... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Web... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Import... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Arch... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Draft... done Log: Init: Initializing /usr/share/freecad-daily/Mod/TechDraw... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Test... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Show(Init.py not found)... ignore Log: Init: Initializing /usr/share/freecad-daily/Mod/Tux(Init.py not found)... ignore Log: Init: Initializing /usr/share/freecad-daily/Mod/Surface... done Log: Drawing became obsolete in 0.17; consider using TechDraw instead. Log: Init: Initializing /usr/share/freecad-daily/Mod/Drawing... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Fem... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Path... done Log: Init: Initializing /usr/share/freecad-daily/Mod/AddonManager... done Log: Using /usr/share/freecad-daily/Mod as module path! Log: System path after init: Log: /usr/lib/freecad-daily/bin Log: /usr/share/freecad-daily/Mod/Measure Log: /usr/share/freecad-daily/Mod/Part Log: /usr/share/freecad-daily/Mod/Inspection Log: /usr/share/freecad-daily/Mod/OpenSCAD Log: /usr/share/freecad-daily/Mod/MeshPart Log: /usr/share/freecad-daily/Mod/Raytracing Log: /usr/share/freecad-daily/Mod/Mesh Log: /usr/share/freecad-daily/Mod/Spreadsheet Log: /usr/share/freecad-daily/Mod/Robot Log: /usr/share/freecad-daily/Mod/Sketcher Log: /usr/share/freecad-daily/Mod/Idf Log: /usr/share/freecad-daily/Mod/Material Log: /usr/share/freecad-daily/Mod/Points Log: /usr/share/freecad-daily/Mod/Complete Log: /usr/share/freecad-daily/Mod/Start Log: /usr/share/freecad-daily/Mod/ReverseEngineering Log: /usr/share/freecad-daily/Mod/Image Log: /usr/share/freecad-daily/Mod/PartDesign Log: /usr/share/freecad-daily/Mod/Web Log: /usr/share/freecad-daily/Mod/Import Log: /usr/share/freecad-daily/Mod/Arch Log: /usr/share/freecad-daily/Mod/Draft Log: /usr/share/freecad-daily/Mod/TechDraw Log: /usr/share/freecad-daily/Mod/Test Log: /usr/share/freecad-daily/Mod/Show Log: /usr/share/freecad-daily/Mod/Tux Log: /usr/share/freecad-daily/Mod/Surface Log: /usr/share/freecad-daily/Mod/Drawing Log: /usr/share/freecad-daily/Mod/Fem Log: /usr/share/freecad-daily/Mod/Path Log: /usr/share/freecad-daily/Mod/AddonManager Log: /home/julian/.cargo/bin Log: /home/julian/bin Log: /home/julian/.local/bin Log: /usr/local/sbin Log: /usr/local/bin Log: /usr/sbin Log: /usr/bin Log: /sbin Log: /bin Log: /usr/games Log: /usr/local/games Log: /usr/local/clang-8.0/bin Log: Init: App::FreeCADInit.py done Log: Init: Creating Gui::Application and QApplication Log: Local server 'FreeCAD' started Log: OpenGL version 3.0 or higher is present Log: Run Gui init script Log: Init: Running FreeCADGuiInit.py start script... Log: Init: Searching modules... Log: Init: Initializing /usr/share/freecad-daily/Mod/Measure(InitGui.py not found)... ignore Log: Init: Initializing /usr/share/freecad-daily/Mod/Part... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Inspection... done Log: Init: Initializing /usr/share/freecad-daily/Mod/OpenSCAD... done Log: Init: Initializing /usr/share/freecad-daily/Mod/MeshPart... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Raytracing... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Mesh... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Spreadsheet... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Robot... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Sketcher... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Idf(InitGui.py not found)... ignore Log: Init: Initializing /usr/share/freecad-daily/Mod/Material... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Points... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Complete... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Start... done Log: Init: Initializing /usr/share/freecad-daily/Mod/ReverseEngineering... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Image... done Log: Init: Initializing /usr/share/freecad-daily/Mod/PartDesign... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Web... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Import... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Arch... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Draft... done Log: Init: Initializing /usr/share/freecad-daily/Mod/TechDraw... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Test... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Show(InitGui.py not found)... ignore Log: Init: Initializing /usr/share/freecad-daily/Mod/Tux... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Surface... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Drawing... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Fem... done Log: Init: Initializing /usr/share/freecad-daily/Mod/Path... done Log: Init: Initializing /usr/share/freecad-daily/Mod/AddonManager... done Log: Init: Loading FreeCAD GUI Log: Init: Running FreeCADGuiInit.py start script... done Log: Init: Activating default workbench StartWorkbench Log: Loading GUI of Web module... done Log: Loading GUI of Start module... done Log: Loading Start module... done Log: Init: Showing main window Log: Main window restored Log: Show main window Log: Toolbars restored Log: Couldn't connect to spacenav daemon Log: Init: Entering event loop Log: Init: Processing command line files Log: Module: Part Log: Loading Part module... done Log: Loading Sketcher module... done Log: Loading PartDesign module... done Log: Loading GUI of Part module... done Log: Loading GUI of Sketcher module... done Log: Loading GUI of PartDesign module... done Log: Loading Spreadsheet module... done Log: Loading GUI of Spreadsheet module... done Log: File was not written with this version of the topology Log: Sketcher::setUpSketch()-T:0 Log: Sketcher::Solve()-DogLeg-T:0 Log: QObject::setParent: Cannot set parent, new parent is in a different thread Err: Program received signal SIGSEGV, Segmentation fault. Err: #0 /lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7f4d05fe54b0] Err: #1 0x7f4d06a9ca02 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x12 Err: #2 0x7f4d06fc9fbc in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x6c Err: #3 0x7f4d06fd0f16 in QApplication::notify(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x2b6 Err: #4 0x7f4d08fca0e4 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad-daily-python3/lib/libFreeCADGui.so+0x54 Err: #5 0x7f4d06a9c90d in QCoreApplication::notifyInternal(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x8d Err: #6 0x7f4d070220e1 in QWidget::setParent(QWidget*, QFlags<Qt::WindowType>) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x771 Err: #7 0x7f4d0702250a in QWidgetPrivate::init(QWidget*, QFlags<Qt::WindowType>) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x18a Err: #8 0x7f4d07022ae4 in QWidget::QWidget(QWidgetPrivate&, QWidget*, QFlags<Qt::WindowType>) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x64 Err: #9 0x7f4d074abbd1 in QDialog::QDialog(QWidget*, QFlags<Qt::WindowType>) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x131 Err: #10 0x7f4c81689fcc in SketcherGui::EditDatumDialog::exec(bool) from /usr/lib/freecad-daily-python3/lib/SketcherGui.so+0xac Err: #11 0x7f4c815f9121 in SketcherGui::TaskSketcherConstrains::on_listWidgetConstraints_itemActivated(QListWidgetItem*) from /usr/lib/freecad-daily-python3/lib/SketcherGui.so+0xa1 Err: #12 0x7f4d06ab1010 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x4d0 Err: #13 0x7f4d0756d4c2 in QListWidget::itemActivated(QListWidgetItem*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x42 Err: #14 0x7f4d06ab1010 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x4d0 Err: #15 0x7f4d075062c5 in QAbstractItemView::activated(QModelIndex const&) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x35 Err: #16 0x7f4d0750fc18 in QAbstractItemView::mouseDoubleClickEvent(QMouseEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x1a8 Err: #17 0x7f4d07021450 in QWidget::event(QEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0xe20 Err: #18 0x7f4d073e9cee in QFrame::event(QEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x1e Err: #19 0x7f4d0750f663 in QAbstractItemView::viewportEvent(QEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x1e3 Err: #20 0x7f4d06a9ca76 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x86 Err: #21 0x7f4d06fc9fbc in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x6c Err: #22 0x7f4d06fd10d6 in QApplication::notify(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x476 Err: #23 0x7f4d08fca0e4 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad-daily-python3/lib/libFreeCADGui.so+0x54 Err: #24 0x7f4d06a9c90d in QCoreApplication::notifyInternal(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x8d Err: #25 0x7f4d06fd06dd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x14d Err: #26 /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x2493f2) [0x7f4d0704e3f2] Err: #27 0x7f4d0704dc83 in QApplication::x11ProcessEvent(_XEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x16b3 Err: #28 /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x272542) [0x7f4d07077542] Err: #29 /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x2a7) [0x7f4cffb28197] Err: #30 /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4a3f0) [0x7f4cffb283f0] Err: #31 /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7f4cffb2849c] Err: #32 0x7f4d06acd2ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x7e Err: #33 /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x272616) [0x7f4d07077616] Err: #34 0x7f4d06a9b18f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x3f Err: #35 0x7f4d06a9b4f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x1b5 Err: #36 0x7f4d06aa14b9 in QCoreApplication::exec() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x99 Err: #37 0x7f4d08f4df42 in Gui::Application::runApplication() from /usr/lib/freecad-daily-python3/lib/libFreeCADGui.so+0x1a12 Err: #38 freecad-daily(main+0x8f4) [0x56435df9b8b4] Err: #39 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f4d05fd0830] Err: #40 freecad-daily(_start+0x29) [0x56435df9ca39] |
|
Fix committed to master branch. |
|
Fix committed to releases/FreeCAD-0-18 branch. |
|
Back ported fix to v0.18 |
FreeCAD: master f97eb702 2020-01-11 16:32:54 Details Diff |
fixes 0004182: Segfault when clicking constraints from a different viewport [skip ci] |
Affected Issues 0004182 |
|
mod - src/Mod/Sketcher/Gui/EditDatumDialog.cpp | Diff File | ||
FreeCAD: releases/FreeCAD-0-18 9ae12970 2020-01-11 16:36:28 Details Diff |
fixes 0004182: Segfault when clicking constraints from a different viewport [skip ci] |
Affected Issues 0004182 |
|
mod - src/Mod/Sketcher/Gui/EditDatumDialog.cpp | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-11-02 18:25 | ARandomEngineer | New Issue | |
2019-11-02 18:25 | ARandomEngineer | Tag Attached: 0.19 | |
2019-11-02 18:25 | ARandomEngineer | Tag Attached: crash | |
2019-11-02 18:25 | ARandomEngineer | Tag Attached: GUI | |
2019-11-02 18:25 | ARandomEngineer | File Added: Before Crash.png | |
2019-11-02 18:25 | ARandomEngineer | File Added: Crash.FCStd | |
2019-11-02 18:25 | ARandomEngineer | File Added: FreeCAD.log | |
2019-11-02 18:53 | Kunda1 | Description Updated | |
2019-11-02 18:54 | Kunda1 | Description Updated | |
2019-11-02 18:54 | Kunda1 | Tag Attached: #pending-forum | |
2019-11-02 18:55 | Kunda1 | Additional Information Updated | |
2020-01-11 12:39 | Kunda1 | Status | new => confirmed |
2020-01-11 12:39 | Kunda1 | Target Version | => 0.19 |
2020-01-11 16:33 | wmayer | Changeset attached | => FreeCAD master f97eb702 |
2020-01-11 16:33 | wmayer | Note Added: 0014055 | |
2020-01-11 16:33 | wmayer | Assigned To | => wmayer |
2020-01-11 16:33 | wmayer | Status | confirmed => closed |
2020-01-11 16:33 | wmayer | Resolution | open => fixed |
2020-01-11 16:38 | wmayer | Changeset attached | => FreeCAD releases/FreeCAD-0-18 9ae12970 |
2020-01-11 16:38 | wmayer | Note Added: 0014056 | |
2020-01-11 16:39 | wmayer | Fixed in Version | => 0.18 |
2020-01-11 16:39 | wmayer | Note Added: 0014057 |