I was debugging a crash in NT4 with service pack 6a. And found that my
symbol file seems to be missing information on some functions but not
all. The function WritePacket is in the same file as previous and later
functions. The WritePacket or CopyDataToBab functions are not defined
static etc. The only other anomaly is CopyDataToBab is not called
recursively. During symbol load it indicates a partial symbols load.
I tried windbg 6.0.17 and 6.1.9 with the same results.
I question is why am I only getting partial symbols?
Debug Output is below, of the symbol load, a kv and the stack window.
Thanks,
Ken
DBGHELP: c:\dev\MyDriver.sys - OK
DBGENG: Partial symbol load found image c:\dev\MyDriver.sys.
DBGHELP: MyDriver - cv symbols loaded from MyDriver.sys
kd> .cxr fffffffffc435bc8 ; kb
eax=00002000 ebx=00000000 ecx=000004cf edx=00000000 esi=80796cc4
edi=00081000
eip=8013a23e esp=fc435e54 ebp=fc435e5c iopl=0 nv up ei pl nz na po nc
cs=0008 ss=0010 ds=0023 es=0023 fs=0030 gs=0000 efl=00010206
nt!memmove+2e:
8013a23e f3a5 rep movsd ds:80796cc4=00000000 es:00081000=???
*** Stack trace for last set context - .thread/.cxr resets it
ChildEBP RetAddr Args to Child
fc435e5c fc2080a0 0008033c 80796000 00002000 nt!memmove+0x2e
fc435e5c fc2080a0 0008033c 80796000 00002000 MyDriver!CopyDataToBab+0x68
fc435e84 fc21f456 8088c2a8 00002000 80796000 MyDriver!CopyDataToBab+0x68
fc435f00 fc21fd17 8088c2a8 80796000 00002000 MyDriver!LogWrite+0x176
[C:\DEV\app\SRC\Kernel\log.c @ 868]
fc435f24 fc220179 8088c2a8 80798928 00000000 MyDriver!WritePacket+0xa7
fc435f4c 801375f8 8088c2a8 00000000 00000000 MyDriver!WriteThread+0x2e9
[C:\DEV\app\SRC\Kernel\log.c @ 1187]
fc435f7c 801428f6 fc21fe90 8088c2a8 00000000
nt!PspSystemThreadStartup+0x54
00000000 00000000 00000000 00000000 00000000 nt!KiThreadStartup+0x16
---------STACK WINDOW------------------
ChildEBP RetAddr Args to Child
fc435e5c fc2080a0 0008033c 80796000 00002000 nt!memmove+0x2e (FPO:
[3,0,2])
fc435e5c fc2080a0 0008033c 80796000 00002000 MyDriver!CopyDataToBab+0x68
(FPO: [Non-Fpo])
fc435e84 fc21f456 8088c2a8 00002000 80796000 MyDriver!CopyDataToBab+0x68
(FPO: [Non-Fpo])
fc435f00 fc21fd17 8088c2a8 80796000 00002000 MyDriver!LogWrite+0x176
(FPO: [Non-Fpo]) [C:\DEV\app\SRC\Kernel\log.c @ 868]
fc435f24 fc220179 8088c2a8 80798928 00000000 MyDriver!WritePacket+0xa7
(FPO: [Non-Fpo])
fc435f4c 801375f8 8088c2a8 00000000 00000000 MyDriver!WriteThread+0x2e9
(FPO: [Non-Fpo]) [C:\DEV\app\SRC\Kernel\log.c @ 1187]
fc435f7c 801428f6 fc21fe90 8088c2a8 00000000
nt!PspSystemThreadStartup+0x54 (FPO: [Non-Fpo])
00000000 00000000 00000000 00000000 00000000 nt!KiThreadStartup+0x16