Closed Porco-Rosso closed 1 year ago
This looks like two things:
I don't see much to go on in the log unfortunately. If you have a stack trace/.ips file from the crash, that'd be helpful.
I'll also try adding some additional logging in another build and get you to try that.
Try this build. There's only some minor refactoring and in particular, additional logging in this build. It'll be useful to find the why of why there's no parameters. Provide console output and ideally any stack traces/crash reports.
Same issue. Does this help? Sample of Submariner.txt I'm not familiar with debugging, so please let me know if there are specific steps you want me to do. (I can only do the sample once the app already launches so not sure if this will provide the errors on launch)
Maybe it has to do with the fact I have no local files loaded in Submariner?
```
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: Submariner [42553]
Path: /Applications/Submariner.app/Contents/MacOS/Submariner
Identifier: fr.read-write.Submariner
Version: 2.3 (2.3)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2023-06-21 11:41:39.3846 +0400
OS Version: macOS 13.1 (22C65)
Report Version: 12
Anonymous UUID: 71A5F2E0-270C-F191-80EE-41B81AD61EF9
Sleep/Wake UUID: 89234EA1-0BBC-4D1B-92FB-D7FB72D8BF99
Time Awake Since Boot: 650000 seconds
Time Since Wake: 1076 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000105039a1c
Termination Reason: Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process: exc handler [42553]
Kernel Triage:
VM - pmap_enter retried due to resource shortage
VM - pmap_enter retried due to resource shortage
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 Submariner 0x105039a1c 0x104fe8000 + 334364
1 Submariner 0x1050399d4 0x104fe8000 + 334292
2 Submariner 0x1050397a8 0x104fe8000 + 333736
3 Submariner 0x104ff1e4c 0x104fe8000 + 40524
4 CoreFoundation 0x1a9dfd570 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148
5 CoreFoundation 0x1a9e9b054 ___CFXRegistrationPost_block_invoke + 88
6 CoreFoundation 0x1a9e9af9c _CFXRegistrationPost + 440
7 CoreFoundation 0x1a9dceb74 _CFXNotificationPost + 708
8 Foundation 0x1aacbc72c -[NSNotificationCenter postNotificationName:object:userInfo:] + 88
9 Submariner 0x105037ec4 0x104fe8000 + 327364
10 Submariner 0x10503814c 0x104fe8000 + 328012
11 Submariner 0x104ffc17c 0x104fe8000 + 82300
12 AppKit 0x1ad230fa0 -[NSApplication(NSResponder) sendAction:to:from:] + 440
13 AppKit 0x1ad230db8 -[NSControl sendAction:to:] + 72
14 AppKit 0x1ad338608 -[NSTableView _sendAction:to:row:column:] + 116
15 AppKit 0x1ad337208 -[NSTableView mouseDown:] + 4228
16 AppKit 0x1ad22b990 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 3420
17 AppKit 0x1ad1b5ab8 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 1984
18 AppKit 0x1ad1b5124 -[NSWindow(NSEventRouting) sendEvent:] + 284
19 AppKit 0x1ad1b425c -[NSApplication(NSEvent) sendEvent:] + 1920
20 Submariner 0x10501ce04 0x104fe8000 + 216580
21 Submariner 0x10501d068 0x104fe8000 + 217192
22 AppKit 0x1ad406360 -[NSApplication _handleEvent:] + 60
23 AppKit 0x1ad07ba08 -[NSApplication run] + 500
24 AppKit 0x1ad052e28 NSApplicationMain + 880
25 dyld 0x1a99ffe50 start + 2544
Thread 1:
0 libsystem_pthread.dylib 0x1a9d23e18 start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x1a9d23e18 start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x1a9d23e18 start_wqthread + 0
Thread 4:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x1a9ce9d70 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1a9cfb8a4 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x1a9cf25c4 mach_msg_overwrite + 540
3 libsystem_kernel.dylib 0x1a9cea0ec mach_msg + 24
4 CoreFoundation 0x1a9e08bc0 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x1a9e074ac __CFRunLoopRun + 1232
6 CoreFoundation 0x1a9e06888 CFRunLoopRunSpecific + 612
7 AppKit 0x1ad1b2410 _NSEventThread + 172
8 libsystem_pthread.dylib 0x1a9d2906c _pthread_start + 148
9 libsystem_pthread.dylib 0x1a9d23e2c thread_start + 8
Thread 5:
0 libsystem_pthread.dylib 0x1a9d23e18 start_wqthread + 0
Thread 6:
0 libsystem_pthread.dylib 0x1a9d23e18 start_wqthread + 0
Thread 7:
0 libsystem_pthread.dylib 0x1a9d23e18 start_wqthread + 0
Thread 8:
0 libsystem_pthread.dylib 0x1a9d23e18 start_wqthread + 0
Thread 9:: com.apple.coremedia.rootQueue.48 Dispatch queue: */HLO
0 CoreFoundation 0x1a9da918c CFGetTypeID + 92
1 CoreMedia 0x1b323fbd4 FigASCIICFStringCaseInsensitiveHashCallback + 32
2 CoreFoundation 0x1a9daed20 CFBasicHashAddValue + 244
3 MediaToolbox 0x1b7258ad4 FigCopySetOfStreamingSupportedMIMETypes + 84
4 MediaToolbox 0x1b77d9b60 0x1b7247000 + 5843808
5 MediaToolbox 0x1b77cd650 0x1b7247000 + 5793360
6 MediaToolbox 0x1b77cd450 0x1b7247000 + 5792848
7 libdispatch.dylib 0x1a9ba2504 _dispatch_client_callout + 20
8 libdispatch.dylib 0x1a9ba9c9c _dispatch_lane_serial_drain + 896
9 libdispatch.dylib 0x1a9baa73c _dispatch_lane_invoke + 436
10 libdispatch.dylib 0x1a9bb3f94 _dispatch_root_queue_drain + 396
11 libdispatch.dylib 0x1a9bb3d24 _dispatch_worker_thread + 256
12 libsystem_pthread.dylib 0x1a9d2906c _pthread_start + 148
13 libsystem_pthread.dylib 0x1a9d23e2c thread_start + 8
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000016 x3: 0x0000000000000003
x4: 0x00006000006c6140 x5: 0x0000000000041c00 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x000000020508fb60 x9: 0x0000000000000040 x10: 0x0000600002535ee8 x11: 0x00006001fa5c56c1
x12: 0x0000000000000011 x13: 0x0000000000000000 x14: 0x00000001a995c000 x15: 0x000000027648c000
x16: 0x000000030f0cf82c x17: 0x00000002060e2a80 x18: 0x0000000000000000 x19: 0x0000600002535ea0
x20: 0x0000600002535ea0 x21: 0xe800000000000000 x22: 0xeb00000000202d20 x23: 0x0000600000634b20
x24: 0x7a616c6c69726f47 x25: 0x0000000000041c00 x26: 0x0000000000000000 x27: 0x0000016200000157
x28: 0x000000016ae16038 fp: 0x000000016ae15f00 lr: 0x00000001050399d4
sp: 0x000000016ae15ec0 pc: 0x0000000105039a1c cpsr: 0x40001000
far: 0x00000001ad34b4b4 esr: 0xf2000001 (Breakpoint) brk 1
Binary Images:
0x104fe8000 - 0x105077fff fr.read-write.Submariner (2.3)
SubmarinerCrash.txt New console Log
I think I see what's happening - when I symbolicate it, it's in the SBPlayer.subtitle getter, and it's crashing when there's an empty album name.
Try this build. It should resolve the crash, at least.
I'm still getting the Missing parameter "u"
, but at least now it doesn't crash, thanks!
I noticed that it never seems to call the connect method that gathers the base parameters like username - it immediately goes to the playlist.
I think what's going on (and I can reproduce this, and I suspect it was around in previous releases too) is if a playlist is selected on start, it doesn't call that method like it would for the other server resources.
If this one fixes it, I'll cut a release.
That fixed it, thanks!
I have another issue, but I'll make another issue.
Describe the bug App shows the same error twice, and crashes when playing a song.
To Reproduce Steps to reproduce the behavior:
Expected behavior Should launch without errors and play songs
Screenshots I get this error twice on launch after upgrading to 2.3 Here is the crash log from console.app SubmarinerCrash.txt
Versions: