Decibel 1.3.3 crashes on startup

Discuss Decibel, a high quality audio player.
Post Reply
Bertolf
Posts: 6
Joined: Tue Apr 03, 2012 6:21 am

Decibel 1.3.3 crashes on startup

Post by Bertolf » Tue Dec 22, 2015 11:19 pm

I just got the 1.3.3 update and I'm now getting crashes on startup that I didn't get with 1.3.2. It might be related to the fact that I have items in my active playlist that are on a smb network mount and I don't have access to that mount at the moment. This is what I'm getting if I'm running the app on the command line:

Code: Select all

% /Applications/Decibel.app/Contents/MacOS/Decibel
TagLib: MPEG::Header::parse() -- Invalid sample rate.
TagLib: MPEG::AudioProperties::read() -- The first page header is invalid.
TagLib: MPEG::Header::parse() -- Invalid sample rate.
TagLib: MPEG::AudioProperties::read() -- The first page header is invalid.
TagLib: MPEG::Header::parse() -- Invalid sample rate.
TagLib: MPEG::AudioProperties::read() -- The first page header is invalid.
TagLib: MPEG::Header::parse() -- Invalid sample rate.
TagLib: MPEG::AudioProperties::read() -- The first page header is invalid.
TagLib: MPEG::Header::parse() -- Invalid sample rate.
TagLib: MPEG::AudioProperties::read() -- The first page header is invalid.
TagLib: MPEG::Header::parse() -- Invalid sample rate.
TagLib: MPEG::AudioProperties::read() -- The first page header is invalid.
TagLib: MPEG::Header::parse() -- Invalid sample rate.
TagLib: MPEG::AudioProperties::read() -- The first page header is invalid.
TagLib: MPEG::Header::parse() -- Invalid sample rate.
TagLib: MPEG::AudioProperties::read() -- The first page header is invalid.
TagLib: MPEG::Header::parse() -- Invalid sample rate.
TagLib: MPEG::AudioProperties::read() -- The first page header is invalid.
TagLib: MPEG::Header::parse() -- Invalid sample rate.
TagLib: MPEG::AudioProperties::read() -- The first page header is invalid.
TagLib: MPEG::Header::parse() -- Invalid sample rate.
TagLib: MPEG::AudioProperties::read() -- The first page header is invalid.
libc++abi.dylib: terminating with uncaught exception of type std::length_error: vector
[1]    26542 abort      /Applications/Decibel.app/Contents/MacOS/Decibel
%
Thanks.

Bertolf
Posts: 6
Joined: Tue Apr 03, 2012 6:21 am

Re: Decibel 1.3.3 crashes on startup

Post by Bertolf » Tue Dec 22, 2015 11:24 pm

Relevant threads from lldb, thread #8 is the thread raising SIGABRT:

Code: Select all

  thread #1: tid = 0xa59e9, 0x00007fff86e1c386 libsystem_kernel.dylib`mach_msg_trap + 10, queue = 'com.apple.main-thread'
    frame #0: 0x00007fff86e1c386 libsystem_kernel.dylib`mach_msg_trap + 10
    frame #1: 0x00007fff86e1b7c7 libsystem_kernel.dylib`mach_msg + 55
    frame #2: 0x00007fff855a4624 CoreFoundation`__CFRunLoopServiceMachPort + 212
    frame #3: 0x00007fff855a3aec CoreFoundation`__CFRunLoopRun + 1356
    frame #4: 0x00007fff855a3338 CoreFoundation`CFRunLoopRunSpecific + 296
    frame #5: 0x00007fff81dca935 HIToolbox`RunCurrentEventLoopInMode + 235
    frame #6: 0x00007fff81dca76f HIToolbox`ReceiveNextEventCommon + 432
    frame #7: 0x00007fff81dca5af HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 71
    frame #8: 0x00007fff9380e0ee AppKit`_DPSNextEvent + 1067
    frame #9: 0x00007fff93bda943 AppKit`-[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
    frame #10: 0x00007fff93803fc8 AppKit`-[NSApplication run] + 682
    frame #11: 0x00007fff93786520 AppKit`NSApplicationMain + 1176
    frame #12: 0x000000010003c26c Decibel`___lldb_unnamed_function685$$Decibel + 1053
    frame #13: 0x00000001000020f4 Decibel`___lldb_unnamed_function1$$Decibel + 52

* thread #8: tid = 0xa5a2d, 0x00007fff86e22002 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.root.default-qos', stop reason = signal SIGABRT
  * frame #0: 0x00007fff86e22002 libsystem_kernel.dylib`__pthread_kill + 10
    frame #1: 0x00007fff89c755c5 libsystem_pthread.dylib`pthread_kill + 90
    frame #2: 0x00007fff8afae6e7 libsystem_c.dylib`abort + 129
    frame #3: 0x00007fff9105cf81 libc++abi.dylib`abort_message + 257
    frame #4: 0x00007fff91082a2f libc++abi.dylib`default_terminate_handler() + 243
    frame #5: 0x00007fff8377f6c3 libobjc.A.dylib`_objc_terminate() + 124
    frame #6: 0x00007fff9108019e libc++abi.dylib`std::__terminate(void (*)()) + 8
    frame #7: 0x00007fff91080213 libc++abi.dylib`std::terminate() + 51
    frame #8: 0x00007fff8377f43f libobjc.A.dylib`objc_terminate + 9
    frame #9: 0x00007fff89ab0353 libdispatch.dylib`_dispatch_client_callout + 28
    frame #10: 0x00007fff89ab41cf libdispatch.dylib`_dispatch_root_queue_drain + 1890
    frame #11: 0x00007fff89ab3a34 libdispatch.dylib`_dispatch_worker_thread3 + 91
    frame #12: 0x00007fff89c7368f libsystem_pthread.dylib`_pthread_wqthread + 1129
    frame #13: 0x00007fff89c71365 libsystem_pthread.dylib`start_wqthread + 13

  thread #7: tid = 0xa5a2e, 0x00007fff86e1c3da libsystem_kernel.dylib`semaphore_timedwait_trap + 10, name = 'org.sbooth.AudioEngine.Decoder'
    frame #0: 0x00007fff86e1c3da libsystem_kernel.dylib`semaphore_timedwait_trap + 10
    frame #1: 0x00007fff89abbb9b libdispatch.dylib`_dispatch_semaphore_wait_slow + 149
    frame #2: 0x0000000100378114 SFBAudioEngine`SFB::Semaphore::TimedWait(unsigned long long) + 12
    frame #3: 0x00000001003858e4 SFBAudioEngine`SFB::Audio::Player::DecoderThreadEntry() + 16318
    frame #4: 0x000000010038b4a9 SFBAudioEngine`void* std::__1::__thread_proxy<std::__1::tuple<void* (SFB::Audio::Player::*)(), SFB::Audio::Player*> >(void*) + 79
    frame #5: 0x00007fff89c73c13 libsystem_pthread.dylib`_pthread_body + 131
    frame #6: 0x00007fff89c73b90 libsystem_pthread.dylib`_pthread_start + 168
    frame #7: 0x00007fff89c71375 libsystem_pthread.dylib`thread_start + 13

User avatar
sbooth
Site Admin
Posts: 2445
Joined: Fri Dec 23, 2005 7:45 am
Location: USA
Contact:

Re: Decibel 1.3.3 crashes on startup

Post by sbooth » Wed Dec 23, 2015 2:57 am

What version of Mac OS X are you running? I may have accidentally linked one of Decibel's dependencies to 10.11 instead of 10.7+.

Bertolf
Posts: 6
Joined: Tue Apr 03, 2012 6:21 am

Re: Decibel 1.3.3 crashes on startup

Post by Bertolf » Wed Dec 23, 2015 1:04 pm

I'm running El Capitan 10.11.2

User avatar
sbooth
Site Admin
Posts: 2445
Joined: Fri Dec 23, 2005 7:45 am
Location: USA
Contact:

Re: Decibel 1.3.3 crashes on startup

Post by sbooth » Thu Dec 24, 2015 3:42 am

There goes that theory...

Bertolf
Posts: 6
Joined: Tue Apr 03, 2012 6:21 am

Re: Decibel 1.3.3 crashes on startup

Post by Bertolf » Sat Dec 26, 2015 12:28 pm

It really looks like the cause is having files on the playlist that can't be read, if I remove "~/Application Support/Decibel/Playlist.plist" then the app doesn't crash on startup anymore.

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest