[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

seg fault using octave with RH 6.0

From: Timothy H. Keitt
Subject: seg fault using octave with RH 6.0
Date: Wed, 12 May 1999 11:56:56 -0700


Anyone know what is going on with the back trace below?
I keep getting seg fault when I load one of my compiled
.oct file into octave.  Its odd because it only happens
with one routine and not any others.  (This particular
routine uses both set<> and map<,> from the STL.)  My
guess is that memory is getting corrupted somewhere.
The same code ran fine on RH 5.2.


#0  chunk_free (ar_ptr=0x405e1580, p=0x812f230) at malloc.c:2958
#1  0x40551505 in __libc_free (mem=0x812f238) at malloc.c:2932
#2  0x404e7f6e in __builtin_delete (ptr=0x812f238)
#3  0x401ab2df in Array<double>::ArrayRep::~ArrayRep (this=0x812f238,
    __in_chrg=3) at Array.h:76
#4  0x401ab31e in Array<double>::~Array (this=0x80cab98, __in_chrg=2)
#5  0x8081e92 in Array2<double>::~Array2 (this=0x80cab98, __in_chrg=2)
    at ../liboctave/Array2.h:97
#6  0x8081e76 in MArray2<double>::~MArray2 (this=0x80cab98, __in_chrg=2)
    at ../liboctave/MArray2.h:115
#7  0x8081a3a in Matrix::~Matrix (this=0x80cab98, __in_chrg=2) at oct-obj.h:137
#8  0x400ea8ce in octave_matrix::~octave_matrix (this=0x80cab90, __in_chrg=3)
    at ov-re-mat.h:72
#9  0x400f2aec in octave_value::~octave_value (this=0x80bbff4, __in_chrg=2)
#10 0x400b5ed4 in tree_constant::~tree_constant (this=0x80bbfe0, __in_chrg=3)
    at pt-const.h:148
#11 0x400cfb29 in symbol_record::define (this=0x80d0e60, t=0x80bc060)
#12 0x400bc0ee in tree_identifier::assign (this=0x812dda0, address@hidden)
#13 0x400dcdb9 in octave_variable_reference::assign (this=0xbffff8a0,
    address@hidden) at
#14 0x400b8f42 in tree_simple_assignment_expression::eval (this=0xbffff8e0,
    print=false) at
#15 0x400e1030 in bind_ans (address@hidden, print=0) at
#16 0x400bca8d in tree_identifier::eval (this=0x812f280, print=false,
    nargout=0, address@hidden) at
#17 0x400bcf76 in tree_indirect_ref::eval (this=0x812f5b0, print=false,
    nargout=1, address@hidden) at
#18 0x400c39af in tree_index_expression::eval (this=0x812f590, print=false)
#19 0x400c190b in tree_statement_list::eval (this=0x812f5f8, print=true)
#20 0x400d76c1 in main_loop () at
#21 0x80582ee in main (argc=1, argv=0xbffffb44) at
#22 0x40510cb3 in __libc_start_main (main=0x80579f4 <main>, argc=1,
    argv=0xbffffb44, init=0x80553b0 <_init>, fini=0x8081f30 <_fini>,
    rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffb3c)
    at ../sysdeps/generic/libc-start.c:78

Timothy H. Keitt
National Center for Ecological Analysis and Synthesis
735 State Street, Suite 300, Santa Barbara, CA 93101
Phone: 805-892-2519, FAX: 805-892-2510

reply via email to

[Prev in Thread] Current Thread [Next in Thread]