Soulseek keeps crashing in Yosemite on iMac.

Hi,
SoulseekQT keeps crashing after using the 'search' function, sometimes immediately causing all of my downloads to be gone after restart, sometimes after a couple of minutes, when I download only a limited number it keeps running, but it's very unstable.

I've tried different versions of QT that were already suggested by other users with the same problem, but it didn't fix it.

I'm not sure why it's crashing on my iMac, I've seen it work on other people's computer under Yosemite and with the same version as I'm using, which is the most recent currently.

This is the entire crash report:

Process: SoulseekQt [2312]
Path: /Applications/SoulseekQt.app/Contents/MacOS/SoulseekQt
Identifier: com.example.SoulseekQt
Version: ???
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: SoulseekQt [2312]
User ID: 501

Date/Time: 2015-05-16 10:57:23.294 +0200
OS Version: Mac OS X 10.10.3 (14D136)
Report Version: 11
Anonymous UUID: A80A7C68-8B03-DB9A-297D-799998EEB2EB

Time Awake Since Boot: 210000 seconds

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

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000008

VM Regions Near 0x8:
-->
__TEXT 0000000102d0c000-0000000102ff9000 [ 2996K] r-x/rwx SM=COW /Applications/SoulseekQt.app/Contents/MacOS/SoulseekQt

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 org.qt-project.QtCore 0x0000000103e8df95 QCoreApplication::notifyInternal(QObject*, QEvent*) + 85
1 org.qt-project.QtGui 0x000000010371a195 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) + 1605
2 org.qt-project.QtGui 0x000000010370751a QWindowSystemInterface::sendWindowSystemEvents(QFlags) + 346
3 libqcocoa.dylib 0x0000000105e89a41 0x105e68000 + 137793
4 com.apple.CoreFoundation 0x00007fff98f64a01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
5 com.apple.CoreFoundation 0x00007fff98f56c5c __CFRunLoopDoSources0 + 476
6 com.apple.CoreFoundation 0x00007fff98f561bf __CFRunLoopRun + 927
7 com.apple.CoreFoundation 0x00007fff98f55bd8 CFRunLoopRunSpecific + 296
8 com.apple.HIToolbox 0x00007fff919c156f RunCurrentEventLoopInMode + 235
9 com.apple.HIToolbox 0x00007fff919c11ee ReceiveNextEventCommon + 179
10 com.apple.HIToolbox 0x00007fff919c112b _BlockUntilNextEventMatchingListInModeWithFilter + 71
11 com.apple.AppKit 0x00007fff905639bb _DPSNextEvent + 978
12 com.apple.AppKit 0x00007fff90562f68 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
13 com.apple.AppKit 0x00007fff90558bf3 -[NSApplication run] + 594
14 libqcocoa.dylib 0x0000000105e8892d 0x105e68000 + 133421
15 org.qt-project.QtCore 0x0000000103e8b5ad QEventLoop::exec(QFlags) + 381
16 org.qt-project.QtCore 0x0000000103e8e58a QCoreApplication::exec() + 346
17 com.example.SoulseekQt 0x0000000102d11145 main + 3477
18 com.example.SoulseekQt 0x0000000102d103a4 start + 52

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff95b6e232 kevent64 + 10
1 libdispatch.dylib 0x00007fff8c673a6a _dispatch_mgr_thread + 52

Thread 2:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff95b6d3fa __select + 10
1 libsystem_pthread.dylib 0x00007fff92c2b268 _pthread_body + 131
2 libsystem_pthread.dylib 0x00007fff92c2b1e5 _pthread_start + 176
3 libsystem_pthread.dylib 0x00007fff92c2941d thread_start + 13

Thread 3:: Qt bearer thread
0 libsystem_kernel.dylib 0x00007fff95b6d3fa __select + 10
1 org.qt-project.QtCore 0x0000000103edef48 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 104
2 org.qt-project.QtCore 0x0000000103ee0000 QEventDispatcherUNIXPrivate::doSelect(QFlags, timespec*) + 672
3 org.qt-project.QtCore 0x0000000103ee10ca QEventDispatcherUNIX::processEvents(QFlags) + 234
4 org.qt-project.QtCore 0x0000000103e8b5ad QEventLoop::exec(QFlags) + 381
5 org.qt-project.QtCore 0x0000000103c80905 QThread::exec() + 117
6 org.qt-project.QtCore 0x0000000103c84393 QThreadStorageData::finish(void**) + 2595
7 libsystem_pthread.dylib 0x00007fff92c2b268 _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff92c2b1e5 _pthread_start + 176
9 libsystem_pthread.dylib 0x00007fff92c2941d thread_start + 13

Thread 4:: QThread
0 libsystem_kernel.dylib 0x00007fff95b6d3fa __select + 10
1 org.qt-project.QtCore 0x0000000103ee0000 QEventDispatcherUNIXPrivate::doSelect(QFlags, timespec*) + 672
2 org.qt-project.QtCore 0x0000000103ee10ca QEventDispatcherUNIX::processEvents(QFlags) + 234
3 org.qt-project.QtCore 0x0000000103e8b5ad QEventLoop::exec(QFlags) + 381
4 org.qt-project.QtCore 0x0000000103c80905 QThread::exec() + 117
5 org.qt-project.QtCore 0x0000000103c84393 QThreadStorageData::finish(void**) + 2595
6 libsystem_pthread.dylib 0x00007fff92c2b268 _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff92c2b1e5 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff92c2941d thread_start + 13

Thread 5:: QThread
0 libsystem_kernel.dylib 0x00007fff95b6d3fa __select + 10
1 org.qt-project.QtCore 0x0000000103ee0000 QEventDispatcherUNIXPrivate::doSelect(QFlags, timespec*) + 672
2 org.qt-project.QtCore 0x0000000103ee10ca QEventDispatcherUNIX::processEvents(QFlags) + 234
3 org.qt-project.QtCore 0x0000000103e8b5ad QEventLoop::exec(QFlags) + 381
4 org.qt-project.QtCore 0x0000000103c80905 QThread::exec() + 117
5 org.qt-project.QtCore 0x0000000103c84393 QThreadStorageData::finish(void**) + 2595
6 libsystem_pthread.dylib 0x00007fff92c2b268 _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff92c2b1e5 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff92c2941d thread_start + 13

Thread 6:
0 libsystem_kernel.dylib 0x00007fff95b684de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff95b6764f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff98f56eb4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff98f5637b __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff98f55bd8 CFRunLoopRunSpecific + 296
5 com.apple.AppKit 0x00007fff9062b66b _NSEventThread + 137
6 libsystem_pthread.dylib 0x00007fff92c2b268 _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff92c2b1e5 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff92c2941d thread_start + 13

Thread 7:: Qt HTTP thread
0 libsystem_kernel.dylib 0x00007fff95b6d3fa __select + 10
1 org.qt-project.QtCore 0x0000000103ee0000 QEventDispatcherUNIXPrivate::doSelect(QFlags, timespec*) + 672
2 org.qt-project.QtCore 0x0000000103ee10ca QEventDispatcherUNIX::processEvents(QFlags) + 234
3 org.qt-project.QtCore 0x0000000103e8b5ad QEventLoop::exec(QFlags) + 381
4 org.qt-project.QtCore 0x0000000103c80905 QThread::exec() + 117
5 org.qt-project.QtCore 0x0000000103c84393 QThreadStorageData::finish(void**) + 2595
6 libsystem_pthread.dylib 0x00007fff92c2b268 _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff92c2b1e5 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff92c2941d thread_start + 13

Thread 8:
0 libsystem_kernel.dylib 0x00007fff95b6d94a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff92c2940d start_wqthread + 13

Thread 9:
0 libsystem_kernel.dylib 0x00007fff95b6d94a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff92c2940d start_wqthread + 13

Thread 10:
0 libsystem_kernel.dylib 0x00007fff95b6d94a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff92c2940d start_wqthread + 13

Thread 11:
0 libsystem_kernel.dylib 0x00007fff95b6d94a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff92c2940d start_wqthread + 13

Thread 12:
0 libsystem_kernel.dylib 0x00007fff95b6d94a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff92c2940d start_wqthread + 13

Thread 13:
0 libsystem_kernel.dylib 0x00007fff95b6d94a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff92c2940d start_wqthread + 13

Thread 14:
0 libsystem_kernel.dylib 0x00007fff95b6d94a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff92c2940d start_wqthread + 13

Thread 15:
0 libsystem_kernel.dylib 0x00007fff95b6d94a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff92c2940d start_wqthread + 13

Thread 16:
0 libsystem_kernel.dylib 0x00007fff95b6d94a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff92c2940d start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000618000000c00 rbx: 0x0000000000000000 rcx: 0x408ab1d800000000 rdx: 0x00007fff5cef20d8
rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x00007fff5cef1fe0 rsp: 0x00007fff5cef1f80
r8: 0x00006100002d8df8 r9: 0x0000000000000000 r10: 0x00007fff7cdd4244 r11: 0xfffffffffffffc10
r12: 0x00007fff7d766070 r13: 0x0000000000000011 r14: 0x00007fff5cef20d8 r15: 0x00007fff5cef3c58
rip: 0x0000000103e8df95 rfl: 0x0000000000010246 cr2: 0x0000000000000008

Logical CPU: 2
Error Code: 0x00000004
Trap Number: 14

I really hope this can be fixed, I love Soulseek.

Thanks!

Does it happen immediately after performing a certain action? Like opening or closing a search tab for example.

Hi Nir,

SoulseekQT quits after downloading the files, I can have 10 search tabs open and it'll keep running, but from the moment I actually click download it usually quits immediately, when I'm lucky it keeps running, but 95% of the time it just stops.

Since my upgrade to Yosemite it started to malfunction, so it's definitely related to Yosemite.

Thanks a lot for your input!
I really hope there's a way to find the cause, I've been using Soulseek for 12 years and there's just no other alternative that comes even close to it.

Are you using the Download Folders option? If so does the dialog that lets you check and uncheck files you want to download show up before it crashes? Try unchecking Options->File Sharing->Show files in folder dialog when downloading folders from search results. If this stops the crashes we know the problem is with the dialog. The crash you posted shows the Qt framework trying to send an event to an already deleted QObject, which is usually a UI component.

Hi Nir,

A lot of the times I download just single files only and then there's no dialogue window popping up, but still crashes.
I unchecked the 'show files in folder dialog' but it made no difference.

At first nothing happened, but a few minutes later it still crashed, this happened before though.

Hmm, can you keep sending me crash reports in private? I want to see if there's a definitive pattern or if it's random.

Yes of course.
Thanks a lot for your input, I appreciate it immensely!

Hey DaZeD,

I'm not seeing any pattern with these crashes. I wonder if there's some incompatibility between the version of Qt bundled with SoulseekQt and another application that's causing it to act erratically. Try this statically linked version: https://www.dropbox.com/s/rh4xl78f683jjr0/SoulseekQt-2015-5-18-static.dm...

Any luck?

Hi Nir, the crashes are strongly diminished since I unchecked ALL boxes in the 'file sharing' folder, and download entire folders instead of separate files, so it's indeed related to data something in that field.

Do you mean all the checkboxes in the Options->File Sharing tab? If so I wonder if it's related to the download files in folder dialog no longer appearing (as it's one of the options you supposedly unchecked..) Would be interesting to re-enable just that one and see if the crashes return with the same frequency.

About half the crashes you've sent me are happening in the download thread, which makes me wonder -- which build are you using? The other half look completely random...

Hi,
No it still crashes, I've not been downloading anything lately but I'll send you all crash reports like you asked, unless you want me to stop of course. :)

It seems to crash less frequent when I download entire folders instead of separate files.
Also when I uncheck the said box it is checked again after crashing.

Revelctonmai's picture

Hi!
I've tried to open using various versions of QT, but no luck -- it immediately crashes when I try to open it. I really don't know where to begin troubleshooting. Here is the latest report: (thanks!)

Process: SoulseekQt [16402]
Path: /Applications/SoulseekQt.app/Contents/MacOS/SoulseekQt
Identifier: com.example.SoulseekQt
Version: ???
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: SoulseekQt [16402]
User ID: 501

Date/Time: 2015-07-28 19:41:11.926 -0400
OS Version: Mac OS X 10.10.4 (14E46)
Report Version: 11
Anonymous UUID: 4EEB3B73-5B35-6D82-BDB2-B00724D78672

Time Awake Since Boot: 230000 seconds

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

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called
terminating with uncaught exception of type std::bad_alloc: std::bad_alloc

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8c4a3286 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff8b4b0b53 abort + 129
2 libc++abi.dylib 0x00007fff899c8a21 abort_message + 257
3 libc++abi.dylib 0x00007fff899f09b9 default_terminate_handler() + 243
4 libobjc.A.dylib 0x00007fff874b17eb _objc_terminate() + 124
5 libc++abi.dylib 0x00007fff899ee0a1 std::__terminate(void (*)()) + 8
6 libc++abi.dylib 0x00007fff899edb30 __cxa_throw + 121
7 libc++.1.dylib 0x00007fff8d33847e operator new(unsigned long) + 94
8 com.example.SoulseekQt 0x0000000100a9de51 ReadString(QFile&, std::__1::basic_string, std::__1::allocator >&) + 81
9 com.example.SoulseekQt 0x0000000100aa0e0a DataSaver::loadFromFile(QString, int) + 186
10 com.example.SoulseekQt 0x0000000100aa0910 DataSaver::load(QString) + 1824
11 com.example.SoulseekQt 0x00000001009f43e5 MainWindow::init() + 32661
12 com.example.SoulseekQt 0x00000001009eaeda main + 3898
13 com.example.SoulseekQt 0x00000001009e9f94 start + 52

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8c4a4232 kevent64 + 10
1 libdispatch.dylib 0x00007fff858cba6a _dispatch_mgr_thread + 52

Thread 2:
0 libsystem_kernel.dylib 0x00007fff8c4a394a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff89a4e40d start_wqthread + 13

Thread 3:
0 libsystem_kernel.dylib 0x00007fff8c4a394a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff89a4e40d start_wqthread + 13

Thread 4:
0 libsystem_kernel.dylib 0x00007fff8c4a394a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff89a4e40d start_wqthread + 13

Thread 5:
0 libsystem_kernel.dylib 0x00007fff8c4a394a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff89a4e40d start_wqthread + 13

Thread 6:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff8c4a33fa __select + 10
1 libsystem_pthread.dylib 0x00007fff89a50268 _pthread_body + 131
2 libsystem_pthread.dylib 0x00007fff89a501e5 _pthread_start + 176
3 libsystem_pthread.dylib 0x00007fff89a4e41d thread_start + 13

Thread 7:: Qt bearer thread
0 libsystem_kernel.dylib 0x00007fff8c4a33fa __select + 10
1 org.qt-project.QtCore 0x0000000101cb1ce8 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 104
2 org.qt-project.QtCore 0x0000000101cb2da0 QEventDispatcherUNIXPrivate::doSelect(QFlags, timespec*) + 672
3 org.qt-project.QtCore 0x0000000101cb3e6a QEventDispatcherUNIX::processEvents(QFlags) + 234
4 org.qt-project.QtCore 0x0000000101c5e39d QEventLoop::exec(QFlags) + 381
5 org.qt-project.QtCore 0x0000000101a53a95 QThread::exec() + 117
6 org.qt-project.QtCore 0x0000000101a57523 0x101a22000 + 218403
7 libsystem_pthread.dylib 0x00007fff89a50268 _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff89a501e5 _pthread_start + 176
9 libsystem_pthread.dylib 0x00007fff89a4e41d thread_start + 13

Thread 8:
0 libsystem_kernel.dylib 0x00007fff8c4a394a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff89a4e40d start_wqthread + 13

Thread 9:
0 libsystem_kernel.dylib 0x00007fff8c4a394a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff89a4e40d start_wqthread + 13

Thread 10:
0 libsystem_kernel.dylib 0x00007fff8c4a394a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff89a4e40d start_wqthread + 13

Thread 11:
0 libsystem_kernel.dylib 0x00007fff8c4a394a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff89a4e40d start_wqthread + 13

Thread 12:: QThread
0 libsystem_kernel.dylib 0x00007fff8c4a33fa __select + 10
1 org.qt-project.QtCore 0x0000000101cb2da0 QEventDispatcherUNIXPrivate::doSelect(QFlags, timespec*) + 672
2 org.qt-project.QtCore 0x0000000101cb3e6a QEventDispatcherUNIX::processEvents(QFlags) + 234
3 org.qt-project.QtCore 0x0000000101c5e39d QEventLoop::exec(QFlags) + 381
4 org.qt-project.QtCore 0x0000000101a53a95 QThread::exec() + 117
5 org.qt-project.QtCore 0x0000000101a57523 0x101a22000 + 218403
6 libsystem_pthread.dylib 0x00007fff89a50268 _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff89a501e5 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff89a4e41d thread_start + 13

Thread 13:: QThread
0 libsystem_kernel.dylib 0x00007fff8c4a33fa __select + 10
1 org.qt-project.QtCore 0x0000000101cb2da0 QEventDispatcherUNIXPrivate::doSelect(QFlags, timespec*) + 672
2 org.qt-project.QtCore 0x0000000101cb3e6a QEventDispatcherUNIX::processEvents(QFlags) + 234
3 org.qt-project.QtCore 0x0000000101c5e39d QEventLoop::exec(QFlags) + 381
4 org.qt-project.QtCore 0x0000000101a53a95 QThread::exec() + 117
5 org.qt-project.QtCore 0x0000000101a57523 0x101a22000 + 218403
6 libsystem_pthread.dylib 0x00007fff89a50268 _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff89a501e5 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff89a4e41d thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x00007fff5f2135c8 rdx: 0x0000000000000000
rdi: 0x000000000000130f rsi: 0x0000000000000006 rbp: 0x00007fff5f2135f0 rsp: 0x00007fff5f2135c8
r8: 0x0000000000000000 r9: 0x00007fff8b4dad70 r10: 0x0000000008000000 r11: 0x0000000000000206
r12: 0x00007fff5f213750 r13: 0x0000000000000000 r14: 0x00007fff732f7300 r15: 0x00007fff5f213630
rip: 0x00007fff8c4a3286 rfl: 0x0000000000000206 cr2: 0x00007fff73646fd8

Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133

It looks like your Soulseek client configuration data might have become corrupt somehow. Try renaming or deleting the hidden .SoulseekQt directory at the root of your home directory.