Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

psi 1.5 crashes on launch on macOS when built with Qt4 #859

Open
barracuda156 opened this issue Dec 31, 2024 · 0 comments
Open

psi 1.5 crashes on launch on macOS when built with Qt4 #859

barracuda156 opened this issue Dec 31, 2024 · 0 comments
Labels

Comments

@barracuda156
Copy link

The issue was wrongly attributed by me to psi not finding themes (because that was the message prior to the crash on powerpc): #719

Looks like this is a different bug and not specific to an arch. I was able to reproduce the crash on launch on macOS 14.7.1 / arm64.

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               psi [23551]
Path:                  /Applications/MacPorts/psi.app/Contents/MacOS/psi
Identifier:            org.psi-im
Version:               Psi 1.5 (1.5)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2024-12-31 11:52:53.4910 +0800
OS Version:            macOS 14.7.1 (23H222)
Report Version:        12
Anonymous UUID:        08288255-726E-11E3-9DE3-9407366F4C9A

Sleep/Wake UUID:       611C1F11-9BC7-4C34-A5DC-725D8CFE8275

Time Awake Since Boot: 140000 seconds
Time Since Wake:       655 seconds

System Integrity Protection: enabled

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

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

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

VM Region Info: 0xc is not in any region.  Bytes before following region: 4308877300
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      100d44000-101330000    [ 6064K] r-x/r-x SM=COW  /Applications/MacPorts/psi.app/Contents/MacOS/psi

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   QtGui                         	       0x102dc4a5c QWidgetPrivate::setStyle_helper(QStyle*, bool, bool) + 568
1   psi                           	       0x100dc8f2c IconActionGroup::IconActionGroup(QObject*, char const*, bool) + 396
2   psi                           	       0x100edef68 PsiActionList::Private::createMainWin() + 80
3   psi                           	       0x100eded7c PsiActionList::Private::Private(PsiActionList*, PsiCon*) + 72
4   psi                           	       0x100ee6970 PsiActionList::PsiActionList(PsiCon*) + 64
5   psi                           	       0x100f34018 PsiCon::init() + 3240
6   psi                           	       0x10105c1b8 PsiMain::sessionStart() + 80
7   QtCore                        	       0x102106974 QObject::event(QEvent*) + 160
8   QtGui                         	       0x102d7dd2c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 528
9   QtGui                         	       0x102d7f568 QApplication::notify(QObject*, QEvent*) + 512
10  QtCore                        	       0x1020f3020 QCoreApplication::notifyInternal(QObject*, QEvent*) + 140
11  QtCore                        	       0x1020f3e04 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 708
12  CoreFoundation                	       0x18fcc14b8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
13  CoreFoundation                	       0x18fcc144c __CFRunLoopDoSource0 + 176
14  CoreFoundation                	       0x18fcc121c __CFRunLoopDoSources0 + 340
15  CoreFoundation                	       0x18fcbfda8 __CFRunLoopRun + 828
16  CoreFoundation                	       0x18fcbf414 CFRunLoopRunSpecific + 608
17  HIToolbox                     	       0x19a46a19c RunCurrentEventLoopInMode + 292
18  HIToolbox                     	       0x19a469e2c ReceiveNextEventCommon + 220
19  HIToolbox                     	       0x19a469d30 _BlockUntilNextEventMatchingListInModeWithFilter + 76
20  AppKit                        	       0x19351ecc8 _DPSNextEvent + 660
21  AppKit                        	       0x193d154d0 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 700
22  AppKit                        	       0x193511ffc -[NSApplication run] + 476
23  QtGui                         	       0x102d388e4 QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1460
24  QtCore                        	       0x1020f0054 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 532
25  QtCore                        	       0x1020f3678 QCoreApplication::exec() + 212
26  psi                           	       0x10105d6a0 main + 1228
27  dyld                          	       0x18f857154 start + 2476

Thread 1:
0   libsystem_pthread.dylib       	       0x18fbdcd20 start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib       	       0x18fbdcd20 start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib       	       0x18fbdcd20 start_wqthread + 0

Thread 4:: com.apple.CFSocket.private
0   libsystem_kernel.dylib        	       0x18fbabec8 __select + 8
1   CoreFoundation                	       0x18fcea914 __CFSocketManager + 640
2   libsystem_pthread.dylib       	       0x18fbe1f94 _pthread_start + 136
3   libsystem_pthread.dylib       	       0x18fbdcd34 thread_start + 8

Thread 5:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	       0x18fba0dd4 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x18fbb35c4 mach_msg2_internal + 80
2   libsystem_kernel.dylib        	       0x18fba99a4 mach_msg_overwrite + 476
3   libsystem_kernel.dylib        	       0x18fba1158 mach_msg + 24
4   CoreFoundation                	       0x18fcc1660 __CFRunLoopServiceMachPort + 160
5   CoreFoundation                	       0x18fcbff24 __CFRunLoopRun + 1208
6   CoreFoundation                	       0x18fcbf414 CFRunLoopRunSpecific + 608
7   AppKit                        	       0x193649280 _NSEventThread + 144
8   libsystem_pthread.dylib       	       0x18fbe1f94 _pthread_start + 136
9   libsystem_pthread.dylib       	       0x18fbdcd34 thread_start + 8

Thread 6:
0   libsystem_pthread.dylib       	       0x18fbdcd20 start_wqthread + 0

Thread 7:
0   libsystem_pthread.dylib       	       0x18fbdcd20 start_wqthread + 0

Thread 8:
0   libsystem_pthread.dylib       	       0x18fbdcd20 start_wqthread + 0

Thread 9:: QCA::KeyStoreThread
0   libsystem_kernel.dylib        	       0x18fbabec8 __select + 8
1   QtCore                        	       0x10211f0c4 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 444
2   QtCore                        	       0x102122078 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) + 432
3   QtCore                        	       0x102123eec QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 352
4   QtCore                        	       0x1020f0054 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 532
5   libqca.2.2.1.dylib            	       0x101e0fa24 QCA::SyncThread::run() + 168
6   QtCore                        	       0x101ff4430 QThreadPrivate::start(void*) + 388
7   libsystem_pthread.dylib       	       0x18fbe1f94 _pthread_start + 136
8   libsystem_pthread.dylib       	       0x18fbdcd34 thread_start + 8

Thread 10:: QThread
0   libsystem_kernel.dylib        	       0x18fbabec8 __select + 8
1   QtCore                        	       0x10211f0c4 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 444
2   QtCore                        	       0x102122078 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) + 432
3   QtCore                        	       0x102123eec QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 352
4   QtCore                        	       0x1020f0054 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 532
5   QtCore                        	       0x101ff2860 QThread::exec() + 196
6   QtCore                        	       0x101ff4430 QThreadPrivate::start(void*) + 388
7   libsystem_pthread.dylib       	       0x18fbe1f94 _pthread_start + 136
8   libsystem_pthread.dylib       	       0x18fbdcd34 thread_start + 8


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000600003803ea0   x1: 0x00006000036d4040   x2: 0x0000000000000000   x3: 0x0000600002368440
    x4: 0x0000000000000000   x5: 0x0000000000000400   x6: 0x0000600002368400   x7: 0x000000016f0b8d90
    x8: 0x0000000102dd18dc   x9: 0x2c2d81d16a0f003b  x10: 0x0000000000000009  x11: 0x0000000000ffffff
   x12: 0x00000000000007fb  x13: 0x00000000000007fd  x14: 0x0000000083477811  x15: 0x0000000000000011
   x16: 0x00000000832777fb  x17: 0x0000000000077800  x18: 0x0000000000000000  x19: 0x0000000000000000
   x20: 0x0000600003803ea0  x21: 0x00006000036d4040  x22: 0x0000000000000000  x23: 0x00006000015cc320
   x24: 0x0000000116d12e30  x25: 0x0000000000000001  x26: 0x0000000000000000  x27: 0x0000000000000000
   x28: 0x00006000018a80c9   fp: 0x000000016f0b9600   lr: 0x0000000102dc4a5c
    sp: 0x000000016f0b9590   pc: 0x0000000102dc4a5c cpsr: 0x60001000
   far: 0x000000000000000c  esr: 0x92000006 (Data Abort) byte read Translation fault

The build is from https://github.com/macports/macports-ports/blob/f818b87c72f45eeef925e708152e28c36907ff55/net/psi/Portfile as sudo port -v install psi +qt4 (should be reproducible).

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant