Skip to content

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.

Getting information from a frozen or hung client:

  1. 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)
  2. Launch the installed WinDbg application and press F6 (same as File / Attach to a Process)
  3. Search for AirDC.exe from the list and double-click it (the list can also be filtered)
  4. Type ~* kp on the line that below the Command window (should be focused by default) and press <ENTER>
  5. Wait a few seconds and you will see a lot of text showing up
  6. Press CTRL+A to select everything and then CTRL+C to copy it to the clipboard
  7. 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)
  8. To stop debugging, simple quit WinDbg