[PyQt] pyqtdeployed app crashes on launch
Dave Gradwell
davegradwell at yahoo.co.uk
Sun Jul 6 23:45:26 BST 2014
I am trying to pyqtdeploy one of the PyQt5 example applications.
pyqtdeploy seems to do its job successfully, however,
when I double-click the application, it immediately crashes.
The Mac 10.9 environment has a statically built Python 3.4.1, statically built PyQt 5.3 and statically built SIP 4.16.1. Qt 5.3.1 was installed using Qt's Mac installer - I didn't build it statically from source...
I ran macdeployqt on the .app bundle - but it still crashes.
A snippet from the crash log follows.
I would be very grateful for any advice.
(Thanks again Phil and Lloyd for advice so far - much appreciated.)
With thanks, Dave.
"""""""""""
Process: application [7351]
Path: /Users/USER/Desktop/*/application.app/Contents/MacOS/application
Identifier: com.yourcompany.application
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd [150]
Responsible: application [7351]
User ID: 501
Date/Time: 2014-07-06 15:26:55.192 -0700
OS Version: Mac OS X 10.9 (13A603)
Report Version: 11
Anonymous UUID: DD0C3A79-D810-D3B4-7676-68A51EEC7EBF
Sleep/Wake UUID: 5AD6D05C-C037-4FFD-AE15-E15E06A483AA
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8562f866 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff8b6e935c pthread_kill + 92
2 libsystem_c.dylib 0x00007fff8ae00bba abort + 125
3 com.yourcompany.application 0x000000010056028e Py_FatalError + 142
4 com.yourcompany.application 0x0000000100560188 _Py_InitializeEx_Private + 1384 (pythonrun.c:2732)
5 com.yourcompany.application 0x000000010000294e pyqtdeploy_main + 302
6 com.yourcompany.application 0x00000001000027f4 start + 52
Thread 1:
0 libsystem_kernel.dylib 0x00007fff8562fe6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8b6e9f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8b6ecfb9 start_wqthread + 13
Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff85630662 kevent64 + 10
1 libdispatch.dylib 0x00007fff9088143d _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff90881152 _dispatch_mgr_thread + 52
Thread 3:
0 libsystem_kernel.dylib 0x00007fff8562fe6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8b6e9f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8b6ecfb9 start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff8562fe6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8b6e9f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8b6ecfb9 start_wqthread + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007fff751fb310 rcx: 0x00007fff5fbffbc8 rdx: 0x0000000000000000
rdi: 0x0000000000000707 rsi: 0x0000000000000006 rbp: 0x00007fff5fbffbf0 rsp: 0x00007fff5fbffbc8
r8: 0x0000000102410f48 r9: 0x00007fff5fbff740 r10: 0x0000000008000000 r11: 0x0000000000000206
r12: 0x00006080000d1790 r13: 0x00000001023ca0e8 r14: 0x0000000000000006 r15: 0x00007fff750f67b8
rip: 0x00007fff8562f866 rfl: 0x0000000000000206 cr2: 0x00000001004cef70
Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133
Binary Images:
0x100000000 - 0x10083fff7 +com.yourcompany.application (???) <3268B063-D780-3EF4-8DE3-BC494B66DE6A> /Users/USER/Desktop/*/application.app/Contents/MacOS/application
0x100f05000 - 0x1013b2fff +QtWidgets (5.3.1) <DC1101A9-8FAA-3EB8-8690-8ECBD2C6F2DA> /Users/USER/Desktop/*/application.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets
0x1014db000 - 0x1018d4ff7 +QtGui (5.3.1) <54AD9166-A281-3155-B4C2-C558E5B2B6AB> /Users/USER/Desktop/*/application.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui
0x1019a6000 - 0x101edaff7 +QtCore (5.3.1) <8E956000-31CC-3E50-97FB-E05702D17CFC> /Users/USER/Desktop/*/application.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
0x101f5f000 - 0x101f63fff com.apple.agl (3.2.3 - AGL-3.2.3) <1B85306F-D2BF-3FE3-9915-165237B491EB> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x7fff65f08000 - 0x7fff65f3b817 dyld (239.3) <D1DFCF3F-0B0C-332A-BCC0-87A851B570FF> /usr/lib/dyld
0x7fff8379f000 - 0x7fff837a0ff7 libDiagnosticMessagesCli
"""""""""""
More information about the PyQt
mailing list