Regarding the client crashing

I've received a couple of reports about the client crashing in the last few weeks. It's been months since I've had a crash myself, but I'm also not a super-heavy user either. If your client is crashing, the best thing you can do to help me root out these crash-causing bugs is to generate and post a crash report. This is a very simple process on Mac, but a little more involved on Windows.

On Windows:

  1. Download and unzip drmingw-0.4.4.zip.
  2. Open a command line window in administrator mode (in Start->Accessories right click Command Prompt and select Run as administrator), navigate to the folder you've extracted above, and install Dr. MingW as your machine's default just-in-time debugger by typing "drmingw -i" without the quotes. You can later remove it by typing "drmingw -u".
  3. When the client crashes, you should be offered an option to debug it. Select it and a Dr. MingW window should open and produce a detailed crash report.

On Mac OSX:

  1. Upon crashing, you should get a SoulseekQt quit unexpectedly dialog. Click the Report... button
  2. If this doesn't immediately produce the report, click the Show Details button.

On Linux: (requires basic familiarity with the Linux command line)

  1. On the command line change directory to where the SoulseekQt executable is.
  2. Start SoulseekQt in gdb (refer to your distribution's documentation if you don't have gdb installed): gdb [SoulseekQt executable name]
  3. In gdb, start SoulseekQt by typing run
  4. The client should start. Once it crashes, gdb will return to the prompt. Type bt to generate a stack trace of where the crash occurred. Copy the stack trace and proceed as outlined below to post it.

Once you have the report, start a new forum topic using the 'Add content' option to the left and paste it there. Not all crash reports produce useful information, and not every crash report is going to be enough for me to fix the problem, but in most cases it should at least give me some idea of what might have gone wrong.

Thanks, Nir

Comments

I updated libgcc_s_dw2-1.dll and mingwm10.dll and things seems to be running smoothly.

That's really good to know. How often was it crashing for you before then? What version of Qt did you use to update these files?

Thanks, Nir

Don't know how often... I know it was crashing, and since the 'update', no more crashes.
The files I got directly from MinGW sourceforge page, here

http://sourceforge.net/projects/mingw/files/MinGW/BaseSystem/RuntimeLibr...

http://sourceforge.net/projects/mingw/files/MinGW/BaseSystem/GCC/Version...

Up-to-date at the time of this writing.

On Windows you gonna need 7-Zip to unpack the last one.

That's one hot tip :) thanks!

Hey my Slsk stucks after a while when its on, especially if you don't touch it for a while. dont know how to fix it.

What OS are you on? How many files are you sharing more or less?

osX 10.6.8- crashes at all times, especially if I am using the computer, because sometimes I leave it on during the night and when I check it on the morning it is working, but that is just sometimes. I dont get to create a "crash report" because altough the application does not respond, osx does NOT detect it as being "crashed" so I dont have the option to "force quit" or create a crash report,I just have to quit it (cmmd+q) and open it again. I share somewhere around 3000 files, but. the app crashes even when I have no current uploads/downloads.
I hope this info helps.
THANKS!

Which build are you using?

2013.10.5
I have noticed that if I dont minimize the application window it will NOT crash, i have been running it for 2 days without a crash :)
I have even previewed video files while they are being downloaded without any problems, just as long as I dont minimize the application.
I hope it helps.

thanks

I have yet to find a stable version of soulseek for the mac.
here's the results of my last crash

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

Date/Time: 2014-05-05 16:44:24.435 -0400
OS Version: Mac OS X 10.9.2 (13C1021)
Report Version: 11
Anonymous UUID: 3F664F32-E5A0-D3D9-ADC8-3C2FE298ACD0

Crashed Thread: 21 DownloadThread

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

VM Regions Near 0x688000601bc8:
MALLOC_NANO 0000618000200000-0000618005600000 [ 84.0M] rw-/rwx SM=PRV
-->
MALLOC_TINY 00007f9a6b400000-00007f9a6b800000 [ 4096K] rw-/rwx SM=PRV

Thread 0:: Dispatch queue: com.apple.main-thread
0 com.apple.CoreFoundation 0x00007fff8ade8e75 __CFRunLoopCollectSources0 + 21
1 com.apple.CoreFoundation 0x00007fff8add6432 __CFSetApplyFunction_block_invoke + 18
2 com.apple.CoreFoundation 0x00007fff8adba9ac CFBasicHashApply + 124
3 com.apple.CoreFoundation 0x00007fff8add63ed CFSetApplyFunction + 173
4 com.apple.CoreFoundation 0x00007fff8ade8c8b __CFRunLoopDoSources0 + 107
5 com.apple.CoreFoundation 0x00007fff8ade849f __CFRunLoopRun + 831
6 com.apple.CoreFoundation 0x00007fff8ade7f25 CFRunLoopRunSpecific + 309
7 com.apple.HIToolbox 0x00007fff84b57a0d RunCurrentEventLoopInMode + 226
8 com.apple.HIToolbox 0x00007fff84b577b7 ReceiveNextEventCommon + 479
9 com.apple.HIToolbox 0x00007fff84b575bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
10 com.apple.AppKit 0x00007fff8718f3de _DPSNextEvent + 1434
11 com.apple.AppKit 0x00007fff8718ea2b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
12 com.apple.AppKit 0x00007fff87182b2c -[NSApplication run] + 553
13 libqcocoa.dylib 0x000000010c8e5d44 0x10c8cc000 + 105796
14 QtCore 0x000000010a5f864d QEventLoop::exec(QFlags) + 397
15 QtCore 0x000000010a5fb652 QCoreApplication::exec() + 354
16 com.yourcompany.SoulseekQt 0x0000000109b15671 main + 3489
17 com.yourcompany.SoulseekQt 0x0000000109b148c4 start + 52

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff84ac5662 kevent64 + 10
1 libdispatch.dylib 0x00007fff8e07e43d _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff8e07e152 _dispatch_mgr_thread + 52

Thread 2:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff84ac49aa __select + 10
1 com.apple.CoreFoundation 0x00007fff8ae34ab3 __CFSocketManager + 867
2 libsystem_pthread.dylib 0x00007fff849da899 _pthread_body + 138
3 libsystem_pthread.dylib 0x00007fff849da72a _pthread_start + 137
4 libsystem_pthread.dylib 0x00007fff849defc9 thread_start + 13

Thread 3:: Qt bearer thread
0 libsystem_kernel.dylib 0x00007fff84ac49aa __select + 10
1 QtCore 0x000000010a6497d3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547
2 QtCore 0x000000010a64a668 QEventDispatcherUNIXPrivate::doSelect(QFlags, timespec*) + 680
3 QtCore 0x000000010a64b4eb QEventDispatcherUNIX::processEvents(QFlags) + 251
4 QtCore 0x000000010a5f864d QEventLoop::exec(QFlags) + 397
5 QtCore 0x000000010a40e6de QThread::exec() + 126
6 QtCore 0x000000010a412392 0x10a3e8000 + 172946
7 libsystem_pthread.dylib 0x00007fff849da899 _pthread_body + 138
8 libsystem_pthread.dylib 0x00007fff849da72a _pthread_start + 137
9 libsystem_pthread.dylib 0x00007fff849defc9 thread_start + 13

Thread 4:: QThread
0 libsystem_kernel.dylib 0x00007fff84ac49aa __select + 10
1 QtCore 0x000000010a6497d3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547
2 QtCore 0x000000010a64a668 QEventDispatcherUNIXPrivate::doSelect(QFlags, timespec*) + 680
3 QtCore 0x000000010a64b4eb QEventDispatcherUNIX::processEvents(QFlags) + 251
4 QtCore 0x000000010a5f864d QEventLoop::exec(QFlags) + 397
5 QtCore 0x000000010a40e6de QThread::exec() + 126
6 QtCore 0x000000010a412392 0x10a3e8000 + 172946
7 libsystem_pthread.dylib 0x00007fff849da899 _pthread_body + 138
8 libsystem_pthread.dylib 0x00007fff849da72a _pthread_start + 137
9 libsystem_pthread.dylib 0x00007fff849defc9 thread_start + 13

Thread 5:: QThread
0 libsystem_kernel.dylib 0x00007fff84ac59f2 read + 10
1 QtCore 0x000000010a588aed 0x10a3e8000 + 1706733
2 QtCore 0x000000010a594243 0x10a3e8000 + 1753667
3 QtCore 0x000000010a53f8af QFileDevice::readData(char*, long long) + 111
4 QtCore 0x000000010a54663f QIODevice::read(char*, long long) + 991
5 com.yourcompany.SoulseekQt 0x0000000109be21af FileScanner::ScanMP3(QString, int&, QString&, int&, bool&, int&) + 1327
6 com.yourcompany.SoulseekQt 0x0000000109be28da FileScanner::OnMP3ScanRequired(QString) + 90
7 com.yourcompany.SoulseekQt 0x0000000109cfb205 FileScanner::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 533
8 QtCore 0x000000010a624f4b QObject::event(QEvent*) + 747
9 QtWidgets 0x000000010aacdf2c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 300
10 QtWidgets 0x000000010aad0a1d QApplication::notify(QObject*, QEvent*) + 6157
11 QtCore 0x000000010a5fbc07 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 631
12 QtCore 0x000000010a64b42e QEventDispatcherUNIX::processEvents(QFlags) + 62
13 QtCore 0x000000010a5f864d QEventLoop::exec(QFlags) + 397
14 QtCore 0x000000010a40e6de QThread::exec() + 126
15 QtCore 0x000000010a412392 0x10a3e8000 + 172946
16 libsystem_pthread.dylib 0x00007fff849da899 _pthread_body + 138
17 libsystem_pthread.dylib 0x00007fff849da72a _pthread_start + 137
18 libsystem_pthread.dylib 0x00007fff849defc9 thread_start + 13

Thread 6:
0 libsystem_kernel.dylib 0x00007fff84ac0a1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff84abfd18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff8ade8fc5 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff8ade85e9 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff8ade7f25 CFRunLoopRunSpecific + 309
5 com.apple.AppKit 0x00007fff8732f16e _NSEventThread + 144
6 libsystem_pthread.dylib 0x00007fff849da899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff849da72a _pthread_start + 137
8 libsystem_pthread.dylib 0x00007fff849defc9 thread_start + 13

Thread 7:: Qt HTTP thread
0 libsystem_kernel.dylib 0x00007fff84ac49aa __select + 10
1 QtCore 0x000000010a6497d3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547
2 QtCore 0x000000010a64a668 QEventDispatcherUNIXPrivate::doSelect(QFlags, timespec*) + 680
3 QtCore 0x000000010a64b4eb QEventDispatcherUNIX::processEvents(QFlags) + 251
4 QtCore 0x000000010a5f864d QEventLoop::exec(QFlags) + 397
5 QtCore 0x000000010a40e6de QThread::exec() + 126
6 QtCore 0x000000010a412392 0x10a3e8000 + 172946
7 libsystem_pthread.dylib 0x00007fff849da899 _pthread_body + 138
8 libsystem_pthread.dylib 0x00007fff849da72a _pthread_start + 137
9 libsystem_pthread.dylib 0x00007fff849defc9 thread_start + 13

Thread 8:: UploadThread
0 libsystem_kernel.dylib 0x00007fff84ac4a3a __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff83847dc0 nanosleep + 200
2 QtCore 0x000000010a4c58bb 0x10a3e8000 + 907451
3 com.yourcompany.SoulseekQt 0x0000000109c1c6fc UploadThread::PerformUpload() + 780
4 com.yourcompany.SoulseekQt 0x0000000109c1c301 UploadThread::run() + 17
5 QtCore 0x000000010a412392 0x10a3e8000 + 172946
6 libsystem_pthread.dylib 0x00007fff849da899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff849da72a _pthread_start + 137
8 libsystem_pthread.dylib 0x00007fff849defc9 thread_start + 13

Thread 9:: UploadThread
0 libsystem_kernel.dylib 0x00007fff84ac4a3a __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff83847dc0 nanosleep + 200
2 QtCore 0x000000010a4c58bb 0x10a3e8000 + 907451
3 com.yourcompany.SoulseekQt 0x0000000109c1c6fc UploadThread::PerformUpload() + 780
4 com.yourcompany.SoulseekQt 0x0000000109c1c301 UploadThread::run() + 17
5 QtCore 0x000000010a412392 0x10a3e8000 + 172946
6 libsystem_pthread.dylib 0x00007fff849da899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff849da72a _pthread_start + 137
8 libsystem_pthread.dylib 0x00007fff849defc9 thread_start + 13

Thread 10:
0 libsystem_kernel.dylib 0x00007fff84ac4e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff849dbf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff849defb9 start_wqthread + 13

Thread 11:
0 libsystem_kernel.dylib 0x00007fff84ac4e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff849dbf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff849defb9 start_wqthread + 13

Thread 12:
0 libsystem_kernel.dylib 0x00007fff84ac4e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff849dbf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff849defb9 start_wqthread + 13

Thread 13:
0 libsystem_kernel.dylib 0x00007fff84ac4e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff849dbf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff849defb9 start_wqthread + 13

Thread 14:
0 libsystem_kernel.dylib 0x00007fff84ac4e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff849dbf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff849defb9 start_wqthread + 13

Thread 15:
0 libsystem_kernel.dylib 0x00007fff84ac4e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff849dbf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff849defb9 start_wqthread + 13

Thread 16:: DownloadThread
0 libsystem_kernel.dylib 0x00007fff84ac49aa __select + 10
1 libsystem_c.dylib 0x00007fff83847be0 pselect$1050 + 183
2 QtCore 0x000000010a649617 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 103
3 QtNetwork 0x000000010aa013e8 0x10a966000 + 635880
4 QtNetwork 0x000000010a9fea6a 0x10a966000 + 625258
5 QtNetwork 0x000000010a9f4de4 QAbstractSocket::waitForReadyRead(int) + 228
6 com.yourcompany.SoulseekQt 0x0000000109c1ee85 DownloadThread::PerformDownload() + 725
7 com.yourcompany.SoulseekQt 0x0000000109c1eab3 DownloadThread::run() + 19
8 QtCore 0x000000010a412392 0x10a3e8000 + 172946
9 libsystem_pthread.dylib 0x00007fff849da899 _pthread_body + 138
10 libsystem_pthread.dylib 0x00007fff849da72a _pthread_start + 137
11 libsystem_pthread.dylib 0x00007fff849defc9 thread_start + 13

Thread 17:: DownloadThread
0 libsystem_kernel.dylib 0x00007fff84ac49aa __select + 10
1 libsystem_c.dylib 0x00007fff83847be0 pselect$1050 + 183
2 QtCore 0x000000010a649617 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 103
3 QtNetwork 0x000000010aa013e8 0x10a966000 + 635880
4 QtNetwork 0x000000010a9fea6a 0x10a966000 + 625258
5 QtNetwork 0x000000010a9f4de4 QAbstractSocket::waitForReadyRead(int) + 228
6 com.yourcompany.SoulseekQt 0x0000000109c1ee85 DownloadThread::PerformDownload() + 725
7 com.yourcompany.SoulseekQt 0x0000000109c1eab3 DownloadThread::run() + 19
8 QtCore 0x000000010a412392 0x10a3e8000 + 172946
9 libsystem_pthread.dylib 0x00007fff849da899 _pthread_body + 138
10 libsystem_pthread.dylib 0x00007fff849da72a _pthread_start + 137
11 libsystem_pthread.dylib 0x00007fff849defc9 thread_start + 13

Thread 18:: DownloadThread
0 libsystem_kernel.dylib 0x00007fff84ac49aa __select + 10
1 libsystem_c.dylib 0x00007fff83847be0 pselect$1050 + 183
2 QtCore 0x000000010a649617 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 103
3 QtNetwork 0x000000010aa013e8 0x10a966000 + 635880
4 QtNetwork 0x000000010a9fea6a 0x10a966000 + 625258
5 QtNetwork 0x000000010a9f4de4 QAbstractSocket::waitForReadyRead(int) + 228
6 com.yourcompany.SoulseekQt 0x0000000109c1ee85 DownloadThread::PerformDownload() + 725
7 com.yourcompany.SoulseekQt 0x0000000109c1eab3 DownloadThread::run() + 19
8 QtCore 0x000000010a412392 0x10a3e8000 + 172946
9 libsystem_pthread.dylib 0x00007fff849da899 _pthread_body + 138
10 libsystem_pthread.dylib 0x00007fff849da72a _pthread_start + 137
11 libsystem_pthread.dylib 0x00007fff849defc9 thread_start + 13

Thread 19:
0 libsystem_kernel.dylib 0x00007fff84ac4e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff849dbf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff849defb9 start_wqthread + 13

Thread 20:: DownloadThread
0 libsystem_kernel.dylib 0x00007fff84ac49aa __select + 10
1 libsystem_c.dylib 0x00007fff83847be0 pselect$1050 + 183
2 QtCore 0x000000010a649617 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 103
3 QtNetwork 0x000000010aa013e8 0x10a966000 + 635880
4 QtNetwork 0x000000010a9fea6a 0x10a966000 + 625258
5 QtNetwork 0x000000010a9f4de4 QAbstractSocket::waitForReadyRead(int) + 228
6 com.yourcompany.SoulseekQt 0x0000000109c1ee85 DownloadThread::PerformDownload() + 725
7 com.yourcompany.SoulseekQt 0x0000000109c1eab3 DownloadThread::run() + 19
8 QtCore 0x000000010a412392 0x10a3e8000 + 172946
9 libsystem_pthread.dylib 0x00007fff849da899 _pthread_body + 138
10 libsystem_pthread.dylib 0x00007fff849da72a _pthread_start + 137
11 libsystem_pthread.dylib 0x00007fff849defc9 thread_start + 13

Thread 21 Crashed:: DownloadThread
0 QtNetwork 0x000000010a9e60a4 0x10a966000 + 524452
1 QtNetwork 0x000000010a9fea7e 0x10a966000 + 625278
2 QtNetwork 0x000000010a9f4de4 QAbstractSocket::waitForReadyRead(int) + 228
3 com.yourcompany.SoulseekQt 0x0000000109c1ee85 DownloadThread::PerformDownload() + 725
4 com.yourcompany.SoulseekQt 0x0000000109c1eab3 DownloadThread::run() + 19
5 QtCore 0x000000010a412392 0x10a3e8000 + 172946
6 libsystem_pthread.dylib 0x00007fff849da899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff849da72a _pthread_start + 137
8 libsystem_pthread.dylib 0x00007fff849defc9 thread_start + 13

Thread 21 crashed with X86 Thread State (64-bit):
rax: 0x00000000ffffffff rbx: 0x00006080005aafe0 rcx: 0x000000010b14b050 rdx: 0x000000010b148b20
rdi: 0x0000688000601bc0 rsi: 0x000000010b148ba0 rbp: 0x000000010b148c40 rsp: 0x000000010b148c40
r8: 0x000000010b148a60 r9: 0x0000000000000000 r10: 0x000000010b148b20 r11: 0x0000000000000072
r12: 0x0000000000000001 r13: 0x000000010b148cff r14: 0x0000688000601bc0 r15: 0x00000000ffffffff
rip: 0x000000010a9e60a4 rfl: 0x0000000000010286 cr2: 0x0000688000601bc8

Which build is the crash report for?