[Rd] 1.2.0 segfault

Paul Gilbert pgilbert@bank-banque-canada.ca
Mon, 18 Dec 2000 10:45:59 -0500


I'm a novice with gdb but the following is the result of a segfault problem I've been
having with 1.2.0.  If there is something else I should do to get more useful
information at this point, then someone please let me know.

Paul Gilbert
______

[5] /home/mfa5/gilp/zzot : R -d gdb
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.6"...
(gdb) run
Starting program: /home/mfa/gilp/R/bin/R.bin

R : Copyright 2000, The R Development Core Team
Version 1.2.0  (2000-12-15)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type `license()' or `licence()' for distribution details.

R is a collaborative project with many contributors.
Type `contributors()' for more information.

Type `demo()' for some demos, `help()' for on-line help, or
`help.start()' for a HTML browser interface to help.
Type `q()' to quit R.

> library(curve)
Loading required package: dse1
Loading required package: syskern
Loading required package: tframe
>
Program received signal SIGWINCH, Window size changed.
0xef5b7400 in poll ()
(gdb) dsecurvature.function.testsA()
Undefined command: "dsecurvature".  Try "help".
(gdb) continue
Continuing.

> dsecurvature.function.testsA()
Random number generator tests ...ok
DSE curvature test A 1 ... completed
DSE curvature test A 2 ...
Program received signal SIGSEGV, Segmentation fault.
0x763cc in Rf_allocVector (type=14, length=2) at memory.c:1551
1551      CLASS_GET_FREE_NODE(node_class, s);
(gdb) bactrace
Undefined command: "bactrace".  Try "help".
(gdb) backtrace
#0  0x763cc in Rf_allocVector (type=14, length=2) at memory.c:1551
#1  0x5561c in Rf_duplicate (s=0xbcd6f0) at duplicate.c:140
#2  0x55518 in Rf_duplicate (s=0x99c508) at duplicate.c:133
#3  0x55518 in Rf_duplicate (s=0xc63468) at duplicate.c:133
#4  0x5b958 in do_set (call=0xb72804, op=0x1c6304, args=0xb727cc, rho=0x499a38)
    at eval.c:1012
#5  0x5a114 in Rf_eval (e=0xb72804, rho=0x499a38) at eval.c:317
#6  0x5b300 in do_begin (call=0xb739ac, op=0x1c6294, args=0xb72820,
    rho=0x499a38) at eval.c:803
#7  0x5a114 in Rf_eval (e=0xb739ac, rho=0x499a38) at eval.c:317
#8  0x5a730 in Rf_applyClosure (call=0x49a264, op=0x904f24, arglist=0x4bb21c,
    rho=0x4bb3c0, suppliedenv=0x49a210) at eval.c:501
#9  0x7d770 in applyMethod (call=0x49a264, op=0x904f24, args=0x4bb21c,
    rho=0x4bb3c0, newrho=0x49a210) at objects.c:117
#10 0x7dbd4 in Rf_usemethod (generic=0xefffbdc8 "l", obj=0xbd11a4,
    call=0xb73e20, args=0x160000, rho=0x4bb3c0, ans=0xefffbdc4)
    at objects.c:252
#11 0x7dea4 in do_usemethod (call=0xb6a258, op=0x1d3774, args=0xb6a274,
    env=0x4bb3c0) at objects.c:325
#12 0x5a114 in Rf_eval (e=0xb6a258, rho=0x4bb3c0) at eval.c:317
#13 0x5a730 in Rf_applyClosure (call=0xa21d14, op=0x907a14, arglist=0x4bb21c,
    rho=0x4bb078, suppliedenv=0x1b5300) at eval.c:501
#14 0x5a340 in Rf_eval (e=0xa21d14, rho=0x4bb078) at eval.c:352
#15 0x5bba4 in Rf_evalList (el=0xa21c50, rho=0x4bb078) at eval.c:1087
#16 0x5a244 in Rf_eval (e=0xa21c34, rho=0x4bb078) at eval.c:338
#17 0x5c58c in Rf_DispatchOrEval (call=0xa21ba8, generic=0x10cca0 "c",
    args=0xa21bc4, rho=0x4bb078, ans=0xefffc3c4, dropmissing=1) at eval.c:1386
#18 0x2f144 in do_c (call=0xa21ba8, op=0x1c8168, args=0xa21bc4, env=0x4bb078)
    at bind.c:538
#19 0x5a114 in Rf_eval (e=0xa21ba8, rho=0x4bb078) at eval.c:317
#20 0x5b300 in do_begin (call=0xa21b8c, op=0x1c6294, args=0xa21b70,
    rho=0x4bb078) at eval.c:803
#21 0x5a114 in Rf_eval (e=0xa21b8c, rho=0x4bb078) at eval.c:317
---Type <return> to continue, or q <return> to quit---
#22 0x5a730 in Rf_applyClosure (call=0x4bbc94, op=0x2d32e0, arglist=0x4bbd04,
    rho=0x2d36ec, suppliedenv=0x1b5300) at eval.c:501
#23 0x5a340 in Rf_eval (e=0x4bbc94, rho=0x2d36ec) at eval.c:352
#24 0x38940 in do_docall (call=0x4bbc94, op=0x3, args=0xbcd8b4, rho=0x4bc678)
    at coerce.c:1692
#25 0x7d32c in do_internal (call=0x17f5f0, op=0x1cd010, args=0x4bc6b0,
    env=0x4bc678) at names.c:925
#26 0x5a114 in Rf_eval (e=0x1e488c, rho=0x4bc678) at eval.c:317
#27 0x5a730 in Rf_applyClosure (call=0x9d1c5c, op=0x1e47ac, arglist=0x4bd41c,
    rho=0x2d36ec, suppliedenv=0x1b5300) at eval.c:501
#28 0x5a340 in Rf_eval (e=0x9d1c5c, rho=0x2d36ec) at eval.c:352
#29 0x5bba4 in Rf_evalList (el=0x9d1c40, rho=0x2d36ec) at eval.c:1087
#30 0x5a244 in Rf_eval (e=0x9d1c08, rho=0x2d36ec) at eval.c:338
#31 0x5bba4 in Rf_evalList (el=0x9d1bec, rho=0x2d36ec) at eval.c:1087
#32 0x5a244 in Rf_eval (e=0x9d1bd0, rho=0x2d36ec) at eval.c:338
#33 0x5bba4 in Rf_evalList (el=0x9d1a64, rho=0x2d36ec) at eval.c:1087
#34 0x5a244 in Rf_eval (e=0x9d1a48, rho=0x2d36ec) at eval.c:338
#35 0x5b5dc in applydefine (call=0x9d19f4, op=0x1c6304, args=0x9d1a10,
    rho=0x2d36ec) at eval.c:924
#36 0x5ba68 in do_set (call=0x9d19f4, op=0x1c6304, args=0x9d1a10, rho=0x2d36ec)
    at eval.c:1041
#37 0x5a114 in Rf_eval (e=0x9d19f4, rho=0x2d36ec) at eval.c:317
#38 0x5b300 in do_begin (call=0x9d1644, op=0x1c6294, args=0x9d19d8,
    rho=0x2d36ec) at eval.c:803
#39 0x5a114 in Rf_eval (e=0x9d1644, rho=0x2d36ec) at eval.c:317
#40 0x5ae3c in do_for (call=0x9d194c, op=0x1b4cc4, args=0x9d1968, rho=0x2d36ec)
    at eval.c:678
#41 0x5a114 in Rf_eval (e=0x9d194c, rho=0x2d36ec) at eval.c:317
#42 0x5b300 in do_begin (call=0x9d1820, op=0x1c6294, args=0x9d1930,
    rho=0x2d36ec) at eval.c:803
#43 0x5a114 in Rf_eval (e=0x9d1820, rho=0x2d36ec) at eval.c:317
#44 0x5ae3c in do_for (call=0x9d277c, op=0x1b4cc4, args=0x9d2798, rho=0x2d36ec)
    at eval.c:678
---Type <return> to continue, or q <return> to quit---
#45 0x5a114 in Rf_eval (e=0x9d277c, rho=0x2d36ec) at eval.c:317
#46 0x5b300 in do_begin (call=0x9d0464, op=0x1c6294, args=0x9d2760,
    rho=0x2d36ec) at eval.c:803
#47 0x5a114 in Rf_eval (e=0x9d0464, rho=0x2d36ec) at eval.c:317
#48 0x5a730 in Rf_applyClosure (call=0xa224b4, op=0x9b6598, arglist=0x2d33c0,
    rho=0x2d3ad4, suppliedenv=0x1b5300) at eval.c:501
#49 0x5a340 in Rf_eval (e=0xa224b4, rho=0x2d3ad4) at eval.c:352
#50 0x5b300 in do_begin (call=0xa21a74, op=0x1c6294, args=0xa22498,
    rho=0x2d3ad4) at eval.c:803
#51 0x5a114 in Rf_eval (e=0xa21a74, rho=0x2d3ad4) at eval.c:317
#52 0x5aa28 in do_if (call=0xa22428, op=0x1b4d6c, args=0xa22444, rho=0x2d3ad4)
    at eval.c:591
#53 0x5a114 in Rf_eval (e=0xa22428, rho=0x2d3ad4) at eval.c:317
#54 0x5b300 in do_begin (call=0xa2240c, op=0x1c6294, args=0xa223f0,
    rho=0x2d3ad4) at eval.c:803
#55 0x5a114 in Rf_eval (e=0xa2240c, rho=0x2d3ad4) at eval.c:317
#56 0x5a730 in Rf_applyClosure (call=0x2d38c0, op=0xa5d2a8, arglist=0x2d4488,
    rho=0x2d4728, suppliedenv=0x2d4808) at eval.c:501
#57 0x7d770 in applyMethod (call=0x2d38c0, op=0xa5d2a8, args=0x2d4488,
    rho=0x2d4728, newrho=0x2d4808) at objects.c:117
#58 0x7dbd4 in Rf_usemethod (generic=0xefffe3b0 "span", obj=0xd13c00,
    call=0xa20878, args=0x160000, rho=0x2d4728, ans=0xefffe3ac)
    at objects.c:252
#59 0x7dea4 in do_usemethod (call=0x9d06cc, op=0x1d3774, args=0x9d06e8,
    env=0x2d4728) at objects.c:325
#60 0x5a114 in Rf_eval (e=0x9d06cc, rho=0x2d4728) at eval.c:317
#61 0x5a730 in Rf_applyClosure (call=0xa29e28, op=0x9b67e4, arglist=0x2d4488,
    rho=0x694704, suppliedenv=0x1b5300) at eval.c:501
#62 0x5a340 in Rf_eval (e=0xa29e28, rho=0x694704) at eval.c:352
#63 0x5b934 in do_set (call=0xa29dd4, op=0x1c6304, args=0xa29df0, rho=0x694704)
    at eval.c:1008
#64 0x5a114 in Rf_eval (e=0xa29dd4, rho=0x694704) at eval.c:317
#65 0x5b300 in do_begin (call=0xa23464, op=0x1c6294, args=0xa29db8,
---Type <return> to continue, or q <return> to quit---
    rho=0x694704) at eval.c:803
#66 0x5a114 in Rf_eval (e=0xa23464, rho=0x694704) at eval.c:317
#67 0x5a730 in Rf_applyClosure (call=0x694544, op=0xa5ce10, arglist=0x1b5300,
    rho=0x1d42a8, suppliedenv=0x1b5300) at eval.c:501
#68 0x5a340 in Rf_eval (e=0x694544, rho=0x1d42a8) at eval.c:352
#69 0x7166c in R_ReplConsole (rho=0x1d42a8, savestack=0, browselevel=0)
    at main.c:187
#70 0x71dd0 in run_Rmainloop () at main.c:485
#71 0x71e14 in Rf_mainloop () at main.c:499
#72 0xc8e74 in main (ac=0, av=0xeffff1c4) at system.c:88
(gdb)

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._