Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939173 - dev-qt/qtbase-6.7.2-r4 SIGSEGV at qsharedpointer_impl.h:752 when running freecad-9999
Summary: dev-qt/qtbase-6.7.2-r4 SIGSEGV at qsharedpointer_impl.h:752 when running free...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-06 10:55 UTC by Miroslav Šulc
Modified: 2024-09-06 19:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Šulc gentoo-dev 2024-09-06 10:55:20 UTC
freecad-9999 is currently at it's rc state. when running it, it starts up, shows the initial configuration screen, and when i click "done" button, it sigsegv's.


Thread 1 "FreeCAD" received signal SIGSEGV, Segmentation fault.
QWeakPointer<QObject>::internalData (this=0x555556a00bd0) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/corelib/tools/qsharedpointer_impl.h:752
752	        return d == nullptr || d->strongref.loadRelaxed() == 0 ? nullptr : value;
(gdb) bt
#0  QWeakPointer<QObject>::internalData (this=0x555556a00bd0) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/corelib/tools/qsharedpointer_impl.h:752
#1  QPointer<QWidget>::data (this=0x555556a00bd0) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qpointer.h:74
#2  QPointer<QWidget>::operator-> (this=0x555556a00bd0) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qpointer.h:78
#3  QScrollArea::ensureWidgetVisible (this=0x5555569803c0, childWidget=0x5555569345d0, xmargin=50, ymargin=50) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/widgets/qscrollarea.cpp:450
#4  0x00007ffff43cb668 in QScrollArea::focusNextPrevChild (this=0x5555569803c0, next=<optimized out>) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/widgets/qscrollarea.cpp:404
#5  0x00007ffff45074a6 in QWidgetPrivate::hide_helper (this=0x555556a008f0) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qwidget.cpp:8280
#6  0x00007ffff45083b3 in QWidgetPrivate::setVisible (this=0x555556a008f0, visible=false) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qwidget.cpp:8463
#7  0x00007ffff4507d61 in QWidget::setVisible (this=0x5555569803c0, visible=false) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qwidget.cpp:8371
#8  0x00007ffff44ee31a in QWidget::hide (this=0x5555569803c0) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qwidget.cpp:8240
#9  QStackedLayout::setCurrentIndex (this=0x555556418280, index=1) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qstackedlayout.cpp:284
#10 0x00007fffbf441996 in StartGui::StartView::firstStartWidgetDismissed() () at /usr/lib64/freecad/lib64/StartGui.so
#11 0x00007ffff34d9c2d in QtPrivate::QSlotObjectBase::call (this=0x55555695ca00, r=0x555556845d40, a=0x7fffffffb5a8) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobjectdefs_impl.h:469
#12 doActivate<false> (sender=0x55555650ac60, signal_index=10, argv=0x7fffffffb5a8) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:4086
#13 0x00007ffff34d9c2d in QtPrivate::QSlotObjectBase::call (this=0x5555569349c0, r=0x55555650ac60, a=0x7fffffffb6c0) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobjectdefs_impl.h:469
#14 doActivate<false> (sender=0x5555569345d0, signal_index=9, argv=0x7fffffffb6c0) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:4086
#15 0x00007ffff445c0e4 in QAbstractButton::clicked (this=0x5555569345d0, _t1=false) at src/widgets/Widgets_autogen/include/moc_qabstractbutton.cpp:324
#16 QAbstractButtonPrivate::emitClicked (this=0x5555569b75e0) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/widgets/qabstractbutton.cpp:381
#17 0x00007ffff445be01 in QAbstractButtonPrivate::click (this=0x5555569b75e0) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/widgets/qabstractbutton.cpp:374
#18 0x00007ffff445d828 in QAbstractButton::mouseReleaseEvent (this=0x5555569345d0, e=0x7fffffffbeb0) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/widgets/qabstractbutton.cpp:976
#19 0x00007ffff44ed044 in QWidget::event (this=0x5555569803c0, event=0x5555569345d0) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qwidget.cpp:9025
#20 0x00007ffff43c5218 in QPushButton::event (this=0x5555569345d0, e=0x7fffffffbeb0) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/widgets/qpushbutton.cpp:684
#21 0x00007ffff44c4d5e in QApplicationPrivate::notify_helper (this=0x555555979e90, receiver=0x5555569345d0, e=0x7fffffffbeb0) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qapplication.cpp:3287
#22 0x00007ffff44c79dc in QApplication::notify (this=<optimized out>, receiver=0x5555569345d0, e=0x7fffffffbeb0) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qapplication.cpp:2765
#23 0x00007ffff6029437 in Gui::GUIApplication::notify(QObject*, QEvent*) () at /usr/lib64/freecad/lib64/libFreeCADGui.so
#24 0x00007ffff352a614 in QCoreApplication::notifyInternal2 (receiver=0x5555569345d0, event=0x7fffffffbeb0) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1142
#25 0x00007ffff44c5b1f in QApplicationPrivate::sendMouseEvent (receiver=0x5555569345d0, event=0x7fffffffbeb0, alienWidget=0x5555569345d0, nativeWidget=0x7fffffffc810, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=<optimized out>, onlyDispatchEnterLeave=false)
    at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qapplication.cpp:2347
#26 0x00007ffff4514b52 in QWidgetWindow::handleMouseEvent (this=<optimized out>, event=0x7fffffffc430) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qwidgetwindow.cpp:649
#27 0x00007ffff45139f1 in QWidgetWindow::event (this=0x5555569803c0, event=0x5555569345d0) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qwidgetwindow.cpp:263
#28 0x00007ffff44c4d5e in QApplicationPrivate::notify_helper (this=0x555555979e90, receiver=0x555556193320, e=0x7fffffffc430) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qapplication.cpp:3287
#29 0x00007ffff44c65bb in QApplication::notify (this=0x7fffffffc848, receiver=0x555556193320, e=0x7fffffffc430) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qapplication.cpp:3238
#30 0x00007ffff6029437 in Gui::GUIApplication::notify(QObject*, QEvent*) () at /usr/lib64/freecad/lib64/libFreeCADGui.so
#31 0x00007ffff352a614 in QCoreApplication::notifyInternal2 (receiver=0x555556193320, event=0x7fffffffc430) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1142
#32 0x00007ffff399bcf8 in QGuiApplicationPrivate::processMouseEvent (e=0x555559cbddb0) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/gui/kernel/qguiapplication.cpp:2327
#33 0x00007ffff39fa10a in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/gui/kernel/qwindowsysteminterface.cpp:1114
#34 0x00007fffe007e7be in xcbSourceDispatch (source=<optimized out>) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:57
#35 0x00007ffff19cee9d in ??? () at /usr/lib64/libglib-2.0.so.0
#36 0x00007ffff19cf24e in ??? () at /usr/lib64/libglib-2.0.so.0
#37 0x00007ffff19cf2e7 in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#38 0x00007ffff32d44d4 in QEventDispatcherGlib::processEvents (this=0x555555a223a0, flags=...) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#39 0x00007ffff352b136 in QEventLoop::processEvents (this=0x7fffffffc7a8, flags=...) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qeventloop.cpp:100
#40 QEventLoop::exec (this=0x7fffffffc7a8, flags=...) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qeventloop.cpp:182
#41 0x00007ffff352ad88 in QCoreApplication::exec () at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1486
#42 0x00007ffff5f5b36f in Gui::Application::runApplication() () at /usr/lib64/freecad/lib64/libFreeCADGui.so
#43 0x000055555555daac in ??? ()
#44 0x00007ffff2c52a56 in __libc_start_call_main (main=main@entry=0x55555555cc50, argc=argc@entry=1, argv=argv@entry=0x7fffffffd1e8) at ../sysdeps/nptl/libc_start_call_main.h:58
#45 0x00007ffff2c52b01 in __libc_start_main_impl (main=0x55555555cc50, argc=1, argv=0x7fffffffd1e8, init=0x0, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffd1d8) at ../csu/libc-start.c:360
#46 0x000055555555cb85 in ??? ()
(gdb) frame 0
#0  QWeakPointer<QObject>::internalData (this=0x555556a00bd0) at /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/corelib/tools/qsharedpointer_impl.h:752
752	        return d == nullptr || d->strongref.loadRelaxed() == 0 ? nullptr : value;
(gdb) p d
$1 = (Data *) 0x0
(gdb) p value
$2 = (QObject *) 0x0
Comment 1 Miroslav Šulc gentoo-dev 2024-09-06 11:04:28 UTC
i just recompiled qtbase with gcc (previously was clang) and the issue is gone, so it is most probably a clang issue.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-09-06 11:07:15 UTC
FWIW, it doesn't necessarily mean that, maybe try asan and/or ubsan to get a better error (even with gcc, it might show something)
Comment 3 Miroslav Šulc gentoo-dev 2024-09-06 19:46:29 UTC
$ LD_PRELOAD=/usr/lib/gcc/x86_64-pc-linux-gnu/14/libasan.so freecad
FreeCAD 1.0.0, Libs: 1.0.0RC1RUnknown
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2024
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Migrating Start Workbench to Start command... done.
Wizard shaft module cannot be loaded
/var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qapplication.cpp:2756:66: runtime error: member call on address 0x7f58a8886c50 which does not point to an object of type 'QMutableSinglePointEvent'
0x7f58a8886c50: note: object is of type 'QMouseEvent'
 b0 50 00 00  e0 57 73 be 58 7f 00 00  05 00 00 01 01 00 00 e0  10 11 01 00 20 50 00 00  6c 7e 02 00
              ^~~~~~~~~~~~~~~~~~~~~~~
              vptr for 'QMouseEvent'
/var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/gui/kernel/qevent_p.h:57:74: runtime error: downcast of address 0x7f58a8885a70 which does not point to an object of type 'QMutableSinglePointEvent'
0x7f58a8885a70: note: object is of type 'QMouseEvent'
 58 7f 00 00  e0 57 73 be 58 7f 00 00  05 00 00 01 01 00 00 e0  10 11 01 00 20 50 00 00  6c 7e 02 00
              ^~~~~~~~~~~~~~~~~~~~~~~
              vptr for 'QMouseEvent'
/var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qapplication.cpp:2756:119: runtime error: member call on address 0x7f58a8885a70 which does not point to an object of type 'QMutableSinglePointEvent'
0x7f58a8885a70: note: object is of type 'QMouseEvent'
 58 7f 00 00  e0 57 73 be 58 7f 00 00  05 00 00 01 01 00 00 e0  10 11 01 00 20 50 00 00  6c 7e 02 00
              ^~~~~~~~~~~~~~~~~~~~~~~
              vptr for 'QMouseEvent'
/var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/gui/kernel/qevent_p.h:57:74: runtime error: downcast of address 0x7f58a8771d60 which does not point to an object of type 'QMutableSinglePointEvent'
0x7f58a8771d60: note: object is of type 'QMouseEvent'
 77 1e 4a 40  e0 57 73 be 58 7f 00 00  02 00 00 01 01 00 00 e0  10 11 01 00 20 50 00 00  5f 84 02 00
              ^~~~~~~~~~~~~~~~~~~~~~~
              vptr for 'QMouseEvent'
/var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qwidgetwindow.cpp:641:109: runtime error: member call on address 0x7f58a8771d60 which does not point to an object of type 'QMutableSinglePointEvent'
0x7f58a8771d60: note: object is of type 'QMouseEvent'
 77 1e 4a 40  e0 57 73 be 58 7f 00 00  02 00 00 01 01 00 00 e0  10 11 01 00 20 50 00 00  5f 84 02 00
              ^~~~~~~~~~~~~~~~~~~~~~~
              vptr for 'QMouseEvent'
/var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/gui/kernel/qevent_p.h:57:74: runtime error: downcast of address 0x7f58a87a9560 which does not point to an object of type 'QMutableSinglePointEvent'
0x7f58a87a9560: note: object is of type 'QMouseEvent'
 f1 15 38 40  e0 57 73 be 58 7f 00 00  02 00 00 01 01 00 00 e0  10 11 01 00 20 50 00 00  6f 8a 02 00
              ^~~~~~~~~~~~~~~~~~~~~~~
              vptr for 'QMouseEvent'
/var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qwidgetwindow.cpp:537:118: runtime error: member call on address 0x7f58a87a9560 which does not point to an object of type 'QMutableSinglePointEvent'
0x7f58a87a9560: note: object is of type 'QMouseEvent'
 f1 15 38 40  e0 57 73 be 58 7f 00 00  02 00 00 01 01 00 00 e0  10 11 01 00 20 50 00 00  6f 8a 02 00
              ^~~~~~~~~~~~~~~~~~~~~~~
              vptr for 'QMouseEvent'
/var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/widgets/widgets/qscrollarea.cpp:450:33: runtime error: member call on null pointer of type 'struct QWidget'
/var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/widgets/widgets/qscrollarea.cpp:450:33: runtime error: member access within null pointer of type 'struct QWidget'
Program received signal SIGSEGV, Segmentation fault.
#0  0x7f58d16ed052 in segmentation_fault_handler(int) from /usr/lib64/freecad/lib64/libFreeCADApp.so+0x22
#1  /lib64/libc.so.6(+0x3c7b0) [0x7f58b404f7b0]
#2  0x7f58c7c1b9f9 in QScrollArea::ensureWidgetVisible(QWidget*, int, int) from /usr/lib64/libQt6Widgets.so.6+0x499
#3  0x7f58c7c1f909 in QScrollArea::focusNextPrevChild(bool) from /usr/lib64/libQt6Widgets.so.6+0x219
#4  0x7f58c932e25b in QWidgetPrivate::hide_helper() from /usr/lib64/libQt6Widgets.so.6+0x22ab
#5  0x7f58c9330d4e in QWidgetPrivate::setVisible(bool) from /usr/lib64/libQt6Widgets.so.6+0x102e
#6  0x7f58c9354d29 in QWidget::setVisible(bool) from /usr/lib64/libQt6Widgets.so.6+0x5e9
#7  0x7f58c92e61e7 in QStackedLayout::setCurrentIndex(int) from /usr/lib64/libQt6Widgets.so.6+0x9b7
#8  0x7f586c0c4996 in StartGui::StartView::firstStartWidgetDismissed() from /usr/lib64/freecad/lib64/StartGui.so+0x56
#9  /usr/lib64/libQt6Core.so.6(+0x184d082) [0x7f58b5e4d082]
#10  /usr/lib64/libQt6Core.so.6(+0x184d082) [0x7f58b5e4d082]
#11  0x7f58c828d15e in QAbstractButton::clicked(bool) from /usr/lib64/libQt6Widgets.so.6+0xfe
#12  /usr/lib64/libQt6Widgets.so.6(+0x2ffb913) [0x7f58c85fb913]
#13  /usr/lib64/libQt6Widgets.so.6(+0x31120f6) [0x7f58c87120f6]
#14  0x7f58c8713ff2 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) from /usr/lib64/libQt6Widgets.so.6+0x822
#15  0x7f58c9376221 in QWidget::event(QEvent*) from /usr/lib64/libQt6Widgets.so.6+0x6c1
#16  0x7f58c929f346 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib64/libQt6Widgets.so.6+0x6c6
#17  0x7f58c92ac93e in QApplication::notify(QObject*, QEvent*) from /usr/lib64/libQt6Widgets.so.6+0xc7ae
#18  0x7f58d2029437 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib64/freecad/lib64/libFreeCADGui.so+0x57
#19  0x7f58b5f653bb in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib64/libQt6Core.so.6+0x5ab
#20  0x7f58c93148d7 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) from /usr/lib64/libQt6Widgets.so.6+0x1147
#21  /usr/lib64/libQt6Widgets.so.6(+0x3d66ee6) [0x7f58c9366ee6]
#22  /usr/lib64/libQt6Widgets.so.6(+0x3d97d4e) [0x7f58c9397d4e]
#23  0x7f58c929f346 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib64/libQt6Widgets.so.6+0x6c6
#24  0x7f58c92a1021 in QApplication::notify(QObject*, QEvent*) from /usr/lib64/libQt6Widgets.so.6+0xe91
#25  0x7f58d2029437 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib64/freecad/lib64/libFreeCADGui.so+0x57
#26  0x7f58b5f653bb in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib64/libQt6Core.so.6+0x5ab
#27  0x7f58baaf3ca1 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) from /usr/lib64/libQt6Gui.so.6+0x21c1
#28  0x7f58bab0bb47 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) from /usr/lib64/libQt6Gui.so.6+0x517
#29  0x7f58baf7dc08 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib64/libQt6Gui.so.6+0x5c8
#30  /usr/lib64/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6(+0x2e15e1) [0x7f5895ee15e1]
#31  /usr/lib64/libglib-2.0.so.0(+0x5de9d) [0x7f58b3515e9d]
#32  /usr/lib64/libglib-2.0.so.0(+0x5e24e) [0x7f58b351624e]
#33  /usr/lib64/libglib-2.0.so.0(g_main_context_iteration+0x67) [0x7f58b35162e7]
#34  0x7f58b47e736a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib64/libQt6Core.so.6+0x70a
#35  0x7f58b611b5a8 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib64/libQt6Core.so.6+0x1688
#36  0x7f58b611e4c9 in QCoreApplication::exec() from /usr/lib64/libQt6Core.so.6+0x919
#37  0x7f58d1f5b36f in Gui::Application::runApplication() from /usr/lib64/freecad/lib64/libFreeCADGui.so+0xc6f
#38  /usr/lib64/freecad/bin/FreeCAD(+0x9aac) [0x55f0c5787aac]
#39  /lib64/libc.so.6(+0x2642e) [0x7f58b403942e]
#40  /lib64/libc.so.6(__libc_start_main+0x89) [0x7f58b40394e9]
#41  /usr/lib64/freecad/bin/FreeCAD(+0x8b85) [0x55f0c5786b85]



$ LD_PRELOAD=/usr/lib/gcc/x86_64-pc-linux-gnu/14/libasan.so UBSAN_OPTIONS="print_stacktrace=1:halt_on_error=1" freecad
FreeCAD 1.0.0, Libs: 1.0.0RC1RUnknown
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2024
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Migrating Start Workbench to Start command... done.
Wizard shaft module cannot be loaded
/var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qapplication.cpp:2756:66: runtime error: member call on address 0x7fc186211c50 which does not point to an object of type 'QMutableSinglePointEvent'
0x7fc186211c50: note: object is of type 'QMouseEvent'
 00 00 00 00  e0 57 13 9c c1 7f 00 00  05 00 00 01 01 00 00 e0  70 12 01 00 20 50 00 00  17 b8 05 00
              ^~~~~~~~~~~~~~~~~~~~~~~
              vptr for 'QMouseEvent'
    #0 0x7fc1a6cb5aa1 in QApplication::notify(QObject*, QEvent*) /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qapplication.cpp:2756
    #1 0x7fc1afa29436 in Gui::GUIApplication::notify(QObject*, QEvent*) (/usr/lib64/freecad/lib64/libFreeCADGui.so+0x629436)
    #2 0x7fc1939653ba in QCoreApplication::notifyInternal2(QObject*, QEvent*) /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1142
    #3 0x7fc1a6d148d6 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qapplication.cpp:2347
    #4 0x7fc1a6d66ee5 in QWidgetWindow::handleMouseEvent(QMouseEvent*) /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qwidgetwindow.cpp:649
    #5 0x7fc1a6d97d4d in QWidgetWindow::event(QEvent*) /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qwidgetwindow.cpp:263
    #6 0x7fc1a6c9f345 in QApplicationPrivate::notify_helper(QObject*, QEvent*) /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qapplication.cpp:3287
    #7 0x7fc1a6ca1020 in QApplication::notify(QObject*, QEvent*) /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qapplication.cpp:3238
    #8 0x7fc1afa29436 in Gui::GUIApplication::notify(QObject*, QEvent*) (/usr/lib64/freecad/lib64/libFreeCADGui.so+0x629436)
    #9 0x7fc1939653ba in QCoreApplication::notifyInternal2(QObject*, QEvent*) /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1142
    #10 0x7fc1984f3ca0 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/gui/kernel/qguiapplication.cpp:2327
    #11 0x7fc19850bb46 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/gui/kernel/qguiapplication.cpp:2071
    #12 0x7fc19897dc07 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/gui/kernel/qwindowsysteminterface.cpp:1114
    #13 0x7fc173ae15e0 in xcbSourceDispatch /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:57
    #14 0x7fc190f15e9c  (/usr/lib64/libglib-2.0.so.0+0x5de9c)
    #15 0x7fc190f1624d  (/usr/lib64/libglib-2.0.so.0+0x5e24d)
    #16 0x7fc190f162e6 in g_main_context_iteration (/usr/lib64/libglib-2.0.so.0+0x5e2e6)
    #17 0x7fc1921e7369 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qeventdispatcher_glib.cpp:394
    #18 0x7fc193b1b5a7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qeventloop.cpp:182
    #19 0x7fc193b1e4c8 in QCoreApplication::exec() /usr/src/debug/dev-qt/qtbase-6.7.2-r4/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1486
    #20 0x7fc1af95b36e in Gui::Application::runApplication() (/usr/lib64/freecad/lib64/libFreeCADGui.so+0x55b36e)
    #21 0x560fedbd0aab  (/usr/lib64/freecad/bin/FreeCAD+0x9aab)
    #22 0x7fc191a3942d  (/lib64/libc.so.6+0x2642d)
    #23 0x7fc191a394e8 in __libc_start_main (/lib64/libc.so.6+0x264e8)
    #24 0x560fedbcfb84  (/usr/lib64/freecad/bin/FreeCAD+0x8b84)