octave segfault under AIX/shared
John W. Eaton
jwe at bevo.che.wisc.edu
Mon Dec 3 16:38:04 CST 2007
On 3-Dec-2007, G.. wrote:
|
| It follows the gdb output (dbx seems to be broken):
|
| ----------------------
| GNU gdb 6.7.1
| Copyright (C) 2007 Free Software Foundation, Inc.
| License GPLv3+: GNU GPL version 3 or later
| <http://gnu.org/licenses/gpl.html>
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law. Type "show copying"
| and "show warranty" for details.
| This GDB was configured as "powerpc-ibm-aix5.3.0.0"...
| (gdb) run
| Starting program: /usr/local/octave-2.9.17/src/octave
|
| Program received signal SIGSEGV, Segmentation fault.
| 0xdf9760f0 in std::string::find (this=<incomplete type>, __c=114 'r',
| __pos=<incomplete type>)
| from
| /usr/local/bin/../lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/../../../libstdc++.a(libstdc++.so.6)
| (gdb) where
| #0 0xdf9760f0 in std::string::find (this=<incomplete type>, __c=114 'r',
| __pos=<incomplete type>)
| from
| /usr/local/bin/../lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/../../../libstdc++.a(libstdc++.so.6)
| #1 0x21ad23b4 in file_ops::is_dir_sep (c=114 'r') at file-ops.cc:857
| #2 0x208c8428 in default_history_file () at oct-hist.cc:96
| #3 0x208c8e38 in __static_initialization_and_destruction_0
| (__initialize_p=1, __priority=65535) at oct-hist.cc:170
| #4 0x208c8f90 in global constructors keyed to input_from_tmp_history_file
| () at oct-hist.cc:751
| #5 0x210f4138 in _GLOBAL__FI_liboctinterp_a () from
| /work/gbuerger/octave-2.9.17/src/liboctinterp.a
| #6 0xd039657c in mod_init1 () from /usr/lib/libc.a(shr.o)
| #7 0xd0396460 in __modinit () from /usr/lib/libc.a(shr.o)
| #8 0x100001ac in __start ()
| Backtrace stopped: previous frame inner to this frame (corrupt stack?)
| ----------------------
So Octave is crashing before it is even fully initialized and prints a
prompt?
jwe
More information about the Bug-octave
mailing list