Details
-
Bug
-
Resolution: Incomplete
-
P1: Critical
-
None
-
6.8.1
-
None
-
OS: Arch Linux (KDE/plasmax11/xcb)
Architecture: x86_64
Version: 1.1.0dev.39622 (Git)
Build type: Release
Branch: makepkg
Hash: f5a4ec01f8b095051355226be735104ce8eb8b44
Python 3.12.7, Qt 6.8.1, Coin 4.0.3, Vtk 9.3.1, OCC 7.8.1
Locale: English/United States (en_US)
Stylesheet/Theme/QtStyle: unset/FreeCAD Classic/breezeOS: Arch Linux (KDE/plasmax11/xcb) Architecture: x86_64 Version: 1.1.0dev.39622 (Git) Build type: Release Branch: makepkg Hash: f5a4ec01f8b095051355226be735104ce8eb8b44 Python 3.12.7, Qt 6.8.1, Coin 4.0.3, Vtk 9.3.1, OCC 7.8.1 Locale: English/United States (en_US) Stylesheet/Theme/QtStyle: unset/FreeCAD Classic/breeze
Description
A working FreeCAD+Plugin combo is migrated from QT5 to QT6.
The component of interest is a PySide QTableView, no C++ code is involved.
This QTableView is used both as child of QMainWindow as well as of QDockWidget.
In QT5: this QTableView works fine both in QMainWindow and QDockWidget
In QT6: this QTableView works fine in QMainWindow but crashes when in QDockWidget
Sample crash info:
0 0x000000000004c822 ucs_event_set_fd_get() ???:0 1 0x000000000004c9ed ucs_event_set_fd_get() ???:0 2 0x000000000003d1d0 __sigaction() ???:0 3 0x00000000003f8989 QAbstractItemView::mouseDoubleClickEvent() ???:0 4 0x000000000014f533 QWidget::event() ???:0 5 0x00000000001ee138 QFrame::event() ???:0 6 0x0000000000154a08 QCoreApplicationPrivate::sendThroughObjectEventFilters() ???:0 7 0x00000000000fe77a QApplicationPrivate::notify_helper() ???:0 8 0x0000000000102a26 QApplication::notify() ???:0 9 0x00000000006a6359 Gui::GUIApplication::notify() ???:0 10 0x0000000000157ac8 QCoreApplication::notifyInternal2() ???:0 11 0x00000000000f613d QApplicationPrivate::sendMouseEvent() ???:0 12 0x0000000000169752 QWindowContainer::eventFilter() ???:0 13 0x000000000016ae40 QWindowContainer::eventFilter() ???:0 14 0x00000000000fe78a QApplicationPrivate::notify_helper() ???:0 15 0x00000000006a6359 Gui::GUIApplication::notify() ???:0 16 0x0000000000157ac8 QCoreApplication::notifyInternal2() ???:0 17 0x0000000000187c6c QGuiApplicationPrivate::processMouseEvent() ???:0 18 0x0000000000202b44 QWindowSystemInterface::sendWindowSystemEvents() ???:0 19 0x0000000000051c67 QXcbConnection::xi2HandleEvent() ???:0 20 0x000000000005d559 g_source_query_unix_fd() ???:0 21 0x00000000000c0257 g_io_channel_new_file() ???:0 22 0x000000000005ca55 g_main_context_iteration() ???:0 23 0x00000000003c22fd QEventDispatcherGlib::processEvents() ???:0 24 0x0000000000161ee6 QEventLoop::exec() ???:0 25 0x0000000000158f4f QCoreApplication::exec() ???:0 26 0x00000000005bbd9c Gui::Application::runApplication() ???:0 27 0x0000000000007ab2 ???() /usr/lib/freecad/bin/FreeCAD:0 28 0x0000000000025e08 __libc_init_first() ???:0 29 0x0000000000025ecc __libc_start_main() ???:0 30 0x0000000000007e35 ???() /usr/lib/freecad/bin/FreeCAD:0 Program received signal SIGSEGV, Segmentation fault. #0 /usr/lib/libc.so.6(+0x3d1d0) [0x79925c64c1d0] #1 0x79925dff8989 in QAbstractItemView::mouseDoubleClickEvent(QMouseEvent*) from /usr/lib/libQt6Widgets.so.6+0x2c9 #2 0x79925dd4f533 in QWidget::event(QEvent*) from /usr/lib/libQt6Widgets.so.6+0x993 #3 0x79925ddee138 in QFrame::event(QEvent*) from /usr/lib/libQt6Widgets.so.6+0x38 #4 0x79925cd54a08 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) from /usr/lib/libQt6Core.so.6+0x118 #5 0x79925dcfe77a in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/libQt6Widgets.so.6+0x7a #6 0x79925dd02a26 in QApplication::notify(QObject*, QEvent*) from /usr/lib/libQt6Widgets.so.6+0x1076 #7 0x79925fea6359 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad/lib/libFreeCADGui.so+0xc9 #8 0x79925cd57ac8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/libQt6Core.so.6+0x1a8 #9 0x79925dcf613d in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) from /usr/lib/libQt6Widgets.so.6+0x21d #10 /usr/lib/libQt6Widgets.so.6(+0x169752) [0x79925dd69752] #11 /usr/lib/libQt6Widgets.so.6(+0x16ae40) [0x79925dd6ae40] #12 0x79925dcfe78a in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/libQt6Widgets.so.6+0x8a #13 0x79925fea6359 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad/lib/libFreeCADGui.so+0xc9 #14 0x79925cd57ac8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/libQt6Core.so.6+0x1a8 #15 0x79925d387c6c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) from /usr/lib/libQt6Gui.so.6+0xb1c #16 0x79925d402b44 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/libQt6Gui.so.6+0x314 #17 /usr/lib/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6(+0x51c67) [0x79925722ec67] #18 /usr/lib/libglib-2.0.so.0(+0x5d559) [0x79925b50d559] #19 /usr/lib/libglib-2.0.so.0(+0xc0257) [0x79925b570257] #20 /usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x35) [0x79925b50ca55] #21 0x79925cfc22fd in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/libQt6Core.so.6+0x8d #22 0x79925cd61ee6 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/libQt6Core.so.6+0x226 #23 0x79925cd58f4f in QCoreApplication::exec() from /usr/lib/libQt6Core.so.6+0x9f #24 0x79925fdbbd9c in Gui::Application::runApplication() from /usr/lib/freecad/lib/libFreeCADGui.so+0xa1c #25 FreeCAD(+0x7ab2) [0x57f547730ab2] #26 /usr/lib/libc.so.6(+0x25e08) [0x79925c634e08] #27 /usr/lib/libc.so.6(__libc_start_main+0x8c) [0x79925c634ecc] #28 FreeCAD(+0x7e35) [0x57f547730e35]