From ripley@stats.ox.ac.uk  Mon Oct 15 18:55:58 2001
From: ripley@stats.ox.ac.uk (ripley@stats.ox.ac.uk)
Date: Mon, 15 Oct 2001 19:55:58 +0200 (MET DST)
Subject: [Rd] Crash of RGui under Windows 2000 (PR#1131)
Message-ID: <200110151755.TAA13280@pubhealth.ku.dk>

Read the rw-FAQ, especially the section about versions of MSVCRT.dll

On Mon, 15 Oct 2001 dfiaschi@ec.unipi.it wrote:

> Full_Name: Davide Fiaschi
> Version: R 1.3.1 and 1.2.3
> OS: Windows 2000
> Submission from: (NULL) (131.114.67.164)
>
>
> When I try to start RGUI, it generates an error in application and R chashs.
> (NOTE: R worked very well with trial version of Windows 2000!)
>
> Here is the (not very informative form me) Dr Watson's report:
>
> Exception dell'applicazione:
>         App:  (pid=1140)
>         Ora: 15/10/2001 @ 09:39:47.333
>         Numero exception: c0000005 (access violation)
>
> *----> System Information <----*
>         Nome computer: FIASCHI
>         Nome utente: Administrator
>         Numero processori: 1
>         Tipo processore: x86 Family 6 Model 1 Stepping 2
>         Versione di Windows 2000: 5.0
>         Build corrente: 2195
>         Service Pack: 2
>         Tipo corrente: Uniprocessor Free
>         Organizzazione registrata: DSE
>         Proprietario autorizzato: Davide Fiaschi
>
> *----> Elenco Task <----*
>    0 Idle.exe
>    8 System.exe
>  136 SMSS.exe
>  164 CSRSS.exe
>  184 WINLOGON.exe
>  212 SERVICES.exe
>  224 LSASS.exe
>  388 svchost.exe
>  424 SPOOLSV.exe
>  456 svchost.exe
>  480 mgabg.exe
>  512 regsvc.exe
>  552 Smc.exe
>  636 ups.exe
>  648 WinMgmt.exe
>  796 explorer.exe
>  788 pdesk.exe
>  960 internat.exe
>  580 netscp6.exe
>  436 drwtsn32.exe
> 1140 Rgui.exe
>  772 DRWTSN32.exe
>    0 _Total.exe
>
> (00400000 - 00406000)
> (78460000 - 784E0000)
> (00410000 - 005A8000)
> (77DB0000 - 77E0B000)
> (77E80000 - 77F3C000)
> (77D40000 - 77DB0000)
> (71780000 - 7180A000)
> (77F40000 - 77F7C000)
> (77E10000 - 77E74000)
> (76B10000 - 76B4D000)
> (70BD0000 - 70C34000)
> (78000000 - 78046000)
> (77590000 - 777D6000)
> (77820000 - 77827000)
> (75980000 - 75986000)
> (77A50000 - 77B46000)
> (779B0000 - 77A4B000)
> (6E380000 - 6E386000)
> (75E30000 - 75E4A000)
> (10F70000 - 10F83000)
> (72C90000 - 72D15000)
> (77850000 - 7788D000)
> (770A0000 - 770C3000)
>
> Scarico dello stato per l'id del thread 0x268
>
> eax=00003a43 ebx=0022fa20 ecx=00000000 edx=7efefeff esi=00000000 edi=00552e02
> eip=78001d22 esp=0022f740 ebp=0022fe90 iopl=0         nv up ei pl zr na po nc
> cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000246
>
>
> funzione: strcpy
>         78001d05 7416             jz      _threadhandle+0xf4 (7800a71d)
>         78001d07 8a11             mov     dl,[ecx]
> ds:00000000=??
>         78001d09 41               inc     ecx
>         78001d0a 84d2             test    dl,dl
>         78001d0c 0f84ce0d0000     je      strcat+0x9c (78002ae0)
>         78001d12 8817             mov     [edi],dl
> ds:00552e02=00
>         78001d14 47               inc     edi
>         78001d15 f7c103000000     test    ecx,0x3
>         78001d1b 75ea             jnz     assert+0xe8 (7800d807)
>         78001d1d bafffefe7e       mov     edx,0x7efefeff
> FAULT ->78001d22 8b01             mov     eax,[ecx]
> ds:00000000=????????
>         78001d24 03d0             add     edx,eax
>         78001d26 83f0ff           xor     eax,0xff
>         78001d29 33c2             xor     eax,edx
>         78001d2b 8b11             mov     edx,[ecx]
> ds:00000000=????????
>         78001d2d 83c104           add     ecx,0x4
>         78001d30 a900010181       test    eax,0x81010100
>         78001d35 0f856b0d0000     jne     strcat+0x62 (78002aa6)
>         78001d3b 8917             mov     [edi],edx
> ds:00552e02=00000000
>         78001d3d 83c704           add     edi,0x4
>         78001d40 ebdb             jmp     _unDNameEx+0x3738 (7800731d)
>
> *----> Back Trace dello stack <----*
>
> FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
> 0022FE90 004012F6 00000000 00AC38A0 77E8DB7E 00670052 !strcpy
> 0022FEB0 00401237 00000001 00AC38A0 0022FEE0 00401223 !<nosymbols>
> 0022FEE0 004013CD 00400000 00000000 00233123 00000001 !<nosymbols>
> 0022FF60 004011C1 00000001 00AC38A0 00AC29D8 004011A6 !<nosymbols>
> 0022FFA0 00401207 00000002 00000000 8043107B 77E97D05 !<nosymbols>
> 0022FFC0 77E97D08 00670052 00000000 7FFDF000 C0000005 !<nosymbols>
> 0022FFF0 00000000 004011F0 00000000 000000C8 00000100 kernel32!CreateProcessW
>
> *----> Scarico Raw Stack <----*
> 0022f740  52 00 67 00 01 0b 43 00 - 00 2e 55 00 00 00 00 00  R.g...C...U.....
> 0022f750  2d 03 43 00 c1 0a 43 00 - 23 03 43 00 a0 38 ac 00  -.C...C.#.C..8..
> 0022f760  90 fe 22 00 51 0a 43 00 - 23 31 23 00 00 00 00 00  ..".Q.C.#1#.....
> 0022f770  52 00 67 00 00 00 00 00 - 00 00 00 00 00 00 00 00  R.g.............
> 0022f780  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
> 0022f790  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
> 0022f7a0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
> 0022f7b0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
> 0022f7c0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
> 0022f7d0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
> 0022f7e0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
> 0022f7f0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
> 0022f800  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
> 0022f810  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
> 0022f820  88 51 23 00 00 00 23 00 - 00 01 23 00 5c f8 22 00  .Q#...#...#.\.".
> 0022f830  00 00 00 00 33 29 46 78 - 00 00 23 00 98 30 23 00  ....3)Fx..#..0#.
> 0022f840  00 00 00 00 38 f8 22 00 - 88 06 23 00 ec f8 22 00  ....8."...#...".
> 0022f850  a7 9d 49 78 50 29 46 78 - ff ff ff ff fc f8 22 00  ..IxP)Fx......".
> 0022f860  de b6 4a 78 d8 07 23 00 - a0 30 23 00 00 10 41 00  ..Jx..#..0#...A.
> 0022f870  88 27 23 00 00 00 00 00 - a8 f1 4a 78 ac f8 22 00  .'#.......Jx..".
>
> Scarico dello stato per l'id del thread 0x17c
>
> eax=77d50c62 ebx=00241808 ecx=00241694 edx=00000000 esi=002416d8 edi=00000100
> eip=78462a84 esp=111afe28 ebp=111aff74 iopl=0         nv up ei pl nz na po nc
> cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000206
>
>
> funzione: ZwReplyWaitReceivePortEx
>         78462a79 b8ac000000       mov     eax,0xac
>         78462a7e 8d542404         lea     edx,[esp+0x4]
> ss:11c4d3fb=????????
>         78462a82 cd2e             int     2e
>         78462a84 c21400           ret     0x14
>
> *----> Back Trace dello stack <----*
>
> FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
> 111AFF74 77D50781 77D50D7F 002416D8 00000000 402411D8
> ntdll!ZwReplyWaitReceivePortEx
> 111AFFA8 77D50C7A 00240548 111AFFEC 77E8758A 00241808 rpcrt4!RpcBindingSetOption
>
> 111AFFB4 77E8758A 00241808 00000000 402411D8 00241808 rpcrt4!RpcBindingSetOption
>
> 111AFFEC 00000000 00000000 00000000 00000000 00000000 kernel32!SetFilePointer
>
>
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Crash of RGui under Windows 2000 (PR#1131)
ripley@stats.ox.ac.uk