-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
6.10.0, 6.9.2, 6.9.3
-
None
Upon playing with the examples to learn about the docked widgets I found that the dockwidgets example (https://doc.qt.io/qtforpython-6/examples/example_widgets_mainwindows_dockwidgets.html) consistently crashes when the dock widgets on the right side are rapidly moved.
To reproduce:
- launch the example
- "grab" one of the docked widgets on the right side like the "Paragraphs"
- quickly move it up and down in the area where it would like to "redock"
- This should result in a segmentation fault (tested on Windows and on Ubuntu 24.04).
(If you can't reproduce: I found this crash to be more likely if there are more dock widgets, so you could spawn additional ones.)
I tested versions 6.10.0, 6.9.3 and 6.9.2.
The older versions don't seem to be affected.
On Ubuntu I gathered the following stacktrace with gdb:
Thread 1 "python" received signal SIGSEGV, Segmentation fault. 0x00007ffff67317dd in QVariantAnimation::keyValueAt(double) const () from xxxxxxxxxx/.venv/lib/python3.14/site-packages/PySide6/Qt/lib/libQt6Core.so.6 (gdb) bt #0 0x00007ffff67317dd in QVariantAnimation::keyValueAt(double) const () from xxxxxxxxxx/.venv/lib/python3.14/site-packages/PySide6/Qt/lib/libQt6Core.so.6 #1 0x00007ffff673189a in QVariantAnimation::endValue() const () from xxxxxxxxxx/.venv/lib/python3.14/site-packages/PySide6/Qt/lib/libQt6Core.so.6 #2 0x00007ffff1e49735 in ?? () from xxxxxxxxxx/.venv/lib/python3.14/site-packages/PySide6/Qt/lib/libQt6Widgets.so.6 #3 0x00007ffff1f06f77 in ?? () from xxxxxxxxxx/.venv/lib/python3.14/site-packages/PySide6/Qt/lib/libQt6Widgets.so.6 #4 0x00007ffff1f06de6 in ?? () from xxxxxxxxxx/.venv/lib/python3.14/site-packages/PySide6/Qt/lib/libQt6Widgets.so.6 #5 0x00007ffff1f070e9 in ?? () from xxxxxxxxxx/.venv/lib/python3.14/site-packages/PySide6/Qt/lib/libQt6Widgets.so.6 #6 0x00007ffff1f523db in ?? () from xxxxxxxxxx/.venv/lib/python3.14/site-packages/PySide6/Qt/lib/libQt6Widgets.so.6 #7 0x00007ffff1f5464b in ?? () from xxxxxxxxxx/.venv/lib/python3.14/site-packages/PySide6/Qt/lib/libQt6Widgets.so.6 #8 0x00007ffff1f458cb in QMainWindow::event(QEvent*) () from xxxxxxxxxx/.venv/lib/python3.14/site-packages/PySide6/Qt/lib/libQt6Widgets.so.6 #9 0x00007ffff1879aac in ?? () from xxxxxxxxxx/.venv/lib/python3.14/site-packages/PySide6/QtWidgets.abi3.so #10 0x00007ffff1d91c8b in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from xxxxxxxxxx/.venv/lib/python3.14/site-packages/PySide6/Qt/lib/libQt6Widgets.so.6 #11 0x00007ffff1d9b263 in QApplication::notify(QObject*, QEvent*) ()
- duplicates
-
QTBUG-140207 Crash when rapidly moving a dock widget
-
- Closed
-