[win32/w2k] Annoying issue with wxPrintDialog, app crashes.

jmf jfauth at bluewin.ch
Mon Apr 23 08:07:35 PDT 2007


j> I was about to release an application, when I realized in last minutes
j> tests, wxPrintDialog could crash the application.

  Without being able to reproduce this myself (it definitely doesn't crash
on my system) I can't really do anything but to ask you to build debugging
version of wxWidgets and run the application under (real, i.e. not Python)
debugger and send us the backtrace of the crash. Without this information I
really have no idea what's going on.

----

Thanks for the reply. Unfortunatelly, this is beyond my skills and
I understand your point of view. I posted this message with the
hope, I was not the only guy suffering from this issue.
The only thing I can report is the generated drwatson.log file (see below
and sorry for its length).

I'm not a computer scientist, just a Python/wxPython user/developer.

I too have no ideas from where this may come. I only know
this happens on my daughter's computer too (w2k+sp4), and the
.chm viewer, which is also using the same type of print dialog
does not suffer from this.

Jean-Michel Fauth, Switzerland

 >>> drwtsn32.log <<<

Microsoft (R) Windows 2000 (TM) Version 5.00 DrWtsn32
Copyright (C) 1985-1999 Microsoft Corp. Tous droits réservés.



Une exception d'application s'est produite :
         App :  (pid=620)
         Lorsque : 23/04/2007 @ 16:58:27.874
         Numéro d'exception : c0000005 (violation d'accès)

*----> Informations système <----*
         Nom ordinateur : MOI
         Nom utilisateur : jmf
         Nombre de processeurs : 1
         Type de processeur : x86 Family 6 Model 7 Stepping 3
         Version Windows 2000 : 5.0
         Numéro actuel : 2195
         Service Pack : 4
         Type actuel : Uniprocessor Free
         Organisation enregistrée :
         Propriétaire enregistré : jmf

*----> Liste des tâches <----*
    0 Idle.exe
    8 System.exe
  112 smss.exe
  140 csrss.exe
  136 winlogon.exe
  188 services.exe
  200 lsass.exe
  384 svchost.exe
  408 spoolsv.exe
  440 svchost.exe
  520 MSTask.exe
  548 stisvc.exe
  608 WinMgmt.exe
  616 WLService.exe
  632 svchost.exe
  640 WMP54Gv4.exe
  812 Explorer.exe
  840 MotiveSB.exe
1004 Atiptaaa.exe
1012 ClamTray.exe
1020 internat.exe
1048 mpbtn.exe
1088 SBHookSvc.exe
1100 firefox.exe
  816 thunderbird.exe
  620 python.exe
  880 drwtsn32.exe
    0 _Total.exe

(1D000000 - 1D009000)
(78460000 - 784E1000)
(1E000000 - 1E207000)
(77E70000 - 77F34000)
(77E00000 - 77E65000)
(77F40000 - 77F7C000)
(78ED0000 - 78F32000)
(770C0000 - 77131000)
(77580000 - 777CF000)
(70BD0000 - 70C35000)
(78000000 - 78045000)
(71710000 - 71794000)
(7C340000 - 7C396000)
(10000000 - 100E4000)
(00B60000 - 00C8E000)
(77A40000 - 77B37000)
(7C3A0000 - 7C41B000)
(00C90000 - 00CB0000)
(74FD0000 - 74FD9000)
(74FB0000 - 74FC4000)
(74FA0000 - 74FA8000)
(00CB0000 - 00FB7000)
(7A090000 - 7A230000)
(76B00000 - 76B3E000)
(779A0000 - 77A3B000)
(00FC0000 - 0106C000)
(77540000 - 77571000)
(01910000 - 019BF000)
(019C0000 - 01A5E000)
(01A60000 - 01AD4000)
(01AE0000 - 01BBF000)
(01BC0000 - 01C61000)
(02470000 - 02490000)
(6E350000 - 6E356000)
(75E00000 - 75E1A000)
(777F0000 - 7780E000)
(793C0000 - 793D1000)
(76EF0000 - 76F13000)
(752E0000 - 75344000)
(77810000 - 77817000)
(75950000 - 75956000)
(77380000 - 773B0000)
(77350000 - 77373000)
(750F0000 - 7513F000)
(78FB0000 - 78FBF000)
(75140000 - 75146000)
(750D0000 - 750DF000)
(77940000 - 7796B000)
(77970000 - 77994000)
(6B5B0000 - 6B5C3000)
(77080000 - 77087000)
(783C0000 - 78451000)
(78D20000 - 78D83000)
(731F0000 - 73228000)
(6B0E0000 - 6B0E5000)
(72C60000 - 72CE6000)
(77840000 - 77880000)
(77090000 - 770B3000)
(71160000 - 7125D000)

État de vidage Thread Id 0x3e8

eax=000c8001 ebx=0021cd50 ecx=0021cd78 edx=004a1701 esi=00938548 edi=0021cd50
eip=00d96af9 esp=0021ccec ebp=00938548 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000202


fonction : wxWindowBase::FindFocus
         00d96af0 e84b90f6ff       call    wxWindowBase::DoFindFocus (00cffb40)
         00d96af5 85c0             test    eax,eax
         00d96af7 740a             jz      wxPostScriptDC::SetPen+0x2d3 (00d9f603)
FAUTE ->00d96af9 8b10             mov     edx,[eax] 
ds:000c8001=????????
         00d96afb 8bc8             mov     ecx,eax
         00d96afd ffa2f0010000     jmp     dword ptr [edx+0x1f0] 
ds:004a18f1=13ffffff
         00d96b03 33c0             xor     eax,eax
         00d96b05 c3               ret
         00d96b06 cc               int     3
         00d96b07 cc               int     3
         00d96b08 cc               int     3
         00d96b09 cc               int     3
         00d96b0a cc               int     3
         00d96b0b cc               int     3
         00d96b0c cc               int     3

*----> Parcours arrière de la pile <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
00938548 00000000 00000000 00000000 01825DA8 00000000 !wxWindowBase::FindFocus

*----> Vidage brut de la pile <----*
0021ccec  5e 4c cf 00 ff ff ff ff - 50 cd 21 00 70 21 be 00  ^L......P.!.p!..
0021ccfc  50 cd 21 00 00 00 00 00 - 30 91 c8 01 c1 27 be 00  P.!.....0....'..
0021cd0c  74 92 f6 00 48 85 93 00 - 50 cd 21 00 01 00 00 00  t...H...P.!.....
0021cd1c  50 cd 21 00 ff ff ff ff - 48 85 93 00 7d 28 be 00  P.!.....H...}(..
0021cd2c  01 00 00 00 48 85 93 00 - 92 02 01 00 48 85 93 00  ....H.......H...
0021cd3c  01 00 00 00 51 a0 cf 00 - 50 cd 21 00 48 85 93 00  ....Q...P.!.H...
0021cd4c  06 00 00 00 78 57 e2 00 - 00 00 00 00 48 85 93 00  ....xW......H...
0021cd5c  67 27 00 00 00 00 00 00 - 37 ff ff ff 00 00 00 00  g'......7.......
0021cd6c  00 00 00 00 00 00 cf 00 - 01 02 02 00 10 cf 21 00  ..............!.
0021cd7c  38 bb e0 00 00 00 00 00 - 0d 14 d0 00 01 00 00 00  8...............
0021cd8c  00 85 93 00 92 02 01 00 - 01 00 00 00 48 85 93 00  ............H...
0021cd9c  92 02 01 00 06 00 00 00 - 00 00 00 00 00 00 00 00  ................
0021cdac  14 cf 21 00 d0 cd 21 00 - 87 64 e0 77 cd 7f e0 77  ..!...!..d.w...w
0021cdbc  92 02 01 00 47 00 00 00 - 00 00 00 00 c4 cf 21 00  ....G.........!.
0021cdcc  00 00 00 00 ec cd 21 00 - f0 21 75 71 cd 7f e0 77  ......!..!uq...w
0021cddc  92 02 01 00 47 00 00 00 - 00 00 00 00 c4 cf 21 00  ....G.........!.
0021cdec  48 ce 21 00 6f 27 75 71 - 92 02 01 00 47 00 00 00  H.!.o'uq....G...
0021cdfc  00 00 00 00 c4 cf 21 00 - 9b 27 75 71 14 cf 21 00  ......!..'uq..!.
0021ce0c  00 00 00 00 98 9b 24 00 - 20 20 40 01 00 00 00 00  ......$.  @.....
0021ce1c  d8 21 75 71 00 00 00 00 - cd 7f e0 77 14 cf 21 00  .!uq.......w..!.

État de vidage Thread Id 0x394

eax=770cdcf3 ebx=002346c8 ecx=00000001 edx=00000000 esi=00234580 edi=00000100
eip=784639c7 esp=0274fe28 ebp=0274ff74 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000202


fonction : NtReplyWaitReceivePortEx
         784639bc b8ac000000       mov     eax,0xac
         784639c1 8d542404         lea     edx,[esp+0x4] 
ss:03209d0f=????????
         784639c5 cd2e             int     2e
         784639c7 c21400           ret     0x14
         784639ca 8b4710           mov     eax,[edi+0x10] 
ds:00ab9fe6=00000000
         784639cd 8b483c           mov     ecx,[eax+0x3c] 
ds:77b87bd9=????????
         784639d0 f6400801         test    byte ptr [eax+0x8],0x1 
ds:77b87bd9=??
         784639d4 7502             jnz     RtlCreateProcessParameters+0xd (78463cd8)
         784639d6 03c8             add     ecx,eax
         784639d8 894de4           mov     [ebp+0xe4],ecx 
ss:03209e5a=????????
         784639db 8b4710           mov     eax,[edi+0x10] 
ds:00ab9fe6=00000000
         784639de 668b4038         mov     ax,[eax+0x38] 
ds:77b87bda=????
         784639e2 668945e0         mov     [ebp+0xe0],ax 
ss:03209e5b=????
         784639e6 668945e2         mov     [ebp+0xe2],ax 
ss:03209e5b=????
         784639ea 53               push    ebx

*----> Parcours arrière de la pile <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
0274FF74 770CD9DB 770CDD59 00234580 402340C8 00000070 
ntdll!NtReplyWaitReceivePortEx
0274FFA8 770CDD0B 00233488 0274FFEC 77E7987C 002346C8 rpcrt4!RpcBindingSetOption
0274FFB4 77E7987C 002346C8 402340C8 00000070 002346C8 rpcrt4!RpcBindingSetOption
0274FFEC 00000000 00000000 00000000 00000000 00000000 
kernel32!SetThreadExecutionState

État de vidage Thread Id 0x404

eax=77a7e915 ebx=00000102 ecx=00220178 edx=00000000 esi=78469153 edi=0293ff74
eip=7846915e esp=0293ff60 ebp=0293ff7c iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000206


fonction : ZwDelayExecution
         78469153 b832000000       mov     eax,0x32
         78469158 8d542404         lea     edx,[esp+0x4] 
ss:033f9e47=????????
         7846915c cd2e             int     2e
         7846915e c20800           ret     0x8

*----> Parcours arrière de la pile <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
0293FF7C 77E8AC79 0000EA60 00000000 77A50216 0000EA60 ntdll!ZwDelayExecution
00007530 00000000 00000000 00000000 00000000 00000000 kernel32!Sleep

État de vidage Thread Id 0x1a4

eax=752fb6dc ebx=752fb54b ecx=000c000b edx=00000000 esi=02b2fd70 edi=77e02f5f
eip=77e02f5c esp=02b2fd38 ebp=02b2fd50 iopl=0         nv up ei pl zr na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000246


fonction : TranslateMessageEx
         77e02f3a 0f8540d80200     jne     UnregisterHotKey+0xe89 (77e30780)
         77e02f40 33c0             xor     eax,eax
         77e02f42 c20800           ret     0x8
         77e02f45 ff742408         push    dword ptr [esp+0x8] 
ss:035e9c1f=????????
         77e02f49 51               push    ecx
         77e02f4a e8ce1e0000       call    GetKeyState+0x9b (77e04e1d)
         77e02f4f ebf1             jmp     DrawStateA+0x6e6 (77e0e842)
         77e02f51 b89a110000       mov     eax,0x119a
         77e02f56 8d542404         lea     edx,[esp+0x4] 
ss:035e9c1f=????????
         77e02f5a cd2e             int     2e
         77e02f5c c21000           ret     0x10

*----> Parcours arrière de la pile <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
02B2FD50 752FB5A0 02B2FD70 00000000 00000000 00000000 user32!TranslateMessageEx
02B2FD8C 752FB73B 024E2820 00000001 752E02F8 00836228 printui!vQueueCreate
02B2FFB4 77E7987C 00836228 00000001 752E02F8 00836228 printui!vQueueCreate
02B2FFEC 00000000 00000000 00000000 00000000 00000000 
kernel32!SetThreadExecutionState

État de vidage Thread Id 0x314

eax=752fb6dc ebx=00000003 ecx=78d20260 edx=00000000 esi=78473233 edi=00000003
eip=7847323e esp=02d1fcf4 ebp=02d1fd40 iopl=0         nv up ei pl zr na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000246


fonction : NtWaitForMultipleObjects
         78473233 b8e9000000       mov     eax,0xe9
         78473238 8d542404         lea     edx,[esp+0x4] 
ss:037d9bdb=????????
         7847323c cd2e             int     2e
         7847323e c21400           ret     0x14

*----> Parcours arrière de la pile <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
02D1FD40 77E8ABFB 02D1FD18 00000001 00000000 00000000 
ntdll!NtWaitForMultipleObjects
024E28A0 63666572 00000002 7966746E 63737263 0022DF88 
kernel32!WaitForMultipleObjects
752E3880 7530FFEA 7530FFF5 75310015 752FBE0B 00640069 <nosymbols>
752FBBB1 00000263 082444F6 56067401 014374E8 5EC68B00 printui!<nosymbols>

*----> Vidage brut de la pile <----*
02d1fcf4  d7 bd e7 77 03 00 00 00 - 18 fd d1 02 01 00 00 00  ...w............
02d1fd04  00 00 00 00 00 00 00 00 - 00 00 00 00 02 00 00 00  ................
02d1fd14  50 62 83 00 ac 01 00 00 - a0 01 00 00 bc 01 00 00  Pb..............
02d1fd24  ac fc d1 02 01 01 00 00 - c2 c4 e8 77 ac 01 00 00  ...........w....
02d1fd34  00 00 00 00 00 00 00 00 - 00 00 00 00 a0 28 4e 02  .............(N.
02d1fd44  fb ab e8 77 18 fd d1 02 - 01 00 00 00 00 00 00 00  ...w............
02d1fd54  00 00 00 00 00 00 00 00 - c8 bf 2f 75 03 00 00 00  ........../u....
02d1fd64  64 62 83 00 00 00 00 00 - ff ff ff ff 50 62 83 00  db..........Pb..
02d1fd74  28 62 83 00 b4 ff d1 02 - 98 bf 2f 75 ff ff ff ff  (b......../u....
02d1fd84  02 00 00 00 03 00 00 00 - 28 62 83 00 3b b7 2f 75  ........(b..;./u
02d1fd94  a0 28 4e 02 00 00 00 00 - 0a 00 0b 00 28 62 83 00  .(N.........(b..
02d1fda4  43 00 3a 00 5c 00 57 00 - 49 00 4e 00 44 00 4f 00  C.:.\.W.I.N.D.O.
02d1fdb4  57 00 53 00 5c 00 73 00 - 79 00 73 00 74 00 65 00  W.S.\.s.y.s.t.e.
02d1fdc4  6d 00 33 00 32 00 5c 00 - 70 00 72 00 69 00 6e 00  m.3.2.\.p.r.i.n.
02d1fdd4  74 00 75 00 69 00 2e 00 - 64 00 6c 00 6c 00 00 00  t.u.i...d.l.l...
02d1fde4  00 00 00 00 24 98 e7 77 - 1b 00 00 00 00 02 00 00  ....$..w........
02d1fdf4  fc ff d1 02 23 00 00 00 - 7a 0d 45 80 04 00 00 00  ....#...z.E.....
02d1fe04  08 df 31 81 24 4f 4a 80 - ac 5c 30 b9 c0 f6 b2 02  ..1.$OJ..\0.....
02d1fe14  93 70 49 80 b1 39 0d 00 - 00 00 00 00 00 00 00 00  .pI..9..........
02d1fe24  01 00 00 00 80 00 00 00 - 00 00 00 00 80 00 00 00  ................

État de vidage Thread Id 0x318

eax=0329debc ebx=00000002 ecx=03110220 edx=00000000 esi=78473233 edi=00000002
eip=7847323e esp=02f1fe5c ebp=02f1fea8 iopl=0         nv up ei pl zr na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000246


fonction : NtWaitForMultipleObjects
         78473233 b8e9000000       mov     eax,0xe9
         78473238 8d542404         lea     edx,[esp+0x4] 
ss:039d9d43=????????
         7847323c cd2e             int     2e
         7847323e c21400           ret     0x14

*----> Parcours arrière de la pile <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
02F1FEA8 77E03990 02F1FE80 00000001 00000000 02F1FEA0 
ntdll!NtWaitForMultipleObjects
02F1FF04 77E03A5C 02F1FED0 70C2BB38 0000EA60 00000041 
user32!MsgWaitForMultipleObjectsEx
02F1FF20 70C1A793 00000001 70C2BB38 00000000 0000EA60 
user32!MsgWaitForMultipleObjects
02F1FF74 70C1AB1B 02F1FFA0 02F1FFA4 02F1FFA8 02F1FF9C !Ordinal265
02F1FFAC 70C1ACDF 00224C28 77E7987C 00000000 0024A670 !Ordinal293
02F1FFEC 00000000 00000000 00000000 00000000 00000000 !Ordinal293

État de vidage Thread Id 0x31c

eax=032e0b1c ebx=00000002 ecx=03110220 edx=00000000 esi=78473233 edi=00000002
eip=7847323e esp=0310fe5c ebp=0310fea8 iopl=0         nv up ei pl zr na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000246


fonction : NtWaitForMultipleObjects
         78473233 b8e9000000       mov     eax,0xe9
         78473238 8d542404         lea     edx,[esp+0x4] 
ss:03bc9d43=????????
         7847323c cd2e             int     2e
         7847323e c21400           ret     0x14

*----> Parcours arrière de la pile <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
0310FEA8 77E03990 0310FE80 00000001 00000000 0310FEA0 
ntdll!NtWaitForMultipleObjects
0310FF04 77E03A5C 0310FED0 70C2BB38 0000EA60 00000041 
user32!MsgWaitForMultipleObjectsEx
0310FF20 70C1A793 00000001 70C2BB38 00000000 0000EA60 
user32!MsgWaitForMultipleObjects
0310FF74 70C1AB1B 0310FFA0 0310FFA4 0310FFA8 0310FF9C !Ordinal265
0310FFAC 70C1ACDF 00224C28 77E7987C 00000000 0024A958 !Ordinal293
0310FFEC 00000000 70C1ACAF 00000000 00000000 00000000 !Ordinal293

*----> Vidage brut de la pile <----*
0310fe5c  d7 bd e7 77 02 00 00 00 - 80 fe 10 03 01 00 00 00  ...w............
0310fe6c  00 00 00 00 a0 fe 10 03 - 00 00 00 00 00 00 00 00  ................
0310fe7c  02 00 00 00 d0 01 00 00 - e0 01 00 00 cc fe 10 03  ................
0310fe8c  31 b1 46 78 00 00 00 00 - cc fe 10 03 51 b1 46 78  1.Fx........Q.Fx
0310fe9c  98 29 22 00 00 ba 3c dc - ff ff ff ff 04 ff 10 03  .)"...<.........
0310feac  90 39 e0 77 80 fe 10 03 - 01 00 00 00 00 00 00 00  .9.w............
0310febc  a0 fe 10 03 00 00 00 00 - 60 ea 00 00 18 bb c2 70  ........`......p
0310fecc  00 00 00 00 d0 01 00 00 - e0 01 00 00 99 b7 46 78  ..............Fx
0310fedc  58 a9 24 00 18 bb c2 70 - 00 00 16 71 00 00 00 00  X.$....p...q....
0310feec  00 80 fd 7f 00 aa 24 00 - 00 00 00 00 cc 86 fd 7f  ......$.........
0310fefc  00 00 00 00 e0 01 00 00 - 20 ff 10 03 5c 3a e0 77  ........ ...\:.w
0310ff0c  d0 fe 10 03 38 bb c2 70 - 60 ea 00 00 41 00 00 00  ....8..p`...A...
0310ff1c  00 00 00 00 74 ff 10 03 - 93 a7 c1 70 01 00 00 00  ....t......p....
0310ff2c  38 bb c2 70 00 00 00 00 - 60 ea 00 00 41 00 00 00  8..p....`...A...
0310ff3c  58 a9 24 00 18 bb c2 70 - 00 00 00 00 48 ff 10 03  X.$....p....H...
0310ff4c  48 ff 10 03 30 1f 22 00 - 16 00 18 00 00 f0 fd 7f  H...0.".........
0310ff5c  dc fe 10 03 01 00 00 00 - 4b 5b 67 00 18 bb c2 70  ........K[g....p
0310ff6c  60 ea 00 00 01 00 00 00 - ac ff 10 03 1b ab c1 70  `..............p
0310ff7c  a0 ff 10 03 a4 ff 10 03 - a8 ff 10 03 9c ff 10 03  ................
0310ff8c  60 ea 00 00 58 a9 24 00 - 00 00 bd 70 00 00 00 00  `...X.$....p....







More information about the wx-users mailing list