Hello XP crashers....
OK, time to do a little Windows crash dump debugging....
For those Windows XP users who have a semi-repeatable crash scenario, we can get some useful information regarding the stat of the sytem at crash time by doing the following.
Procedure:
0. Download a special debug version of opencpn.exe
http://opencpn.de/sites/default/file...mp/opencpn.exe
hosting provided by Gunther (Netsurfer) Thanks.
1. Verify that drwtsn32.exe is available.
Description of the Dr. Watson for Windows (Drwtsn32.exe) Tool
2. Configure drwtsn32.exe Start->Run drwtsn32
Set "Crash Dump Type" to "Full"
Take note of "Crash Dump" text entry box. This is where the crash dump will be stored. We need that later.
Also note that drwtsn32 is sticky, and will automatically be loaded at each reboot, providing a "just in time" debugger to catch application faults of many types. Non-intrusive otherwise.
3. Run OpenCPN, make it crash. Say "OK" to all crash report dialogs, except "Don't Send" to Microsoft
4. Get windbg.exe from Microsoft
Debugging Tools for Windows 32-bit Version.
5. Run windbg
File->Open Crash Dump
Navigate to the crash dump save location recorded in Step 2 above, and open the dump file, generally called "user.dmp"
Churn, churn.... ignore warnings.
When able, do Windbg menu View->Call Stack
If you have downloaded the opencpn source files from sourceforge git repository, we can get even more information.
in Windbg, Set File->SourceFilePath to the ....\src directory of the opencpn source code tree.
You will see a bit of an OpenCPN source code file, with crash location highlighted. This is what we need to know.
6. Take a screenshot.
7. Post here, or send to me.
Thanks for the extra effort
Dave