Hi
Any help is highly appreciated…
In AMD 64 bit printer driver on Win XP 64 bit beta 1 sp 1, When I print
to file or FILE port from 64 bit application such as notepad works
fine…when printed to file from 32 bit application such as Winword.exe
It crashes the OS with BSOD of bugcheck 0x3b SYSTEM_SERVICE_EXCEPTION…
Works fine when printed to USB port or to a local file port say,
c:\test.prn
The driver passes thru the DrvEscape for the call of Extescape( ),and
later after returning from DrvEnableSurface the crash occurs…
OS Crash happens typically when FILE port is selected for printing…
Debug message from windbg shows the OS crash happens at
ntdll!zwReplyWaitRecievePort+0-x8
Below is the function stack…
ntdll!zwReplyWaitRecievePort+0-x8
splwow64!LPCConnMsgsServingThr-ead+0x96
Kernel32!BaseThreadStart+0x3a
Any more Clues pls…
The following are the Crash dump created. But this shows a different
place of crash…
I tried inserting a breakpoint at DrvStartDoc in my driver but crash
happens much before break…
************************************************************************
*******
*
*
* Bugcheck Analysis
*
*
*
************************************************************************
*******
SYSTEM_SERVICE_EXCEPTION (3b)
Arguments:
Arg1: 00000000c0000005
Arg2: fffff97fff03d9b1
Arg3: fffffadfe23b2060
Arg4: 0000000000000000
2b52f5 : fffffa8000c57d00 00000000
00b05800 0000000000000000 00000000
00000000 : win32k!memcpy+0x120
fffffadfe27bb880 fffff97f
ff2b580d : 0000000003e90040 00000000
00000000 fffffadfe27bb980 fffffa80
00c57d00 :
win32k!UMPDOBJ::bSendLargeBitmap+0x155
fffffadfe27bb950 fffff97f
ff14163b : fffffadfe27bba68 00000000
00000002 fffffa8000000002 fffffa80
0013b020 :
win32k!UMPDDrvStartDoc+0x157
fffffadfe27bba30 fffff97f
ff14143a : 0000000000000001 fffffa80
01fddc50 0000000000000000 00000000
00000074 :
win32k!GreStartDocInternal+0x22f
fffffadfe27bbbb0 fffff800
01041422 : 0000000004210655 fffffadf
00000074 00000000002dcea8 fffffadf
00000002 :
win32k!NtGdiStartDoc+0x365
fffffadfe27bbc70 00000000
78bc7eaa : 0000000078bbc521 00000000
0013e5a0 0000000078bf89dc 00000000
00000002 :
nt!KiSystemServiceCopyEnd+0x3
000000000013e4a8 00000000
78bbc521 : 000000000013e5a0 00000000
78bf89dc 0000000000000002 00000000
002dcdb0 :
wow64win!NtGdiStartDoc+0xa
000000000013e4b0 00000000
78be6866 : 00000000002dcd54 00000000
7efdd000 000000007efdb000 00000000
78bf1860 :
wow64win!whNtGdiStartDoc+0x61
000000000013e510 00000000
78b83c7d : 0000000000000000 00000000
30b40252 0000000000374d78 00000000
00000001 :
wow64!Wow64SystemServiceEx+0xd6
000000000013edd0 00000000
78be6a5a : 000000007efdf000 00000000
00000001 0000000000000000 00000000
7efdf000 :
wow64cpu!ServiceNoTurbo+0x28
000000000013ee60 00000000
78be5e0d : 0000000000000000 00000000
0013f1a0 000000000013fab0 00000000
00000000 :
wow64!RunCpuSimulation+0xa
000000000013ee90 00000000
78ed8501 : 00000000001532f0 00000000
00000000 000000000013fab0 00000000
00000003 :
wow64!Wow64LdrpInitialize+0x2ed
000000000013f6c0 00000000
001532f0 : 0000000000000000 00000000
0013fab0 0000000000000003 00000000
00000001 :
ntdll!LdrpInitializeProcess+0x17d9
000000000013f6c8 00000000
00000000 : 000000000013fab0 00000000
00000003 0000000000000001 00000000
0013f880 : 0x1532f0
000000000013f6d0 00000000
0013fab0 : 0000000000000003 00000000
00000001 000000000013f880 00000000
00000000 : 0x0
000000000013f6d8 00000000
00000003 : 0000000000000001 00000000
0013f880 0000000000000000 00000000
00000000 : 0x13fab0
000000000013f6e0 00000000
00000001 : 000000000013f880 00000000
00000000 0000000000000000 00000000
0208004e : 0x3
000000000013f6e8 00000000
0013f880 : 0000000000000000 00000000
00000000 000000000208004e 00000000
000203f0 : 0x1
000000000013f6f0 00000000
00000000 : 0000000000000000 00000000
0208004e 00000000000203f0 00000000
00000000 : 0x13f880
000000000013f6f8 00000000
00000000 : 000000000208004e 00000000
000203f0 0000000000000000 00000000
00000001 : 0x0
000000000013f700 00000000
0208004e : 00000000000203f0 00000000
00000000 0000000000000001 00000000
00000000 : 0x0
000000000013f708 00000000
000203f0 : 0000000000000000 00000000
00000001 0000000000000000 00000000
00000000 : 0x208004e
000000000013f710 00000000
00000000 : 0000000000000001 00000000
00000000 0000000000000000 00000000
0013fab0 : 0x203f0
000000000013f718 00000000
00000001 : 0000000000000000 00000000
00000000 000000000013fab0 00000000
300000e0 : 0x0
000000000013f720 00000000
00000000 : 0000000000000000 00000000
0013fab0 00000000300000e0 00000000
a0fda885 : 0x1
000000000013f728 00000000
00000000 : 000000000013fab0 00000000
300000e0 00000000a0fda885 00000000
00540052 : 0x0
000000000013f730 00000000
0013fab0 : 00000000300000e0 00000000
a0fda885 0000000000540052 00000000
000207d8 : 0x0
000000000013f738 00000000
300000e0 : 00000000a0fda885 00000000
00540052 00000000000207d8 00000000
00000000 : 0x13fab0
000000000013f740 00000000
a0fda885 : 0000000000540052 00000000
000207d8 0000000000000000 00000000
00000030 : WINWORD+0xe0
000000000013f748 00000000
00540052 : 00000000000207d8 00000000
00000000 0000000000000030 00000000
0000000c : 0xa0fda885
000000000013f750 00000000
000207d8 : 0000000000000000 00000000
00000030 000000000000000c 00000000
78f00120 : 0x540052
000000000013f758 00000000
00000000 : 0000000000000030 00000000
0000000c 0000000078f00120 00000000
00000040 : 0x207d8
000000000013f760 00000000
00000030 : 000000000000000c 00000000
78f00120 0000000000000040 00000000
00000000 : 0x0
000000000013f768 00000000
0000000c : 0000000078f00120 00000000
00000040 0000000000000000 00000000
00000000 : 0x30
000000000013f770 00000000
78f00120 : 0000000000000040 00000000
00000000 0000000000000000 00000000
00540052 : 0xc
000000000013f778 00000000
00000040 : 0000000000000000 00000000
00000000 0000000000540052 00000000
000207d8 :
ntdll!RtlFreeStringRoutine+0x28
000000000013f780 00000000
00000000 : 0000000000000000 00000000
00540052 00000000000207d8 00000000
02080028 : 0x40
000000000013f788 00000000
00000000 : 0000000000540052 00000000
000207d8 0000000002080028 00000000
78fa44f0 : 0x0
000000000013f790 00000000
00540052 : 00000000000207d8 00000000
02080028 0000000078fa44f0 00000000
300000e0 : 0x0
000000000013f798 00000000
000207d8 : 0000000002080028 00000000
78fa44f0 00000000300000e0 00000000
00000014 : 0x540052
000000000013f7a0 00000000
02080028 : 0000000078fa44f0 00000000
300000e0 0000000000000014 00000000
00000000 : 0x207d8
000000000013f7a8 00000000
78fa44f0 : 00000000300000e0 00000000
00000014 0000000000000000 00000000
00000000 : 0x2080028
000000000013f7b0 00000000
300000e0 : 0000000000000014 00000000
00000000 0000000000000000 00000000
000207d8 :
ntdll!_PchSym+0x10
000000000013f7b8 00000000
00000014 : 0000000000000000 00000000
00000000 00000000000207d8 00000000
00000000 : WINWORD+0xe0
Crashes at IMAGE_NAME: win32k.sys
Thanks,
Shiva P