[R-SIG-Mac] R.app is closing unexpectedly
sebastien durand
sebastien.durand at UMontreal.CA
Fri May 13 21:45:04 CEST 2005
To whom it may concern and willing to help!
I have put in this mail my R.crash.log
A copy of my own function
A copy of a call that you could use to recreate the crash
Because I am not good enough to dig out any information out of this
crash report, I hope the following information might help.
1- I have tried this progams in the console with sucess (but no graph
is plot).
2- This routine was working in 2.0.1
Any information given A.S.A.P would be more appreciated, but I do
understand that you might be quite buzy...
So the crash occurs when the following function "altitude.filter.R" is
used :
If you have any idea on how to solve that issue I would be more than
happy to receive them...
Thanks a lot
Sebastien Durand
###############
# The function call#
###############
source("~/STATSR/_Subroutines/_Filters/altitude.filter.R")
a<-system.time(tmp<-altitude.filter(x=c(1:
1000),alt=rnorm(1000),trigger=0.1,width=6,height=6,plotquartz=TRUE,plot.
save=NULL,quiet=TRUE))
###############
# altitude.filter.R#
###############
altitude.filter<-
function(x,alt,trigger=0.6,width=6,height=6,plotquartz=TRUE,plot.save=NU
LL,quiet=TRUE){
#x is a time sequence
#alt is the altitudes values
#trigger= in meters, the altitude difference or jump relative to the
previous and after echo that is required to considered the point
wrong...
avant<-abs(alt[2:(length(alt)-1)]-alt[1:(length(alt)-2)])
apres<-abs(alt[2:(length(alt)-1)]-alt[3:(length(alt))])
#Si l'on retrouve de chaque coté d'une altitude un ecart de plus de
0.6 m nous le supprimons
rem<-which(avant>=0.6 & apres>=0.6)+1
if(length(plot.save)!=0){
nom<-"filter.alt"
path<-paste(plot.save,"/",nom,".pdf",sep="")
pdf(file = path, onefile = TRUE,width=width,height=height,
family="Helvetica", encoding="MacRoman.enc",pagecentre=TRUE)
plot(x,alt[],"l",main="Original and filtered altitude values");
if(length(rem)!=0){
lines(x[-rem],alt[-(rem)],col="red")
}else{
lines(x[],alt[],col="red")
cat("There is no erroneous altitude value found\n")
}
dev.off()
}else{}
if(plotquartz==TRUE){
x11(width=width,height=height)
plot(x,alt,main="Original and filtered altitude values");
if(length(rem)!=0){
lines(x[-rem],alt[-(rem)],col="red")
}else{
lines(x[],alt[],col="red")
cat("There is no erroneous altitude value found\n")
}
}else{}
if(quiet==FALSE)
cat("Les échos supprimés ayant de mauvaise valeurs d'altitude sont
les suivantes",rem,"\n")
if(length(rem)!=0){
x<-x[-rem]
alt<-alt[-rem]
}else{}
return(list(rem=rem,alt=alt))
}
#################
#End of the function#
#################
===== Fri May 13 2005 ===== 15:23:27 America/Montreal =====
**********
Host Name: DoubleG5.local
Date/Time: 2005-05-13 15:23:55 -0400
OS Version: 10.3.9 (Build 7W98)
Report Version: 2
Command: R
Path: /Applications/R.app/Contents/MacOS/R
Version: 1.10 (1.10)
PID: 18488
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
Thread 0 Crashed:
0 libSystem.B.dylib 0x90007220 strlen + 0x20
1 org.R-project.R 0x00004d30 -[RController
handleWriteConsole:] + 0x30
2 org.R-project.R 0x0000b530 Re_WriteConsole + 0xc4
3 libR.dylib 0x010d23c0 Rcons_vprintf + 0xcc
(printutils.c:478)
4 libR.dylib 0x01034eec stdout_vfprintf + 0x40
(connections.c:1528)
5 libR.dylib 0x010d2450 Rvprintf + 0x74
(printutils.c:494)
6 libR.dylib 0x010d22a4 Rprintf + 0x30
(printutils.c:444)
7 libR.dylib 0x01022398 do_cat + 0x450
(builtin.c:400)
8 libR.dylib 0x0109b5c0 do_internal + 0x188
(names.c:1078)
9 libR.dylib 0x010667e0 Rf_eval + 0x448
(eval.c:382)
10 libR.dylib 0x01068114 do_begin + 0x88
(eval.c:1058)
11 libR.dylib 0x010667e0 Rf_eval + 0x448
(eval.c:382)
12 libR.dylib 0x01066e30 Rf_applyClosure + 0x3b8
(eval.c:576)
13 libR.dylib 0x01066a0c Rf_eval + 0x674
(eval.c:417)
14 libR.dylib 0x01068114 do_begin + 0x88
(eval.c:1058)
15 libR.dylib 0x010667e0 Rf_eval + 0x448
(eval.c:382)
16 libR.dylib 0x01066e30 Rf_applyClosure + 0x3b8
(eval.c:576)
17 libR.dylib 0x01066a0c Rf_eval + 0x674
(eval.c:417)
18 libR.dylib 0x0106898c do_set + 0xe0
(eval.c:1309)
19 libR.dylib 0x010667e0 Rf_eval + 0x448
(eval.c:382)
20 org.R-project.R 0x00012e60 RGUI_ReplIteration +
0x1f4
21 org.R-project.R 0x00012c50 RGUI_ReplConsole + 0x94
22 org.R-project.R 0x00012ba4 run_REngineRmainloop +
0x9c
23 org.R-project.R 0x0000d658 -[REngine runREPL] + 0x34
24 com.apple.Foundation 0x90a23a4c __NSFireTimer + 0x68
25 com.apple.CoreFoundation 0x901c45f8 __CFRunLoopDoTimer + 0xf4
26 com.apple.CoreFoundation 0x901c1958 __CFRunLoopRun + 0x5c8
27 com.apple.CoreFoundation 0x901c5e6c CFRunLoopRunSpecific +
0x148
28 com.apple.HIToolbox 0x92885f60
RunCurrentEventLoopInMode + 0xac
29 com.apple.HIToolbox 0x9288c6c8 ReceiveNextEventCommon +
0x17c
30 com.apple.HIToolbox 0x928ae6a0
BlockUntilNextEventMatchingListInMode + 0x60
31 com.apple.AppKit 0x92e826dc _DPSNextEvent + 0x180
32 com.apple.AppKit 0x92e9915c -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 0x74
33 com.apple.AppKit 0x92ead4dc -[NSApplication run] +
0x21c
34 com.apple.AppKit 0x92f69bec NSApplicationMain + 0x1d0
35 org.R-project.R 0x000028f0 _start + 0x188
(crt.c:267)
36 dyld 0x8fe1a278 _dyld_start + 0x64
Thread 1:
0 libSystem.B.dylib 0x9000b42c select + 0xc
1 org.R-project.R 0x00003fd4 -[RController
readThread:] + 0x20c
2 com.apple.Foundation 0x90a6a510 forkThreadForFunction +
0x6c
3 libSystem.B.dylib 0x90024910 _pthread_body + 0x28
Thread 2:
0 libSystem.B.dylib 0x900127b8 syscall_thread_switch +
0x8
1 com.apple.Foundation 0x90a33330 +[NSThread
sleepUntilDate:] + 0x98
2 com.apple.AppKit 0x92e7a880 -[NSUIHeartBeat
_heartBeatThread:] + 0x494
3 com.apple.Foundation 0x90a6a510 forkThreadForFunction +
0x6c
4 libSystem.B.dylib 0x90024910 _pthread_body + 0x28
Thread 3:
0 libSystem.B.dylib 0x90018e18
semaphore_timedwait_signal_trap + 0x8
1 libSystem.B.dylib 0x9000e9d4 _pthread_cond_wait +
0x268
2 ...ple.CoreServices.CarbonCore 0x902c5a50 MPWaitOnQueue + 0xe0
3 com.apple.DesktopServices 0x90948e7c
TNodeSyncTask::SyncTaskProc(void*) + 0x70
4 ...ple.CoreServices.CarbonCore 0x902f6b90 PrivateMPEntryPoint +
0x4c
5 libSystem.B.dylib 0x90024910 _pthread_body + 0x28
PPC Thread State:
srr0: 0x90007220 srr1: 0x0000f030 vrsave: 0x00000000
cr: 0x22044442 xer: 0x00000000 lr: 0x00004d30 ctr: 0x90007200
r0: 0x00004d30 r1: 0xbfff9de0 r2: 0x01849634 r3: 0xfffffffc
r4: 0x00000000 r5: 0xfefefeff r6: 0x80808080 r7: 0x00000047
r8: 0xbfff9914 r9: 0x00000000 r10: 0x00000000 r11: 0x00036138
r12: 0x90007200 r13: 0x0695f920 r14: 0x00000000 r15: 0x00000003
r16: 0x01b215a8 r17: 0x7fffffff r18: 0x00000000 r19: 0xbfffc3b0
r20: 0x018749b0 r21: 0x01b21628 r22: 0x01dfa578 r23: 0x00000001
r24: 0x0003b478 r25: 0x0003b478 r26: 0x0003b478 r27: 0x00000000
r28: 0xbfff9ef0 r29: 0x011751f8 r30: 0x003c1020 r31: 0x00004d00
Binary Images Description:
0x1000 - 0x35fff org.R-project.R
1.10 /Applications/R.app/Contents/MacOS/R
0x205000 - 0x226fff libreadline.5.0.dylib
/Library/Frameworks/R.framework/Resources/lib/libreadline.5.0.dylib
0x7af000 - 0x7b2fff methods.so
/Library/Frameworks/R.framework/Resources/library/methods/libs/
methods.so
0x1008000 - 0x1194fff libR.dylib
/Library/Frameworks/R.framework/Resources/lib/libR.dylib
0x6583000 - 0x6598fff grDevices.so
/Library/Frameworks/R.framework/Resources/library/grDevices/libs/
grDevices.so
0x66c5000 - 0x66f0fff stats.so
/Library/Frameworks/R.framework/Resources/library/stats/libs/stats.so
0x6760000 - 0x677efff R_X11.so
/Library/Frameworks/R.framework/Resources/modules/R_X11.so
0x7008000 - 0x702ffff libpng.3.dylib
/Library/Frameworks/R.framework/Resources/lib/libpng.3.dylib
0x806c0000 - 0x806e9fff libxslt.1.dylib /usr/lib/libxslt.1.dylib
0x80830000 - 0x8090efff libxml2.2.dylib /usr/lib/libxml2.2.dylib
0x86100000 - 0x86105fff libSM.6.dylib /usr/X11R6/lib/libSM.6.dylib
0x86150000 - 0x8615ffff libICE.6.dylib /usr/X11R6/lib/libICE.6.dylib
0x86553000 - 0x8661efff libX11.6.dylib /usr/X11R6/lib/libX11.6.dylib
0x8ed60000 - 0x8ed62fff com.apple.ExceptionHandling 1.2
(???) /System/Library/Frameworks/ExceptionHandling.framework/Versions/
A/ExceptionHandling
0x8fe00000 - 0x8fe4ffff dyld /usr/lib/dyld
0x90000000 - 0x9014ffff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x901c0000 - 0x9026dfff com.apple.CoreFoundation 6.3.7
(299.35) /System/Library/Frameworks/CoreFoundation.framework/Versions/
A/CoreFoundation
0x902b0000 - 0x90529fff com.apple.CoreServices.CarbonCore
10.3.7 /System/Library/Frameworks/CoreServices.framework/Versions/A/
Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90584000 - 0x905f3fff com.apple.framework.IOKit 1.3.6
(???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90610000 - 0x9069afff com.apple.CoreServices.OSServices
3.0.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/
Frameworks/OSServices.framework/Versions/A/OSServices
0x90700000 - 0x90700fff com.apple.CoreServices 10.3
(???) /System/Library/Frameworks/CoreServices.framework/Versions/A/
CoreServices
0x90702000 - 0x90769fff com.apple.audio.CoreAudio
2.1.3 /System/Library/Frameworks/CoreAudio.framework/Versions/A/
CoreAudio
0x907f0000 - 0x907f9fff com.apple.DiskArbitration
2.0.5 /System/Library/PrivateFrameworks/DiskArbitration.framework/
Versions/A/DiskArbitration
0x90810000 - 0x90810fff com.apple.ApplicationServices 1.0
(???) /System/Library/Frameworks/ApplicationServices.framework/
Versions/A/ApplicationServices
0x90830000 - 0x9089ffff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x908c5000 - 0x90915fff com.apple.HIServices 1.4.1
(0.0.1d1) /System/Library/Frameworks/ApplicationServices.framework/
Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x90940000 - 0x909b3fff com.apple.DesktopServices
1.2.5 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/
Versions/A/DesktopServicesPriv
0x909f0000 - 0x90a08fff com.apple.WebServices 1.1.1
(1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/
Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore
0x90a20000 - 0x90b7bfff com.apple.Foundation 6.3.7
(500.59) /System/Library/Frameworks/Foundation.framework/Versions/C/
Foundation
0x90c32000 - 0x90c45fff com.apple.speech.synthesis.framework
3.2 /System/Library/Frameworks/ApplicationServices.framework/Versions/
A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x90d00000 - 0x90d1bfff com.apple.SystemConfiguration 1.7.1
(???) /System/Library/Frameworks/SystemConfiguration.framework/
Versions/A/SystemConfiguration
0x90d40000 - 0x90d40fff com.apple.Carbon 10.3
(???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x90ec0000 - 0x90ec0fff com.apple.Cocoa 6.3
(???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x910b0000 - 0x91101fff com.apple.bom 1.2.5
(63.2) /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x912e0000 - 0x912f7fff com.apple.LangAnalysis
1.5.4 /System/Library/Frameworks/ApplicationServices.framework/
Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x91303000 - 0x9136cfff com.apple.htmlrendering
1.1.2 /System/Library/Frameworks/Carbon.framework/Versions/A/
Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x913a0000 - 0x9145ffff ColorSync
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/
Frameworks/ColorSync.framework/Versions/A/ColorSync
0x915e0000 - 0x91699fff com.apple.QD 3.4.67
(???) /System/Library/Frameworks/ApplicationServices.framework/
Versions/A/Frameworks/QD.framework/Versions/A/QD
0x916e0000 - 0x91773fff com.apple.print.framework.PrintCore
3.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/
A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x917b6000 - 0x917cafff libCGATS.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/
Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x917e0000 - 0x917f0fff com.apple.speech.recognition.framework
3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
SpeechRecognition.framework/Versions/A/SpeechRecognition
0x91810000 - 0x9182afff com.apple.openscripting 1.2.1
(???) /System/Library/Frameworks/Carbon.framework/Versions/A/
Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x91850000 - 0x91860fff com.apple.ImageCapture
2.1.5 /System/Library/Frameworks/Carbon.framework/Versions/A/
Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x91890000 - 0x9189cfff com.apple.help
1.0.1 /System/Library/Frameworks/Carbon.framework/Versions/A/
Frameworks/Help.framework/Versions/A/Help
0x918c0000 - 0x918cdfff com.apple.CommonPanels 1.2.1
(1.0) /System/Library/Frameworks/Carbon.framework/Versions/A/
Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x918f0000 - 0x9193efff com.apple.print.framework.Print
3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
Print.framework/Versions/A/Print
0x91990000 - 0x9199bfff com.apple.securityhi 1.2
(90) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
SecurityHI.framework/Versions/A/SecurityHI
0x91a40000 - 0x91ab3fff com.apple.NavigationServices
3.3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/
Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x91b10000 - 0x91b2afff libPDFRIP.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/
Frameworks/CoreGraphics.framework/Versions/A/Resources/
libPDFRIP.A.dylib
0x91b50000 - 0x91b5ffff libPSRIP.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/
Frameworks/CoreGraphics.framework/Versions/A/Resources/libPSRIP.A.dylib
0x91b80000 - 0x91b93fff libRIP.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/
Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x92070000 - 0x92096fff com.apple.FindByContent 1.4
(1.2) /System/Library/Frameworks/ApplicationServices.framework/
Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent
0x920c0000 - 0x922a7fff com.apple.security 2.4
(177) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x9240e000 - 0x9240efff com.apple.audio.units.AudioUnit
1.3.3 /System/Library/Frameworks/AudioUnit.framework/Versions/A/
AudioUnit
0x92430000 - 0x92468fff com.apple.LaunchServices 10.3.5
(98.4) /System/Library/Frameworks/ApplicationServices.framework/
Versions/A/Frameworks/LaunchServices.framework/Versions/A/
LaunchServices
0x92727000 - 0x9275ffff com.apple.AE
1.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/
A/Frameworks/AE.framework/Versions/A/AE
0x927b2000 - 0x927e0fff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib
0x927f0000 - 0x92827fff com.apple.CFNetwork 1.2.1
(7) /System/Library/Frameworks/CoreServices.framework/Versions/A/
Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x92880000 - 0x92c05fff com.apple.HIToolbox 1.3.6
(???) /System/Library/Frameworks/Carbon.framework/Versions/A/
Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x92e70000 - 0x9336ffff com.apple.AppKit 6.3.8
(743.39) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x939a0000 - 0x939b4fff libcups.2.dylib /usr/lib/libcups.2.dylib
0x939d0000 - 0x939d4fff libmathCommon.A.dylib
/usr/lib/system/libmathCommon.A.dylib
0x94120000 - 0x9414bfff libncurses.5.dylib /usr/lib/libncurses.5.dylib
0x9415d000 - 0x94168fff libCSync.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/
Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x945b0000 - 0x945b9fff libz.1.dylib /usr/lib/libz.1.dylib
0x94610000 - 0x9462afff libresolv.9.dylib /usr/lib/libresolv.9.dylib
0x94650000 - 0x946affff com.apple.SearchKit
1.0.2 /System/Library/Frameworks/CoreServices.framework/Versions/A/
Frameworks/SearchKit.framework/Versions/A/SearchKit
0x946ed000 - 0x9470afff com.apple.audio.SoundManager
3.9 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
CarbonSound.framework/Versions/A/CarbonSound
0x94fe0000 - 0x95076fff com.apple.WebKit
312.1 /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
0x950d8000 - 0x951bafff com.apple.JavaScriptCore
312 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/
JavaScriptCore.framework/Versions/A/JavaScriptCore
0x954c0000 - 0x95ac6fff libBLAS.dylib
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/
vecLib.framework/Versions/A/libBLAS.dylib
0x95b20000 - 0x95df0fff libLAPACK.dylib
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/
vecLib.framework/Versions/A/libLAPACK.dylib
0x95e40000 - 0x95eadfff libvDSP.dylib
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/
vecLib.framework/Versions/A/libvDSP.dylib
0x95f00000 - 0x95f20fff libvMisc.dylib
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/
vecLib.framework/Versions/A/libvMisc.dylib
0x9646d000 - 0x96745fff com.apple.CoreGraphics 1.203.30
(???) /System/Library/Frameworks/ApplicationServices.framework/
Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x967bd000 - 0x96875fff com.apple.audio.toolbox.AudioToolbox
1.3.3 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/
AudioToolbox
0x968d0000 - 0x969b2fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x96a20000 - 0x96ae2fff libcrypto.0.9.7.dylib
/usr/lib/libcrypto.0.9.7.dylib
0x96b2e000 - 0x96b36fff libbsm.dylib /usr/lib/libbsm.dylib
0x96b50000 - 0x96bdffff ATS
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/
Frameworks/ATS.framework/Versions/A/ATS
0x96c00000 - 0x96c8cfff com.apple.ink.framework 101.1.4
(55.12) /System/Library/Frameworks/Carbon.framework/Versions/A/
Frameworks/Ink.framework/Versions/A/Ink
0x96cb0000 - 0x96d9efff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x96e80000 - 0x96e90fff com.apple.vecLib 3.0.3 (vecLib
3.0.3) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x973e0000 - 0x976c6fff com.apple.WebCore
315 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/
WebCore.framework/Versions/A/WebCore
More information about the R-SIG-Mac
mailing list