From renaud.lancelot at cirad.fr  Fri Jul  4 15:18:08 2003
From: renaud.lancelot at cirad.fr (renaud.lancelot@cirad.fr)
Date: Fri Jul  4 14:18:10 2003
Subject: [Rd] R crashes when installing package from CRAN (PR#3399)
Message-ID: <200307041218.h64CI8JH006911@pubhealth.ku.dk>

Full_Name: Renaud Lancelot
Version: 1.7.1.
OS: MS Windows XP Pro
Submission from: (NULL) (213.154.92.224)


R crashes when installing package from CRAN (from the menu). The bug seems to be
reproducible, at least on my system:

1. Open R
2. Install package from CRAN: install 1 package
3. Back to R: delete file ("y" at the prompt) and wait till package is fully
installed
4. Go back to the menu "Install package from CRAN" then R crashes

Here are 3 reports generated by DrMingw:

########## 1.

Rgui.exe caused an Access Violation at location 005b9067 in module R.dll Reading
from location 14c1eff0.

Registers:
eax=0518a970 ebx=00c09fd0 ecx=00780000 edx=a2010465 esi=04f678f4 edi=052d607c
eip=005b9067 esp=0022de64 ebp=0022de74 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000202

Call stack:
005B9067  R.dll:005B9067  fillrect
005B5CB0  R.dll:005B5CB0  clear
005BB289  R.dll:005BB289  gprintf
005BB622  R.dll:005BB622  gprintf
005BB839  R.dll:005BB839  app_win_proc@16
77D37AD7  USER32.dll:77D37AD7  SetWindowPlacement
77D3CCD4  USER32.dll:77D3CCD4  DefRawInputProc
77D145BD  USER32.dll:77D145BD  TranslateMessageEx
77D147D4  USER32.dll:77D147D4  DefWindowProcA
77F65DA3  ntdll.dll:77F65DA3  KiUserCallbackDispatcher
005B602F  R.dll:005B602F  show
00477CD5  R.dll:00477CD5  do_selectlist
00509CB4  R.dll:00509CB4  do_internal
004DA9E8  R.dll:004DA9E8  Rf_eval
004DACD5  R.dll:004DACD5  Rf_applyClosure
004DA7F7  R.dll:004DA7F7  Rf_eval
004DA716  R.dll:004DA716  Rf_eval
004DA65E  R.dll:004DA65E  Rf_eval
004DCBBB  R.dll:004DCBBB  Rf_evalList
004DA910  R.dll:004DA910  Rf_eval
004DCBBB  R.dll:004DCBBB  Rf_evalList
004DA910  R.dll:004DA910  Rf_eval
004DB75C  R.dll:004DB75C  do_if
004DA9E8  R.dll:004DA9E8  Rf_eval
004DC0D2  R.dll:004DC0D2  do_begin
004DA9E8  R.dll:004DA9E8  Rf_eval
004DACD5  R.dll:004DACD5  Rf_applyClosure
004DA7F7  R.dll:004DA7F7  Rf_eval
004DC0D2  R.dll:004DC0D2  do_begin
004DA9E8  R.dll:004DA9E8  Rf_eval
004DD315  R.dll:004DD315  do_eval
00509CB4  R.dll:00509CB4  do_internal
004DA9E8  R.dll:004DA9E8  Rf_eval
004DACD5  R.dll:004DACD5  Rf_applyClosure
004DA7F7  R.dll:004DA7F7  Rf_eval
004DD315  R.dll:004DD315  do_eval
00509CB4  R.dll:00509CB4  do_internal
004DA9E8  R.dll:004DA9E8  Rf_eval
004DACD5  R.dll:004DACD5  Rf_applyClosure
004DA7F7  R.dll:004DA7F7  Rf_eval
004DC0D2  R.dll:004DC0D2  do_begin
004DA9E8  R.dll:004DA9E8  Rf_eval
004DACD5  R.dll:004DACD5  Rf_applyClosure
004DA7F7  R.dll:004DA7F7  Rf_eval
004DACD5  R.dll:004DACD5  Rf_applyClosure
004DA7F7  R.dll:004DA7F7  Rf_eval
004FA06E  R.dll:004FA06E  Rf_ReplIteration
004FA672  R.dll:004FA672  Rf_ReplIteration
004FB176  R.dll:004FB176  run_Rmainloop
00401407  Rgui.exe:00401407
0040134E  Rgui.exe:0040134E
00401523  Rgui.exe:00401523
00401170  Rgui.exe:00401170
00401013  Rgui.exe:00401013
77E614C7  kernel32.dll:77E614C7  GetCurrentDirectoryW


############# 2

Rgui.exe caused an Access Violation at location 005b5845 in module R.dll Writing
to location 0000002a.

Registers:
eax=0000002a ebx=0153a81c ecx=0062f8e0 edx=00000000 esi=0022e028 edi=000e038e
eip=005b5845 esp=0022e008 ebp=0022e010 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000202

Call stack:
005B5845  R.dll:005B5845  drawto
005BB289  R.dll:005BB289  gprintf
005BB622  R.dll:005BB622  gprintf
005BB894  R.dll:005BB894  app_doc_proc@16
77D37AD7  USER32.dll:77D37AD7  SetWindowPlacement
77D3CCD4  USER32.dll:77D3CCD4  DefRawInputProc
77D145BD  USER32.dll:77D145BD  TranslateMessageEx
77D147D4  USER32.dll:77D147D4  DefWindowProcA
77F65DA3  ntdll.dll:77F65DA3  KiUserCallbackDispatcher
77D14D58  USER32.dll:77D14D58  DispatchMessageA
00480A83  R.dll:00480A83  R_ProcessEvents
004DAA78  R.dll:004DAA78  Rf_eval
004DC0D2  R.dll:004DC0D2  do_begin
004DA9E8  R.dll:004DA9E8  Rf_eval
004DACD5  R.dll:004DACD5  Rf_applyClosure
004DA7F7  R.dll:004DA7F7  Rf_eval
004DC0D2  R.dll:004DC0D2  do_begin
004DA9E8  R.dll:004DA9E8  Rf_eval
004DA9E8  R.dll:004DA9E8  Rf_eval
004DC0D2  R.dll:004DC0D2  do_begin
004DA9E8  R.dll:004DA9E8  Rf_eval
004DACD5  R.dll:004DACD5  Rf_applyClosure
004DA7F7  R.dll:004DA7F7  Rf_eval
004DC9D5  R.dll:004DC9D5  do_set
004DA9E8  R.dll:004DA9E8  Rf_eval
004DC0D2  R.dll:004DC0D2  do_begin
004DA9E8  R.dll:004DA9E8  Rf_eval
004DD315  R.dll:004DD315  do_eval
00509CB4  R.dll:00509CB4  do_internal
004DA9E8  R.dll:004DA9E8  Rf_eval
004DACD5  R.dll:004DACD5  Rf_applyClosure
004DA7F7  R.dll:004DA7F7  Rf_eval
004DD315  R.dll:004DD315  do_eval
00509CB4  R.dll:00509CB4  do_internal
004DA9E8  R.dll:004DA9E8  Rf_eval
004DACD5  R.dll:004DACD5  Rf_applyClosure
004DA7F7  R.dll:004DA7F7  Rf_eval
004DC0D2  R.dll:004DC0D2  do_begin
004DA9E8  R.dll:004DA9E8  Rf_eval
004DACD5  R.dll:004DACD5  Rf_applyClosure
004DA7F7  R.dll:004DA7F7  Rf_eval
004DACD5  R.dll:004DACD5  Rf_applyClosure
004DA7F7  R.dll:004DA7F7  Rf_eval
004FA06E  R.dll:004FA06E  Rf_ReplIteration
004FA672  R.dll:004FA672  Rf_ReplIteration
004FB176  R.dll:004FB176  run_Rmainloop
00401407  Rgui.exe:00401407
0040134E  Rgui.exe:0040134E
00401523  Rgui.exe:00401523
00401170  Rgui.exe:00401170
00401013  Rgui.exe:00401013
77E614C7  kernel32.dll:77E614C7  GetCurrentDirectoryW


################# 3

Rgui.exe caused an Access Violation at location 005b5845 in module R.dll Writing
to location 000000b5.

Registers:
eax=000000b5 ebx=01b2508c ecx=0062f8e0 edx=00000000 esi=0022e028 edi=000503fa
eip=005b5845 esp=0022e008 ebp=0022e010 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000202

Call stack:
005B5845  R.dll:005B5845  drawto
005BB289  R.dll:005BB289  gprintf
005BB622  R.dll:005BB622  gprintf
005BB894  R.dll:005BB894  app_doc_proc@16
77D37AD7  USER32.dll:77D37AD7  SetWindowPlacement
77D3CCD4  USER32.dll:77D3CCD4  DefRawInputProc
77D145BD  USER32.dll:77D145BD  TranslateMessageEx
77D147D4  USER32.dll:77D147D4  DefWindowProcA
77F65DA3  ntdll.dll:77F65DA3  KiUserCallbackDispatcher
77D14D58  USER32.dll:77D14D58  DispatchMessageA
00480A83  R.dll:00480A83  R_ProcessEvents
004DAA78  R.dll:004DAA78  Rf_eval
004DC0D2  R.dll:004DC0D2  do_begin
004DA9E8  R.dll:004DA9E8  Rf_eval
004DACD5  R.dll:004DACD5  Rf_applyClosure
004DA7F7  R.dll:004DA7F7  Rf_eval
004DC0D2  R.dll:004DC0D2  do_begin
004DA9E8  R.dll:004DA9E8  Rf_eval
004DA9E8  R.dll:004DA9E8  Rf_eval
004DC0D2  R.dll:004DC0D2  do_begin
004DA9E8  R.dll:004DA9E8  Rf_eval
004DACD5  R.dll:004DACD5  Rf_applyClosure
004DA7F7  R.dll:004DA7F7  Rf_eval
004DC9D5  R.dll:004DC9D5  do_set
004DA9E8  R.dll:004DA9E8  Rf_eval
004DC0D2  R.dll:004DC0D2  do_begin
004DA9E8  R.dll:004DA9E8  Rf_eval
004DD315  R.dll:004DD315  do_eval
00509CB4  R.dll:00509CB4  do_internal
004DA9E8  R.dll:004DA9E8  Rf_eval
004DACD5  R.dll:004DACD5  Rf_applyClosure
004DA7F7  R.dll:004DA7F7  Rf_eval
004DD315  R.dll:004DD315  do_eval
00509CB4  R.dll:00509CB4  do_internal
004DA9E8  R.dll:004DA9E8  Rf_eval
004DACD5  R.dll:004DACD5  Rf_applyClosure
004DA7F7  R.dll:004DA7F7  Rf_eval
004DC0D2  R.dll:004DC0D2  do_begin
004DA9E8  R.dll:004DA9E8  Rf_eval
004DACD5  R.dll:004DACD5  Rf_applyClosure
004DA7F7  R.dll:004DA7F7  Rf_eval
004DACD5  R.dll:004DACD5  Rf_applyClosure
004DA7F7  R.dll:004DA7F7  Rf_eval
004FA06E  R.dll:004FA06E  Rf_ReplIteration
004FA672  R.dll:004FA672  Rf_ReplIteration
004FB176  R.dll:004FB176  run_Rmainloop
00401407  Rgui.exe:00401407
0040134E  Rgui.exe:0040134E
00401523  Rgui.exe:00401523
00401170  Rgui.exe:00401170
00401013  Rgui.exe:00401013
77E614C7  kernel32.dll:77E614C7  GetCurrentDirectoryW


[Rd] R crashes when installing package from CRAN (PR#3399)
renaud.lancelot@cirad.fr