[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compile CVS with gcc-3.2.0 causes segfault on quit
From: |
Jonathan Drews |
Subject: |
Compile CVS with gcc-3.2.0 causes segfault on quit |
Date: |
Sun, 18 Aug 2002 20:52:04 -0500 |
User-agent: |
KMail/1.4.2 |
Hi:
I compiled the CVS version of Octave with gcc-3.2.0. Actually this is the
software I have installed for compiling it:
automake-1.4-21.p6.mdk
autoconf-2.13-14mdk
flex-2.5.4a-20mdk
bison-1.35-3mdk
make-3.79.1-10mdk
It runs fine but gives a segfault on quitting. Any ideas for a cure? Here is
the backtrace.
(gdb) run
Starting program: /home/beta3/octave/src/octave
GNU Octave, version 2.1.36 (i686-pc-linux-gnu).
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 John W. Eaton.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Report bugs to <address@hidden>.
octave:1> 1+5
ans = 6
octave:2> 1+5j
ans = 1 + 5i
octave:3> ans*j
ans = -5 + 1i
octave:4> quit
Program received signal SIGSEGV, Segmentation fault.
~Array (this=0x84e15f0) at /usr/include/c++/3.2/bits/basic_string.h:229
229 { return _M_dataplus._M_p; }
(gdb) where
#0 ~Array (this=0x84e15f0) at /usr/include/c++/3.2/bits/basic_string.h:229
#1 0x08161554 in __tcf_13 () at ../liboctave/str-vec.h:67
#2 0x401d3ac1 in exit () from /lib/i686/libc.so.6
#3 0x081d7034 in clean_up_and_exit(int) () at toplev.cc:186
#4 0x081d7688 in Fquit(octave_value_list const&, int) (address@hidden,
nargout=0) at toplev.cc:280
#5 0x0820c326 in octave_builtin::do_multi_index_op(int, octave_value_list
const&) (this=0xffffffff, nargout=0, address@hidden)
at oct-obj.h:107
#6 0x08203fc0 in octave_value::do_multi_index_op(int, octave_value_list
const&) (this=0xffffffff, nargout=0, address@hidden) at ov.cc:599
#7 0x08235213 in tree_identifier::rvalue(int) (this=0x862cdd0, nargout=0) at
oct-obj.h:107
#8 0x0824e4ad in tree_statement::eval(bool, int, bool) (this=0x862cdf0,
silent=false, nargout=0, in_function_body=true) at oct-obj.h:107
#9 0x0824e812 in tree_statement_list::eval(bool, int) (this=0x862ce08,
silent=false, nargout=0) at oct-obj.h:107
#10 0x081d6f0b in main_loop() () at toplev.cc:132
#11 0x080de65a in main (argc=1, argv=0xbffff794) at octave.cc:583
#12 0x401c0082 in __libc_start_main () from /lib/i686/libc.so.6
(gdb)
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- Compile CVS with gcc-3.2.0 causes segfault on quit,
Jonathan Drews <=