[GD-Windows] RE: [Algorithms] Finding driver faults
Brought to you by:
vexxed72
From: Jon W. <hp...@mi...> - 2002-10-21 05:29:19
|
I'm moving this to gamedevlists-windows (if you're not there, then please subscribe) If it's Windows XP, you can configure the machine to write a minidump, which you can have them mail to you. Then open that minidump using "Open Minidump" in the WinDbg debugger; open the symbol file for the version of the app that they're running, and start looking up the recorded stack to find an address inside where your app was loaded -- that's your return address, most likely. Do a "kv" from there (or similar). If you can connect WinDbg using FireWire (also requires WinXP) and boot the client machine with debugging mode turned on, that will let you catch the problem in the act and debug while it's there. The nice thing is it doesn't require installing any debugger anything on the target machine! If you're on Win2k, WinDbg still works, but usually is run with serial cables (SLOOOOOOOOOW) and can't do minidumps. If you're on 16-bit Windows, there's RTERM and DEBUGGER.EXE for cross-debugging kernel mode, but it's really quite primitive tools and they're really hard to set up and use. I've found one (1) bug in our app that way. (of course, I wouldn't have found it at all any other way, so I guess it's still a good thing) Cheers, / h+ > -----Original Message----- > From: gda...@li... > [mailto:gda...@li...]On Behalf Of Phil > Scadden > Sent: Sunday, October 20, 2002 12:44 PM > To: gda...@li... > Subject: [Algorithms] Finding driver faults > > > Having hassle with rare but annoying crashes on an nVidea driver. > > Access violation at address 01775844 in module 'nvoglnt.dll' > Write of address 00000000 > > Only on client machines, never in office. What I would like to > know is what > the call sequence in my code is that triggers the error to see if there is > a possibility for a workaround. Cant give nVidea any meaningful > information > without it. Anyone got ideas on how to trace such an error? > > > ---------------------------------------------------------- > Phil Scadden, Institute of Geological and Nuclear Sciences > 41 Bell Rd South, PO Box 30368, Lower Hutt, New Zealand > Ph +64 4 5704821, fax +64 4 5704603 > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > Access Your PC Securely with GoToMyPC. Try Free Now > https://www.gotomypc.com/s/OSND/DD > _______________________________________________ > GDAlgorithms-list mailing list > GDA...@li... > https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=6188 > |