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

Shutdown segfault with PySide 6.8.1.1 #245

Open
markfinal opened this issue Feb 3, 2025 · 1 comment
Open

Shutdown segfault with PySide 6.8.1.1 #245

markfinal opened this issue Feb 3, 2025 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@markfinal
Copy link
Owner

Have seen this regularly on macOS.
Repro steps:

  • Open Cruiz
  • Open a recipe.
  • Close Cruiz

Looks like this

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes:       0x0000000000000001, 0x0000000000000000

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [72901]

VM Region Info: 0 is not in any region.  Bytes before following region: 4338401280
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      10296c000-102970000    [   16K] r-x/r-x SM=COW  /Library/Frameworks/Python.framework/Versions/3.13/Resources/Python.app/Contents/MacOS/Python

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libqcocoa.dylib               	       0x10ce1da94 0x10cdc4000 + 367252
1   AppKit                        	       0x19c95eb5c -[NSTouch dealloc] + 48
2   CoreFoundation                	       0x198b2c7b0 __RELEASE_OBJECTS_IN_THE_SET__ + 148
3   CoreFoundation                	       0x198b2c6cc -[__NSSetM dealloc] + 148
4   AppKit                        	       0x19c8182a4 -[NSEvent dealloc] + 68
5   libqcocoa.dylib               	       0x10cdd93c4 0x10cdc4000 + 86980
6   libqcocoa.dylib               	       0x10cde4d98 0x10cdc4000 + 134552
7   libqcocoa.dylib               	       0x10cde4fa4 0x10cdc4000 + 135076
8   QtGui                         	       0x104233d08 QGuiApplicationPrivate::~QGuiApplicationPrivate() + 492
9   QtWidgets                     	       0x109545220 QApplicationPrivate::~QApplicationPrivate() + 12
10  QtCore                        	       0x10512ef90 QObject::~QObject() + 2180
11  QtGui                         	       0x10422eb48 QGuiApplication::~QGuiApplication() + 652
12  QtWidgets                     	       0x109547118 QApplication::~QApplication() + 1096
13  QtWidgets.abi3.so             	       0x107c7baa4 QApplicationWrapper::~QApplicationWrapper() + 56
14  libpyside6.abi3.6.8.dylib     	       0x1034951e8 PySide::destroyQCoreApplication() + 132
15  libpyside6.abi3.6.8.dylib     	       0x103495134 PySide::runCleanupFunctions() + 100
16  QtCore.abi3.so                	       0x104ac1d8c SbkQtCoreModule___moduleShutdown(_object*) + 36
17  Python                        	       0x103976408 cfunction_vectorcall_NOARGS + 100
18  Python                        	       0x103b71070 atexit_callfuncs + 132
19  Python                        	       0x103b38110 _Py_Finalize + 180
20  Python                        	       0x103b6e2f4 Py_RunMain + 604
21  Python                        	       0x103b6fc70 pymain_main + 500
22  Python                        	       0x103b6fdd8 Py_BytesMain + 40
23  dyld                          	       0x1986e8274 start + 2840
@markfinal markfinal added the bug Something isn't working label Feb 3, 2025
@markfinal markfinal added this to the v2.0.0 milestone Feb 3, 2025
@markfinal
Copy link
Owner Author

Certainly upgrading to PySide 6.8.2 I've not seen the same segfault after several tests.

Unfortunately 6.8.2 regressed in the .pyi files, at least for QProcess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant