Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Problem] Arch: crash when creating a structure object #13915

Closed
2 tasks done
wwmayer opened this issue May 9, 2024 · 1 comment · Fixed by #14028
Closed
2 tasks done

[Problem] Arch: crash when creating a structure object #13915

wwmayer opened this issue May 9, 2024 · 1 comment · Fixed by #14028
Assignees
Labels
Crash For issues describing crashes or PRs fixing one WB BIM Related to the BIM/Arch Workbench
Milestone

Comments

@wwmayer
Copy link
Contributor

wwmayer commented May 9, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

  1. Switch to Arch wb
  2. Create a structure object
  3. Click into the 3D view
  4. After a while FreeCAD crashes

Full version info

OS: Ubuntu 22.04.4 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.37239 (Git)
Build type: debug
Branch: main
Hash: 03a371d6e37f4ce47f5ffed7d5b039c5866a7e05
Python 3.10.12, Qt 5.15.3, Coin 4.0.0, Vtk 7.1.1, OCC 7.5.1
Locale: German/Germany (de_DE)

Subproject(s) affected?

Arch

Anything else?

Forum thread: https://forum.freecad.org/viewtopic.php?t=87493

Code of Conduct

  • I agree to follow this project's Code of Conduct
@wwmayer wwmayer added WB BIM Related to the BIM/Arch Workbench Crash For issues describing crashes or PRs fixing one labels May 9, 2024
@xtemp09
Copy link
Contributor

xtemp09 commented May 9, 2024

I ought to add, I cannot reproduce the crash all the time. For example, if I set radial gradient as background, the crash becomes unreproducible.

Backtrace
OS: Ubuntu 22.04.3 LTS (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.36992 (Git)
Build type: Debug
Branch: main
Hash: 53020def864fea94b172c5d7e49614f576790023
Python 3.10.12, Qt 5.15.12, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.1
Locale: English/United States (en_US)
Process 1795 stopped
* thread #1, name = 'FreeCAD', stop reason = signal SIGSEGV: address not mapped to object (fault address: 0x0)
    frame #0: 0x00007ffff2a76057 libCoin.so.80c`SoAction::traverse(SoNode*) + 39
libCoin.so.80c`SoAction::traverse:
->  0x7ffff2a76057 <+39>: movq   (%rsi), %rax
    0x7ffff2a7605a <+42>: callq  *(%rax)
    0x7ffff2a7605c <+44>: movl   %eax, %edi
    0x7ffff2a7605e <+46>: callq  0x7ffff2c623c0            ; SoNode::getActionMethodIndex(SoType)
(lldb) bt
* thread #1, name = 'FreeCAD', stop reason = signal SIGSEGV: address not mapped to object (fault address: 0x0)
  * frame #0: 0x00007ffff2a76057 libCoin.so.80c`SoAction::traverse(SoNode*) + 39
    frame #1: 0x00007ffff2c10908 libCoin.so.80c`SoChildList::traverse(SoAction*, int, int) + 360
    frame #2: 0x00007ffff2c57660 libCoin.so.80c`SoGroup::doAction(SoAction*) + 80
    frame #3: 0x00007ffff2c6c66c libCoin.so.80c`SoSeparator::doAction(SoAction*) + 44
    frame #4: 0x00007ffff6f52491 libFreeCADGui.so`Gui::SoFCUnifiedSelection::handleEvent(this=0x00005555580345f0, action=0x0000555558606a90) at SoFCUnifiedSelection.cpp:750:27
    frame #5: 0x00007ffff2a76095 libCoin.so.80c`SoAction::traverse(SoNode*) + 101
    frame #6: 0x00007ffff2c10908 libCoin.so.80c`SoChildList::traverse(SoAction*, int, int) + 360
    frame #7: 0x00007ffff2c57660 libCoin.so.80c`SoGroup::doAction(SoAction*) + 80
    frame #8: 0x00007ffff2c6c66c libCoin.so.80c`SoSeparator::doAction(SoAction*) + 44
    frame #9: 0x00007ffff2a76095 libCoin.so.80c`SoAction::traverse(SoNode*) + 101
    frame #10: 0x00007ffff2a7fa9b libCoin.so.80c`SoHandleEventAction::beginTraversal(SoNode*) + 171
    frame #11: 0x00007ffff2a766e8 libCoin.so.80c`SoAction::apply(SoNode*) + 200
    frame #12: 0x00007ffff2c25559 libCoin.so.80c`SoEventManager::actuallyProcessEvent(SoEvent const*) + 121
    frame #13: 0x00007ffff6fe9636 libFreeCADGui.so`SIM::Coin3D::Quarter::QuarterWidget::processSoEvent(this=0x00005555585fe410, event=0x0000555558606800) at QuarterWidget.cpp:1028:48
    frame #14: 0x00007ffff6ff0bba libFreeCADGui.so`SIM::Coin3D::Quarter::SoQTQuarterAdaptor::processSoEvent(this=0x00005555585fe410, event=0x0000555558606800) at SoQTQuarterAdaptor.cpp:752:63
    frame #15: 0x00007ffff7025e0b libFreeCADGui.so`Gui::View3DInventorViewer::processSoEventBase(this=<unavailable>, ev=0x0000555558606800) at View3DInventorViewer.cpp:2571:37
    frame #16: 0x00007ffff6ff7a1d libFreeCADGui.so`Gui::NavigationStyle::processSoEvent(this=0x000055555860a2d0, ev=0x0000555558606800) at NavigationStyle.cpp:1486:47
    frame #17: 0x00007ffff6ffeec8 libFreeCADGui.so`Gui::CADNavigationStyle::processSoEvent(this=0x000055555860a2d0, ev=0x0000555558606800) at CADNavigationStyle.cpp:330:46
    frame #18: 0x00007ffff6ffafab libFreeCADGui.so`Gui::NavigationStyle::processEvent(this=0x000055555860a2d0, ev=0x0000555558606800) at NavigationStyle.cpp:1457:37
    frame #19: 0x00007ffff7025d83 libFreeCADGui.so`Gui::View3DInventorViewer::processSoEvent(this=0x00005555585fe410, ev=0x0000555558606800) at View3DInventorViewer.cpp:2566:36
    frame #20: 0x00007ffff6fe4bb2 libFreeCADGui.so`SIM::Coin3D::Quarter::EventFilter::eventFilter(this=0x0000555558608300, obj=<unavailable>, qevent=0x00007fffffffc3d0) at EventFilter.cpp:167:64
    frame #21: 0x00007ffff3e9ec4f libQt5Core.so.5`QCoreApplicationPrivate::sendThroughObjectEventFilters(receiver=0x00005555585fe410, event=0x00007fffffffc3d0) at qcoreapplication.cpp:1190:33
    frame #22: 0x00007ffff4ae1803 libQt5Widgets.so.5`QApplicationPrivate::notify_helper(this=<unavailable>, receiver=0x00005555585fe410, e=0x00007fffffffc3d0) at qapplication.cpp:3634:38
    frame #23: 0x00007ffff4aea60a libQt5Widgets.so.5`QApplication::notify(this=<unavailable>, receiver=0x0000555558606a00, e=0x00007fffffffc870) at qapplication.cpp:3084:43
    frame #24: 0x00007ffff6cf8206 libFreeCADGui.so`Gui::GUIApplication::notify(this=0x00007fffffffd7c0, receiver=0x0000555558606a00, event=0x00007fffffffc870) at GuiApplication.cpp:83:40
    frame #25: 0x00007ffff3e9ef19 libQt5Core.so.5`QCoreApplication::notifyInternal2(receiver=0x0000555558606a00, event=0x00007fffffffc870) at qcoreapplication.cpp:1064:24
    frame #26: 0x00007ffff3e9f1b4 libQt5Core.so.5`QCoreApplication::sendSpontaneousEvent(receiver=0x0000555558606a00, event=0x00007fffffffc870) at qcoreapplication.cpp:1474:27
    frame #27: 0x00007ffff4ae937b libQt5Widgets.so.5`QApplicationPrivate::sendMouseEvent(receiver=0x0000555558606a00, event=0x00007fffffffc870, alienWidget=0x0000555558606a00, nativeWidget=0x00007fffffffd800, buttonDown=0x00007ffff4f4d470, lastMouseReceiver=0x00007ffff4f4d450, spontaneous=true, onlyDispatchEnterLeave=false) at qapplication.cpp:2622:56
    frame #28: 0x00007ffff4b4ae1b libQt5Widgets.so.5`QWidgetWindow::handleMouseEvent(this=0x00005555570c6870, event=0x00007fffffffced0) at qwidgetwindow.cpp:684:44
    frame #29: 0x00007ffff4b4e83a libQt5Widgets.so.5`QWidgetWindow::event(this=0x00005555570c6870, event=0x00007fffffffced0) at qwidgetwindow.cpp:300:25
    frame #30: 0x00007ffff4ae1813 libQt5Widgets.so.5`QApplicationPrivate::notify_helper(this=0x00005555559001c0, receiver=0x00005555570c6870, e=0x00007fffffffced0) at qapplication.cpp:3640:31
    frame #31: 0x00007ffff4aea1be libQt5Widgets.so.5`QApplication::notify(this=0x00007fffffffd7c0, receiver=0x00005555570c6870, e=0x00007fffffffced0) at qapplication.cpp:2980:31
    frame #32: 0x00007ffff6cf8206 libFreeCADGui.so`Gui::GUIApplication::notify(this=0x00007fffffffd7c0, receiver=0x00005555570c6870, event=0x00007fffffffced0) at GuiApplication.cpp:83:40
    frame #33: 0x00007ffff3e9ef19 libQt5Core.so.5`QCoreApplication::notifyInternal2(receiver=0x00005555570c6870, event=0x00007fffffffced0) at qcoreapplication.cpp:1064:24
    frame #34: 0x00007ffff3e9f1b4 libQt5Core.so.5`QCoreApplication::sendSpontaneousEvent(receiver=<unavailable>, event=<unavailable>) at qcoreapplication.cpp:1474:27
    frame #35: 0x00007ffff4231971 libQt5Gui.so.5`QGuiApplicationPrivate::processMouseEvent(e=0x0000555559da8900) at qguiapplication.cpp:2285:42
    frame #36: 0x00007ffff4233366 libQt5Gui.so.5`QGuiApplicationPrivate::processWindowSystemEvent(e=0x0000555559da8900) at qguiapplication.cpp:2005:50
    frame #37: 0x00007ffff420d0c8 libQt5Gui.so.5`QWindowSystemInterface::sendWindowSystemEvents(flags=(i = 36)) at qwindowsysteminterface.cpp:1169:61
    frame #38: 0x00007fffee0b9466 libQt5XcbQpa.so.5`xcbSourceDispatch(source=<unavailable>, (null)=<unavailable>, (null)=<unavailable>) at qxcbeventdispatcher.cpp:105:51
    frame #39: 0x00007ffff351bd3b libglib-2.0.so.0`g_main_context_dispatch + 619
    frame #40: 0x00007ffff3571258 libglib-2.0.so.0`___lldb_unnamed_symbol2709 + 488
    frame #41: 0x00007ffff35193e3 libglib-2.0.so.0`g_main_context_iteration + 51
    frame #42: 0x00007ffff3f0bfbf libQt5Core.so.5`QEventDispatcherGlib::processEvents(this=0x0000555555836570, flags=(i = 36)) at qeventdispatcher_glib.cpp:423:43
    frame #43: 0x00007fffee0b9826 libQt5XcbQpa.so.5`QXcbGlibEventDispatcher::processEvents(this=<unavailable>, flags=<unavailable>) at qxcbeventdispatcher.cpp:143:47
    frame #44: 0x00007ffff3e9c89b libQt5Core.so.5`QEventLoop::processEvents(this=0x00007fffffffd2c0, flags=<unavailable>) at qeventloop.cpp:142:68
    frame #45: 0x00007ffff3e9cf3c libQt5Core.so.5`QEventLoop::exec(this=0x00007fffffffd2c0, flags=(i = 0)) at qeventloop.cpp:235:22
    frame #46: 0x00007ffff3ea78df libQt5Core.so.5`QCoreApplication::exec() at qcoreapplication.cpp:1375:36
    frame #47: 0x00007ffff4224a24 libQt5Gui.so.5`QGuiApplication::exec() at qguiapplication.cpp:1870:34
    frame #48: 0x00007ffff4ae177d libQt5Widgets.so.5`QApplication::exec() at qapplication.cpp:2832:33
    frame #49: 0x00007ffff6c4b9d1 libFreeCADGui.so`(anonymous namespace)::tryRunEventLoop(mainApp=0x00007fffffffd7c0) at Application.cpp:2039:23
    frame #50: 0x00007ffff6c4bc9a libFreeCADGui.so`(anonymous namespace)::runEventLoop(mainApp=0x00007fffffffd7c0) at Application.cpp:2059:24
    frame #51: 0x00007ffff6c4fb14 libFreeCADGui.so`Gui::Application::runApplication() at Application.cpp:2136:17
    frame #52: 0x000055555556a3a5 FreeCAD`main(argc=<unavailable>, argv=<unavailable>) at MainGui.cpp:278:45
    frame #53: 0x00007ffff3229d90 libc.so.6`__libc_start_call_main(main=(FreeCAD`main at MainGui.cpp:105:1), argc=1, argv=0x00007fffffffdd98) at libc_start_call_main.h:58:16
    frame #54: 0x00007ffff3229e40 libc.so.6`__libc_start_main_impl(main=(FreeCAD`main at MainGui.cpp:105:1), argc=1, argv=0x00007fffffffdd98, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007fffffffdd88) at libc-start.c:392:3
    frame #55: 0x0000555555569c05 FreeCAD`_start + 37
(lldb) 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Crash For issues describing crashes or PRs fixing one WB BIM Related to the BIM/Arch Workbench
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants