

Folks,
    My GUI (5401: 1.28 Leopard build 32 bit) has just started having
problems.  When I double click on it, it tries to start, bounces for a while
and then closes.  I get a ³R unexpectedly quit² error and Leopard asks me if
I want to restart.  When I check the report I get:
Process:         R [658]
Path:            
/Volumes/R-GUI-5401-2.9-leopard-Leopard/R.app/Contents/MacOS/R
Identifier:      org.R-project.R
Version:         R 2.9.0 GUI 1.28 Leopard build 32-bit (5401)
Code Type:       X86 (Native)
Parent Process:  launchd [87]

Date/Time:       2009-05-07 11:36:32.095 -0700
OS Version:      Mac OS X 10.5.6 (9G2030)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread:  0

Thread 0 Crashed:
0   com.apple.CoreFoundation          0x908c2e33
__CFStrConvertBytesToUnicode + 51
1   com.apple.CoreFoundation          0x908c3c98 __CFStringEncodeByteStream
+ 2712
2   com.apple.Foundation              0x96bb58a7
-[NSString(NSStringOtherEncodings)
getBytes:maxLength:usedLength:encoding:options:range:remainingRange:] + 295
3   com.apple.Foundation              0x96c07f45
-[NSString(NSStringOtherEncodings) cStringLength] + 133
4   com.apple.Foundation              0x96bb5728 -[NSCFString cStringLength]
+ 232
5   com.apple.Foundation              0x96bb5318
_NSNewStringByAppendingStrings + 296
6   com.apple.Foundation              0x96bb5150 -[NSString
stringByAppendingString:] + 192
7   org.R-project.R                   0x00009fb8 -[RController
doLoadHistory:] + 808
8   org.R-project.R                   0x000079c8 -[RController awakeFromNib]
+ 2232
9   com.apple.CoreFoundation          0x9091a915 -[NSSet
makeObjectsPerformSelector:] + 181
10  com.apple.AppKit                  0x9309b45a -[NSIBObjectData
nibInstantiateWithOwner:topLevelObjects:] + 1533
11  com.apple.AppKit                  0x93091686 loadNib + 264
12  com.apple.AppKit                  0x93090fe8 +[NSBundle(NSNibLoading)
_loadNibFile:nameTable:withZone:ownerBundle:] + 946
13  com.apple.AppKit                  0x93090c2b +[NSBundle(NSNibLoading)
loadNibFile:externalNameTable:withZone:] + 171
14  com.apple.AppKit                  0x93090b69 +[NSBundle(NSNibLoading)
loadNibNamed:owner:] + 391
15  org.R-project.R                   0x00002948 main + 296
16  org.R-project.R                   0x000027e6 start + 54

Thread 1:
0   libSystem.B.dylib                 0x92cbb1c6 mach_msg_trap + 10
1   libSystem.B.dylib                 0x92cc29bc mach_msg + 72
2   com.apple.CoreFoundation          0x908920ae CFRunLoopRunSpecific + 1790
3   com.apple.CoreFoundation          0x90892cd8 CFRunLoopRunInMode + 88
4   com.apple.CFNetwork               0x95f93ebe
CFURLCacheWorkerThread(void*) + 396
5   libSystem.B.dylib                 0x92cec095 _pthread_start + 321
6   libSystem.B.dylib                 0x92cebf52 thread_start + 34

Thread 2:
0   libSystem.B.dylib                 0x92cbb1c6 mach_msg_trap + 10
1   libSystem.B.dylib                 0x92cc29bc mach_msg + 72
2   com.apple.CoreFoundation          0x908920ae CFRunLoopRunSpecific + 1790
3   com.apple.CoreFoundation          0x90892cd8 CFRunLoopRunInMode + 88
4   com.apple.Foundation              0x96bed64d -[NSConnection
sendInvocation:internal:] + 3005
5   com.apple.Foundation              0x96bec7c9 -[NSDistantObject
forwardInvocation:] + 329
6   com.apple.CoreFoundation          0x9091196a ___forwarding___ + 986
7   com.apple.CoreFoundation          0x909119d2 _CF_forwarding_prep_0 + 50
8   org.R-project.R                   0x0000dd35 -[RController readThread:]
+ 245
9   com.apple.Foundation              0x96bb67ed -[NSThread main] + 45
10  com.apple.Foundation              0x96bb6394 __NSThread__main__ + 308
11  libSystem.B.dylib                 0x92cec095 _pthread_start + 321
12  libSystem.B.dylib                 0x92cebf52 thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0xa00686e0  ebx: 0x908c2e14  ecx: 0x00000000  edx: 0x00000000
  edi: 0xbfffe6f8  esi: 0x00000200  ebp: 0xbfffe608  esp: 0xbfffe5f8
   ss: 0x0000001f  efl: 0x00010246  eip: 0x908c2e33   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
  cr2: 0x00000000

Session Info for R:

> sessionInfo()
R version 2.9.0 Patched (2009-05-05 r48465)
i386-apple-darwin9.6.0

locale:
en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
> 


    Has anyone seen this before.  R runs fine from the command line.  It is
just the GUI that is having problems.  This started happening after I used
the GUI to download the package ³CAR².  The read/write permissions look fine
for the GUI and reinstalling R (or the GUI) doesn¹t help.  Any help would be
greatly appreciated.

    Cheers,
    Donovan Anderson
    University of Washington




	[[alternative HTML version deleted]]

