je...@cs.uni-magdeburg.de wrote:
> Full_Name: Jens Elkner
> Version: 2.10.1
> OS: Solaris
> Submission from: (NULL) (87.188.113.172)
> 
> 
> elkner.idev2 elkner/build/R-2.10.1 > bin/exec/R -e
> Segmentation fault (core dumped)

That's not supposed to work! The shell script in bin/R sets up an
environment in which R should run and checks the arguments before
running the binary.  In particular it would have caught

>~/misc/r-release-branch/BUILD/bin/R -e
ERROR: option '-e' requires an argument


> elkner.idev2 elkner/build/R-2.10.1 > dbx bin/exec/R core
> For information about new features see `help changes'
> To remove this message, put `dbxenv suppress_startup_message 7.7' in your
> .dbxrc
> Reading R
> core file header read successfully
> Reading ld.so.1
> Reading libR.so
> Reading libRblas.so
> Reading libc.so.1
> Reading libm.so.2
> Reading libreadline.so.5
> Reading libpcre.so.0.0.0
> program terminated by signal SEGV (no mapping at the fault address)
> 0xfffffd7fff21fb50: strlen+0x0030:  pcmpeqb  (%rsi),%xmm0
> Current function is Rf_initialize_R (optimized)
>   331           if(strlen(cmdlines) + strlen(*av) + 2 <= 10000) {
> dbx<1> where                                                        
>   [1] strlen(0x0, 0x0, 0xffff, 0x0, 0xffff, 0x3), at 0xfffffd7fff21fb50 
> =>[2] Rf_initialize_R(ac = ???, av = ???) (optimized), at 0xfffffd7fef252eb0
> (line ~331) in "system.c"
>   [3] main(ac = ???, av = ???) (optimized), at 0x400e0a (line ~32) in 
> "Rmain.c"
> dbx<2>
> 
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel


-- 
   O__  ---- Peter Dalgaard             Ă˜ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalga...@biostat.ku.dk)              FAX: (+45) 35327907

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to