-
Notifications
You must be signed in to change notification settings - Fork 19
Client hangs (deadlock)
maksis edited this page Sep 11, 2024
·
2 revisions
AirDC++ is a heavily multithreaded application which may sometimes lead to threads blocking each others in, which is also called a deadlock. This is not an actual crash and the client won't generate any log that can be attached to your bug report.
- Download and install the Windows debugger (you can of course do step 1 before AirDC hangs, so you are ready when it happens the next time)
- Launch the installed
WinDbg
application and pressF6
(same asFile
/Attach to a Process
) - Search for
AirDC.exe
from the list and double-click it (the list can also be filtered) - Type
~* kp
on the line that below the Command window (should be focused by default) and press<ENTER>
- Wait a few seconds and you will see a lot of text showing up
- Press
CTRL+A
to select everything and thenCTRL+C
to copy it to the clipboard - Launch Notepad and paste the clipboard with
CTRL+V
and save the file with a suitable name (the output can be really long, so it is recommended that you save it to a file first) - To stop debugging, simple quit WinDbg