Re: Bugcode Parameters

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

nospam_at_cristalink.com
Date: 09/08/04


Date: Wed, 8 Sep 2004 15:34:26 +1200


"Bob" <nobody@nowhere.nohow> wrote in message
news:413e707d.15906356@news.compuserve.com...
> On Wed, 8 Sep 2004 10:51:50 +1200, <nospam@cristalink.com> wrote:
>
> First, thank you for the earlier suggestion. It turned out to be very
> useful once I got it all set up. I use SoftIce, I'm not very familiar
> with WinDbg, but it was indeed quite helpful.
>
>>This means nothing because you have no symbols installed.
>
> Well, your knowledge of WinDbg is certainly better than mine, but I
> have to question whether or not it means "nothing". I've gotten dumps
> from two more machines and all are reporting HIDCLASS+2185 as the
> culprit. The only other possibility I can see is that it's getting an
> address and deciding the it's my HidClass + 2185, but I've certainly
> rebooted and fussed around with it enough that my HidClass will have
> moved. The pointers and addresses in the calls are all different, but
> the addresses stated as HIDCLASS+xxxx or nt+xxxx are the same, and if
> I trace the addresses through the stack dump in SP2 HidClass, I indeed
> end up at HIDCLASS+2140 (the routine that includes +2185) as expected.

Well, if it's your HidClass, then HidClass+2185 is most likely correct, and
the problem is in your HidClass driver. I thought that maybe there's some
Microsoft's HidClass, and I doubted that it could cause the problem. I have
an impression that sometimes, with no symbols available, WinDbg may display
an address as SomeSystemDriver+SomeBigOffset. The resulting value lies well
beyond SomeSystemDriver, in some other driver whose name is not available.

You should compile your drivers with full debug info, even release versions,
and keep .pdb files for each driver you release. All the debug info usually
goes to .pdb, so it's ok in terms of security. If you have a .pdb file for
your driver, you can load it into WinDbg, and the latter will tell you the
source file/line number, not just some obscure offset. If you don't have
.pdb, then you better re-build your driver with .pdb and make it crash
again.

>
>>Set the following environment variable:
>>
>>_NT_SYMBOL_PATH=symsrv*symsrv.dll*C:\WINDOWS\Symbols\localcache*http://msdl.microsoft.com/download/symbols
>
> Yes, thanks. But won't that require an Internet connection to the
> machine that has WinDbg on it? My dialup is only connected to my Win98
> machine. I may move the modem and give it a try, but I've managed to
> find a local machine that will both crash and has a T1 connection,
> more than likely I'll go there where I can make it happen and I'll get
> the symbols at the same time.

If WinDbg already points to your driver, then I don't think you need system
symbols. You need your own ones.

>
> Thanks again for the WinDbg suggestion! It's much appreciated!
>
> - Bob
>



Relevant Pages

  • RE: USB to Serial Port && Kernal BSODs
    ... Kernel Complete Dump File: ... Loading Kernel Symbols ... > normally caused by impropery driver or kernel components. ... After loading this dump file with Windbg, ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Firefly example sends HID related
    ... are you writing the HID miniport driver? ... HIDclass owns the dispatch table and the devobj and it ...
    (microsoft.public.development.device.drivers)
  • Re: Symbols not loaded for DLLs
    ... I tried WinDbg 6.5.3.7 and was able to load symbols and debug the DLL ... The only thing I had to do was set the symbol path to point to my pdb ... Debug Data Dirs: Type Size VA Pointer ...
    (microsoft.public.vc.debugger)
  • Re: blue screen
    ... what is wrong is to run windbg on the dump file. ... download/install windbg from Microsoft Debugging Tools ... all windows." ... This will display a quick analysis of which driver crashed and the most ...
    (microsoft.public.windowsxp.hardware)
  • RE: Vista SP1 fails to install with BCCode: 1000008e
    ... Tools for Windows ... I did not need that driver anymore. ... There are also two open support requests to the free Vista SP1 support. ... windbg symbol path per the windbg help file. ...
    (microsoft.public.development.device.drivers)