Details
Description
A simple graphics scene that drives the state machine is created. A transition with the GraphicsSceneMousePress event type triggers the eventTest method when the red area is clicked on the widget. The StateMachineWrapped is unwrapped using the event.event() method and printed, at which point the application crashes.
The application raises a Segmentation fault (core dumped) on Ubuntu.
On Windows the application crashes silently and the following error is available in the EventViewer/WindowsLogs/Application
Exception code: 0xc0000005 Fault offset: 0x000000000002cfc9 Faulting process id: 0x0x63A0 Faulting application start time: 0x0x1DB4716E1CED3FF Faulting application path: C:\QtTest\venv\Scripts\python.exe Faulting module path: C:\QtTest\venv\Lib\site-packages\shiboken6\shiboken6.abi3.dll
Simple reproduction code attached below
Attachments
Issue Links
- resulted in
-
QTBUG-131944 Crash when cloning QGraphicsSceneEvent (not implemented)
- Reported