segfault on Sparc Linux (RH6.0)
Martyn Plummer
plummer@iarc.fr
Fri, 02 Jul 1999 17:52:17 +0200 (CEST)
We are having problems building R on Red Hat Linux 6.0/Sparc.
R compiles with no problem but then it fails "make tests".
Specifically, the line
eigen(cbind(-1,c(1:2,0),0:2)) # complex values
causes a segmentation fault. Previous versions of Red Hat Linux
did not give this problem.
The eigen() function is one of the rare cases in the base library where
Fortran code is called via the .Fortran interface, which suggests to me
that the problem lies in the Fortran installation or flags.
Vin Everett, who is actually doing the compiling, has provided output
from gdb, which is given below. Any help would be greatly appreciated.
Martyn
> eigen(cbind(-1,c(1:2,0),0:2)) # complex values
Program received signal SIGSEGV, Segmentation fault.
0xb1dc8 in hqr2_ ()
(gdb)
bt gives:-
(gdb) bt
#0 0xb1dc8 in hqr2_ ()
#1 0xb4bb4 in rg_ ()
#2 0x3909c in do_dotCode (call=0x70421f64, op=0x70421b90, args=0x70679f28,
env=0x7067791c) at dotcode.c:386
#3 0x3fc7c in eval (e=0x70421f64, rho=0x7067791c) at eval.c:180
#4 0x41118 in do_set (call=0x70421fa0, op=0x702d4828, args=0x70421f8c,
rho=0x7067791c) at eval.c:761
#5 0x3fc7c in eval (e=0x70421fa0, rho=0x7067791c) at eval.c:180
#6 0x40b58 in do_begin (call=0x70421fb4, op=0x702d48c8, args=0x70421fc8,
rho=0x7067791c) at eval.c:588
#7 0x3fc7c in eval (e=0x70421fb4, rho=0x7067791c) at eval.c:180
#8 0x40280 in do_if (call=0x70422ef0, op=0x702d44b8, args=0x70422edc,
rho=0x7067791c) at eval.c:379
#9 0x3fc7c in eval (e=0x70422ef0, rho=0x7067791c) at eval.c:180
#10 0x40b58 in do_begin (call=0x70422f04, op=0x702d48c8, args=0x70422f18,
rho=0x7067791c) at eval.c:588
#11 0x3fc7c in eval (e=0x70422f04, rho=0x7067791c) at eval.c:180
#12 0x40280 in do_if (call=0x70423120, op=0x702d44b8, args=0x7042310c,
rho=0x7067791c) at eval.c:379
#13 0x3fc7c in eval (e=0x70423120, rho=0x7067791c) at eval.c:180
#14 0x40b58 in do_begin (call=0x7041eddc, op=0x702d48c8, args=0x70423134,
rho=0x7067791c) at eval.c:588
#15 0x3fc7c in eval (e=0x7041eddc, rho=0x7067791c) at eval.c:180
#16 0x3ffcc in applyClosure (call=0x70677868, op=0x7042347c,
arglist=0x706778cc, rho=0x702dca50, suppliedenv=0x702d4008) at eval.c:293
#17 0x3fcf0 in eval (e=0x70677868, rho=0x702dca50) at eval.c:189
#18 0x5370c in R_ReplConsole (rho=0x702dca50, savestack=0, browselevel=0)
at main.c:274
#19 0x53b74 in mainloop () at main.c:465
#20 0xa0adc in main (ac=0, av=0xeffffc84) at system.c:641
#21 0x701eb8d0 in __libc_start_main () at ../sysdeps/generic/libc-start.c:78
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._