[R-SIG-Mac] Mac R Gui crashes at startup -- suggestions?

William Revelle lists at revelle.net
Fri Jan 2 01:26:19 CET 2009


MacBook Pro running  OS 10.5.6

Running R 2.8.1 patched (2008-12-31)  (although same problem with 
other installations).

Trying to run R.app Gui  R 2.8.1 GUI 1.27 Tiger build 32-bit (5313) 
but it crashes on loading every time.

Problem just started today, I have reinstalled R 2.8.1 several times, 
tried multiple versions of the GUI.  I continue to have it give a 
malloc error when it starts.

I can run  R 2.8.1 from the console in X11.  But after using the GUI, 
that is painful.

I have restarted multiple times, checked permissions, reinstalled R 
(multiple times), tried different GUIs.  Time Travelled back to 
yesterday to get what was working fine, all to no avail.

Suggestions would be greatly appreciated.

Thanks.

Bill





Report from console log
1/1/09 6:10:31 PM R[1030] R(1030,0xa003c720) malloc: *** 
mmap(size=712704) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
1/1/09 6:10:31 PM R[1030] R(1030,0xa003c720) malloc: *** 
mmap(size=712704) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
1/1/09 6:10:33 PM ReportCrash[1032] Formulating crash report for 
process R[1030]
1/1/09 6:10:34 PM ReportCrash[1032] Saved crashreport to 
/Volumes/WR/bill/Library/Logs/CrashReporter/R_2009-01-01-181031_WR.crash 
using uid: 503 gid: 503, euid: 503 egid: 503
1/1/09 6:10:34 PM ReportCrash[1032] Saved crashreport to 
/Volumes/WR/bill/Library/Logs/CrashReporter/R_2009-01-01-181031_WR.crash 
using uid: 503 gid: 503, euid: 503 egid: 503
1/1/09 6:10:34 PM com.apple.launchd[110] 
([0x0-0x91091].org.R-project.R[1030]) Exited abnormally: Bus error

1/1/09 6:10:34 PM com.apple.launchd[110] 
([0x0-0x91091].org.R-project.R[1030]) Exited abnormally: Bus error
1/1/09 6:18:05 PM ReportCrash[1037] Formulating crash report for 
process mdworker[887]
1/1/09 6:18:06 PM com.apple.launchd[1] (0x10c760.mdworker[887]) 
Exited abnormally: Segmentation fault
1/1/09 6:18:06 PM ReportCrash[1037] Saved crashreport to 
/Library/Logs/CrashReporter/mdworker_2009-01-01-181804_WR.crash using 
uid: 0 gid: 0, euid: 0 egid: 0
1/1/09 6:18:12 PM ReportCrash[1037] Formulating crash report for 
process mdworker[1039]
1/1/09 6:18:12 PM ReportCrash[1037] Formulating crash report for 
process mdworker[1039]
1/1/09 6:18:12 PM com.apple.launchd[1] (0x10c760.mdworker[1039]) 
Exited abnormally: Segmentation fault
1/1/09 6:18:12 PM ReportCrash[1037] Saved crashreport to 
/Library/Logs/CrashReporter/mdworker_2009-01-01-181811_WR.crash using 
uid: 0 gid: 0, euid: 0 egid: 0

Error report (abbreviated, happy to send a longer one).

Process:         R [1030]
Path:            /Applications/R.app/Contents/MacOS/R
Identifier:      org.R-project.R
Version:         R 2.8.1 GUI 1.27 Tiger build 32-bit (5313)
Code Type:       X86 (Native)
Parent Process:  launchd [110]

Date/Time:       2009-01-01 18:10:31.940 -0600
OS Version:      Mac OS X 10.5.6 (9G55)
Report Version:  6

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

Thread 0 Crashed:
0   libSystem.B.dylib             	0xffff132f __longcopy + 303 
(cpu_capabilities.h:249)
1   libSystem.B.dylib             	0xffff086e __memcpy + 206 
(cpu_capabilities.h:246)
2   com.apple.CoreFoundation      	0x951ed3fb 
_CFStringCheckAndGetCharacters + 187
3   com.apple.Foundation          	0x953b11a3 -[NSCFString 
getCharacters:range:] + 67
4   com.apple.Foundation          	0x953b6604 
_NSNewStringByAppendingStrings + 1044
5   com.apple.Foundation          	0x953b6150 -[NSString 
stringByAppendingString:] + 192
6   org.R-project.R               	0x000077e0 -[RController 
doLoadHistory:] + 851 (RController.m:1514)
7   org.R-project.R               	0x00003c99 -[RController 
awakeFromNib] + 2245 (RController.m:503)
8   com.apple.CoreFoundation      	0x9525d915 -[NSSet 
makeObjectsPerformSelector:] + 181
9   com.apple.AppKit              	0x93f6645a -[NSIBObjectData 
nibInstantiateWithOwner:topLevelObjects:] + 1533
10  com.apple.AppKit              	0x93f5c686 loadNib + 264
11  com.apple.AppKit              	0x93f5bfe8 
+[NSBundle(NSNibLoading) 
_loadNibFile:nameTable:withZone:ownerBundle:] + 946
12  com.apple.AppKit              	0x93f5bc2b 
+[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 
171
13  com.apple.AppKit              	0x93f5bb69 
+[NSBundle(NSNibLoading) loadNibNamed:owner:] + 391
14  org.R-project.R               	0x000028d0 main + 298 (main.m:65)
15  org.R-project.R               	0x0000278a _start + 216
16  org.R-project.R               	0x000026b1 start + 41

Thread 1:
0   libSystem.B.dylib             	0x900151c6 mach_msg_trap + 10
1   libSystem.B.dylib             	0x9001c9bc mach_msg + 72
2   com.apple.CoreFoundation      	0x951d50ae CFRunLoopRunSpecific + 1790
3   com.apple.CoreFoundation      	0x951d5cd8 CFRunLoopRunInMode + 88
4   com.apple.CFNetwork           	0x9284d052 
CFURLCacheWorkerThread(void*) + 396
5   libSystem.B.dylib             	0x90046095 _pthread_start + 321
6   libSystem.B.dylib             	0x90045f52 thread_start + 34

Thread 2:
0   libSystem.B.dylib             	0x900151c6 mach_msg_trap + 10
1   libSystem.B.dylib             	0x9001c9bc mach_msg + 72
2   com.apple.CoreFoundation      	0x951d50ae CFRunLoopRunSpecific + 1790
3   com.apple.CoreFoundation      	0x951d5cd8 CFRunLoopRunInMode + 88
4   com.apple.Foundation          	0x953ee64d -[NSConnection 
sendInvocation:internal:] + 3005
5   com.apple.Foundation          	0x953ed7c9 -[NSDistantObject 
forwardInvocation:] + 329
6   com.apple.CoreFoundation      	0x9525496a ___forwarding___ + 986
7   com.apple.CoreFoundation      	0x952549d2 _CF_forwarding_prep_0 + 50
8   org.R-project.R               	0x00004c57 -[RController 
readThread:] + 250 (RController.m:652)
9   com.apple.Foundation          	0x953b77ed -[NSThread main] + 45
10  com.apple.Foundation          	0x953b7394 __NSThread__main__ + 308
11  libSystem.B.dylib             	0x90046095 _pthread_start + 321
12  libSystem.B.dylib             	0x90045f52 thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
   eax: 0x00040000  ebx: 0x00000020  ecx: 0x0006dcd2  edx: 0xfffc0000
   edi: 0x00040000  esi: 0xffd25000  ebp: 0xbfffec9c  esp: 0xbfffec90
    ss: 0x0000001f  efl: 0x00010246  eip: 0xffff132f   cs: 0x00000017
    ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
   cr2: 0x00000000




-- 
William Revelle		http://personality-project.org/revelle.html
Professor			http://personality-project.org/personality.html
Department of Psychology             http://www.wcas.northwestern.edu/psych/
Northwestern University	http://www.northwestern.edu/
Attend  ISSID/ARP:2009               http://issid.org/issid.2009/



More information about the R-SIG-Mac mailing list