[R-SIG-Mac] R.app crashing

Simon Urbanek simon.urbanek at r-project.org
Thu Apr 18 18:00:48 CEST 2013


On Apr 16, 2013, at 5:35 AM, Prof Brian Ripley wrote:

> That log says
> 
>  Library not loaded: /Library/Frameworks/R.framework/Versions/3.1/Resources/lib/libR.dylib
> 
> '3.1' means R-devel, not 3.0.0 and not R-patched.
> 
> I can confirm this from today's R-patched: it looks like the wrong version of R.app got bundled:
> 
> tystie% otool -L /Applications/R.app/Contents/MacOS/R
> /Applications/R.app/Contents/MacOS/R:
> 	/Library/Frameworks/R.framework/Versions/3.1/Resources/lib/libR.dylib (compatibility version 3.1.0, current version 3.1.0)
> 

I had fixed it the same day (one of the build scripts was inadvertently trying to do too many things at once), but the post got stuck in my mailer.


> However, reverting to 3.0.0 should work.  One issue (and did we not see a report from you about it?) is that the installer does not necessarily replace the copy of R.app in /Applications if it finds another one. (That has happened to me when the one I last used was a personal build.)  So I would remove all copies of R.app from your system and re-install 3.0.0.
> 

I have now marked R.app as not relocatable which *should* make the Installer less zealous in finding the wrong R.app binary. This means that once you move R.app it won't be upgraded, but you can at least rely on the fact that /Applications/R.app will be the location of the R.app after you installed it.

Thanks,
Simon



> 
> 
> On 16/04/2013 09:28, Ken Knoblauch wrote:
>> Hi,
>> 
>> I went to upgrade a working R 3.0.0 to the patched version and I'm
>> finding that
>> I can't open it.  I went back and downloaded the unpatched version and
>> find the same problem.  I can open R in the terminal, so sounds like
>> a problem with R.app.
>> 
>> I'm on a Mac Air running OS 10.7.5.  From the terminal:
>> 
>>  sessionInfo()
>> R version 3.0.0 (2013-04-03)
>> Platform: x86_64-apple-darwin10.8.0 (64-bit)
>> 
>> locale:
>> [1] fr_FR.UTF-8/fr_FR.UTF-8/fr_FR.UTF-8/C/fr_FR.UTF-8/fr_FR.UTF-8
>> 
>> attached base packages:
>> [1] stats     graphics  grDevices utils     datasets  methods   base
>> 
>> The crash log is the following:
>> 
>> Process:         R [3611]
>> Path:            /Applications/R.app/Contents/MacOS/R
>> Identifier:      org.R-project.R
>> Version:         R 3.0.0 GUI 1.60 Snow Leopard build (6480)
>> Code Type:       X86-64 (Native)
>> Parent Process:  launchd [109]
>> 
>> Date/Time:       2013-04-16 10:12:24.774 +0200
>> OS Version:      Mac OS X 10.7.5 (11G63b)
>> Report Version:  9
>> 
>> Interval Since Last Report:          554272 sec
>> Crashes Since Last Report:           31
>> Per-App Crashes Since Last Report:   5
>> Anonymous UUID:                      938B8307-E22B-4402-A8AA-4E9401361605
>> 
>> Crashed Thread:  0
>> 
>> Exception Type:  EXC_BREAKPOINT (SIGTRAP)
>> Exception Codes: 0x0000000000000002, 0x0000000000000000
>> 
>> Application Specific Information:
>> dyld: launch, loading dependent libraries
>> 
>> Dyld Error Message:
>>   Library not loaded:
>> /Library/Frameworks/R.framework/Versions/3.1/Resources/lib/libR.dylib
>>   Referenced from: /Applications/R.app/Contents/MacOS/R
>>   Reason: image not found
>> 
>> Binary Images:
>>        0x100000000 -        0x100098fef +org.R-project.R (R 3.0.0 GUI
>> 1.60 Snow Leopard build - 6480) <CF67A542-FD9A-3A86-B869-FB06FE012513>
>> /Applications/R.app/Contents/MacOS/R
>>     0x7fff65061000 -     0x7fff65095baf  dyld (195.6 - ???)
>> <0CD1B35B-A28F-32DA-B72E-452EAD609613> /usr/lib/dyld
>> 
>> Model: MacBookAir4,1, BootROM MBA41.0077.B0F, 2 processors, Intel Core
>> i5, 1.6 GHz, 4 GB, SMC 1.74f4
>> Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 384 MB
>> Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE,
>> 0x4D34373142353737334448302D4348392020
>> Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE,
>> 0x4D34373142353737334448302D4348392020
>> AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xE9),
>> Broadcom BCM43xx 1.0 (5.106.198.19.22)
>> Bluetooth: Version 4.0.8f17, 2 service, 11 devices, 1 incoming serial ports
>> Network Service: Ethernet, Ethernet, en0
>> Serial ATA Device: APPLE SSD TS128C, 121,33 GB
>> USB Device: FaceTime Camera (Built-in), apple_vendor_id, 0x850a,
>> 0xfa200000 / 3
>> USB Device: hub_device, 0x0424  (SMSC), 0x2513, 0xfa100000 / 2
>> USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x024a,
>> 0xfa120000 / 5
>> USB Device: BRCM20702 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 4
>> USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821f,
>> 0xfa113000 / 7
>> USB Device: hub_device, 0x0424  (SMSC), 0x2513, 0xfd100000 / 2
>> 
>> Thanks.
>> 
>> Ken
>> 
> 
> 
> -- 
> Brian D. Ripley,                  ripley at 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 272866 (PA)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 
> 



More information about the R-SIG-Mac mailing list