h1. Debugging If you're encountering situations where NNTPGrab suddenly disappears and doesn't seem to be running anymore, then you're probably having a _segmentation fault_ which means that the program (or one of the components it's using) tried to do something which isn't allowed. To investigate such _segmentation fault's_ it's recommended to generate a stack trace and send it along your bugreport h2. Windows (32bit) For Windows 32 bits environments, the generation of a stack trace is done automatically whenever a _segmentation fault_ occurs. This stack trace is saved in a file called _nntpgrab_gui.rpt_. Depending on the Windows version you're using this file can be found at the following location: * Windows XP: C:\Program Files\NNTPGrab\bin\nntpgrab_gui.rpt * Windows Vista/7 with UAC enabled (default): C:\Users\your_username\AppData\Local\VirtualStore\Program Files\NNTPGrab\bin * Windows Vista/7 with UAC disabled: C:\Program Files\NNTPGrab\bin\nntpgrab_gui.rpt If the file _nntpgrab_gui.rpt_ cannot be found one in the folders mentioned above, you can try to collect a stack trace manually. For this you need to download the files "gdb.exe":http://ftd4linux.nl/contrib/gdb.exe and "libexpat-1.dll":http://ftd4linux.nl/contrib/libexpat-1.dll and save them to the folder C:\Program Files\NNTPGrab\bin (or C:\Program Files (x86)\NNTPGrab\bin if you're using a 64bit version of Windows). Now open a cmd window and execute the following set of commands:
C:\ cd "Program Files\NNTPGrab\bin" gdb nntpgrab_gui.exe runNNTPGrab should get started now. Now try to reproduce the crash you were having earlier. If you succeed in doing so, the program won't disappear anymore but it will hang. Now switch back to your cmd window and execute the following commands:
thread apply all bt thread apply all bt full info localsYou will see several lines of output (you might get the question to press
C:\ cd "Program Files\NNTPGrab\bin" gdb64 nntpgrab_gui.exe runNNTPGrab should get started now. Now try to reproduce the crash you were having earlier. If you succeed in doing so, the program won't disappear anymore but it will hang. Now switch back to your cmd window and execute the following commands:
thread apply all bt thread apply all bt full info localsYou will see several lines of output (you might get the question to press
gdb nntpgrab_gui runNNTPGrab should get started now. Now try to reproduce the crash you were having earlier. If you succeed in doing so, the program won't disappear anymore but it will hang. Now switch back to your cmd window and execute the following commands:
thread apply all bt thread apply all bt full info localsYou will see several lines of output (you might get the question to press