[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: segfault and onCleanup()
From: |
Ben Abbott |
Subject: |
Re: segfault and onCleanup() |
Date: |
Thu, 08 Dec 2011 14:06:22 -0500 |
On Dec 8, 2011, at 1:16 PM, John W. Eaton wrote:
> On 8-Dec-2011, Ben Abbott wrote:
>
> | On Dec 8, 2011, at 1:00 PM, John W. Eaton wrote:
> |
> | > On 8-Dec-2011, Ben Abbott wrote:
> | >
> | > | On Dec 8, 2011, at 11:07 AM, John W. Eaton wrote:
> | > |
> | > | > On 8-Dec-2011, Ben Abbott wrote:
> | > | >
> | > | > | With the change above, I still see a segfault.
> | > | > |
> | > | > | panic: Segmentation fault: 11 -- stopping myself...
> | > | > | attempting to save variables to `octave-core'...
> | > | > | terminate called after throwing an instance of 'std::length_error'
> | > | > | what(): basic_string::_S_create
> | > | > | panic: attempted clean up apparently failed -- aborting...
> | > | > | make[1]: *** [check] Abort trap: 6
> | > | > | make: *** [check] Error 2
> | > | > |
> | > | > | I tried (naively?) restoring the patches to ov-typeinfo.cc and
> graphics.cc, but the segfault persists.
> | > | >
> | > | > Is there an onCleanup.oct file from a previous build still present?
> | > | >
> | > | > jwe
> | > |
> | > | After (1) deleted everything named onCleanup.*, (2) maintainter-clean,
> (3) hg pull ; hg update -C, and (4) building octave. I still see a segfault
> (a bit different now).
> | > |
> | > | panic: Segmentation fault: 11 -- stopping myself...
> | > | attempting to save variables to `octave-core'...
> | > | octave(38952,0x7fff72320960) malloc: *** mmap(size=3458773283022905344)
> failed (error code=12)
> | > | *** error: can't allocate region
> | > | *** set a breakpoint in malloc_error_break to debug
> | > | terminate called after throwing an instance of 'std::bad_alloc'
> | > | what(): std::bad_alloc
> | > | panic: attempted clean up apparently failed -- aborting...
> | > | make[1]: *** [check] Abort trap: 6
> | > | make: *** [check] Error 2
> | >
> | > Does this happen when starting Octave? Exiting? Running tests?
> | >
> | > | >From gdb ...
> | > |
> | > | Program received signal EXC_BAD_ACCESS, Could not access memory.
> | > | Reason: KERN_INVALID_ADDRESS at address: 0x0000000111f23118
> | > | 0x00000001001ee9d7 in std::_Rb_tree<std::string, std::pair<std::string
> const, graphics_toolkit>, std::_Select1st<std::pair<std::string const,
> graphics_toolkit> >, std::less<std::string>,
> std::allocator<std::pair<std::string const, graphics_toolkit> > >::_M_erase ()
> | > | (gdb) bt
> | > | #0 0x00000001001ee9d7 in std::_Rb_tree<std::string,
> std::pair<std::string const, graphics_toolkit>,
> std::_Select1st<std::pair<std::string const, graphics_toolkit> >,
> std::less<std::string>, std::allocator<std::pair<std::string const,
> graphics_toolkit> > >::_M_erase ()
> | > | #1 0x00007fff8526c7c8 in __cxa_finalize ()
> | > | #2 0x00007fff8526c652 in exit ()
> | > | #3 0x00000001003918ff in clean_up_and_exit ()
> | > | #4 0x0000000100392420 in main_loop ()
> | > | #5 0x0000000100324fdf in octave_main ()
> | > | #6 0x0000000100000f44 in start ()
> | >
> | > Are you building without -g?
> | >
> | > If this really is a case of an uncaught bad_alloc exception, then we
> | > need to know where it is thrown. In gdb, do
> | >
> | > (gdb) catch throw
> | >
> | > then trigger the bug and gdb should stop at the point where the
> | > exception is thrown.
> | >
> | > jwe
> |
> | I had noticed that I have a problem with the debug info ... First, "catch
> throw" gives me ...
> |
> | >> fntests
> | Reading symbols for shared libraries . done
> |
> | Integrated test scripts:
> |
> | Reading symbols for shared libraries . done
> | Reading symbols for shared libraries . done
> | Reading symbols for shared libraries . done
> | Reading symbols for shared libraries . done
> | Reading symbols for shared libraries . done
> | src/DLD-FUNCTIONS/__contourc__.cc ...................... PASS 1/1
> | src/DLD-FUNCTIONS/__delaunayn__.cc ..................... PASS 1/1
> | src/DLD-FUNCTIONS/__dispatch__.cc ...................... PASS 1/1
> | src/DLD-FUNCTIONS/__dsearchn__.cc ...................... PASS 1/1
> | src/DLD-FUNCTIONS/__fltk_uigetfile__.cc ................ PASS 1/1
> | src/DLD-FUNCTIONS/__glpk__.cc .......................... PASS 1/1
> | src/DLD-FUNCTIONS/__lin_interpn__.cc ................... PASS 1/1
> | src/DLD-FUNCTIONS/__magick_read__.cc ................... PASS 4/4
> | src/DLD-FUNCTIONS/__pchip_deriv__.cc ................... PASS 1/1
> | src/DLD-FUNCTIONS/__qp__.cc ............................ PASS 1/1
> | src/DLD-FUNCTIONS/__voronoi__.cc ....................... PASS 1/1
> | src/DLD-FUNCTIONS/besselj.cc ...........................Reading symbols
> for shared libraries . done
> | PASS 180/180
> | src/DLD-FUNCTIONS/betainc.cc ...........................Reading symbols
> for shared libraries . done
> | PASS 6/6
> | src/DLD-FUNCTIONS/bsxfun.cc ............................Reading symbols
> for shared libraries . done
> | Reading symbols for shared libraries . done
> |
> | Catchpoint 1 (exception thrown).
> | Catchpoint 1 (exception caught), throw location unknown, catch location
> unknown, exception type octave_execution_exception
> | 0x00000001071c603d in __cxa_throw ()
>
> So this crash is happening because an exception is thrown somewhere
> and isn't caught, not when quit is called explicitly? So maybe this
> is not related to my recent changes since I would expect a problem due
> to that to only happen when quit is called to exit Octave.
>
> | Second, regarding the debug info, I'm missing something that should be
> obvious. My configure script is below, can you (someone?) spot what I've done
> wrong?
> |
> | export PREFIX=/opt/local
> | export CC=/opt/local/bin/gcc-mp-4.5
> | export CXX=/opt/local/bin/g++-mp-4.5
> | export CXXCPP="/opt/local/bin/g++-mp-4.5 -E"
> | export F77=/opt/local/bin/gfortran-mp-4.5
> | export FC=/opt/local/bin/gfortran-mp-4.5
> | export CXXFLAGS="-pipe -O2 -g -m64 -gstabs"
> | export FFLAGS="$CXXFLAGS -D_THREAD_SAFE -pthread -gstabs"
> | export CFLAGS="$FFLAGS -lstdc++"
> | export LDFLAGS=-L$PREFIX/lib
> | export CPPFLAGS=-I$PREFIX/include
> | export BLAS_LIBS="-lcblas -lf77blas -latlas"
> | export LAPACK_LIBS=-llapack
> |
> | ./configure --prefix="/opt/local" --without-framework-carbon --with-x \
> | --with-cholmod="-lcholmod -lmetis"
>
> Why did you choose -gstabs? I don't know what is best for your
> system, but I always use -ggdb3:
Ok. Thanks!
I now see a seg-fault without needing to run the tests.
./run-octave -g
<snip>
(gdb) catch throw
<snip>
(gdb) run
<snip>
quit
Catchpoint 1 (exception thrown).
Catchpoint 1 (exception caught), throw location misc/quit.cc:57, catch location
unknown, exception type octave_interrupt_exception
0x000000010362c03d in __cxa_throw ()
(gdb) bt
#0 0x000000010362c03d in __cxa_throw ()
#1 0x0000000102f37d5d in octave_throw_interrupt_exception () at misc/quit.cc:57
#2 0x000000010038f453 in Fquit (address@hidden) at toplev.cc:723
#3 0x000000010040a4cc in octave_builtin::do_multi_index_op (this=0x104784940,
nargout=0, address@hidden, lvalue_list=0x7fff5fbfd870) at ov-builtin.cc:131
#4 0x000000010040abc4 in octave_builtin::do_multi_index_op (this=<value
temporarily unavailable, due to optimizations>, nargout=<value temporarily
unavailable, due to optimizations>, args=<value temporarily unavailable, due to
optimizations>) at ov-builtin.cc:99
#5 0x00000001004f07d9 in octave_value::do_multi_index_op (this=<value
temporarily unavailable, due to optimizations>, nargout=<value temporarily
unavailable, due to optimizations>, idx=<value temporarily unavailable, due to
optimizations>) at ov.cc:1268
#6 0x00000001005a871d in tree_identifier::rvalue (this=0x1051469f0, nargout=0)
at pt-id.cc:85
#7 0x00000001005a4d49 in tree_identifier::rvalue1 (this=0x1051469f0,
nargout=0) at pt-id.cc:106
#8 0x0000000100597d3b in tree_evaluator::visit_statement (this=<value
temporarily unavailable, due to optimizations>, stmt=<value temporarily
unavailable, due to optimizations>) at pt-eval.cc:739
#9 0x0000000100596f43 in tree_evaluator::visit_statement_list
(this=0x100c79780, address@hidden) at pt-eval.cc:775
#10 0x000000010039213e in main_loop () at toplev.cc:595
#11 0x0000000100324fdf in octave_main (argc=<value temporarily unavailable, due
to optimizations>, argv=<value temporarily unavailable, due to optimizations>,
embedded=0) at octave.cc:938
#12 0x0000000100000f44 in start ()
(gdb)
When try to run the tests ...
<snip>
src/DLD-FUNCTIONS/bsxfun.cc ............................Reading symbols for
shared libraries . done
Reading symbols for shared libraries . done
Catchpoint 1 (exception thrown).
Catchpoint 1 (exception caught), throw location misc/quit.cc:67, catch location
unknown, exception type octave_execution_exception
0x000000010362c03d in __cxa_throw ()
(gdb) bt
#0 0x000000010362c03d in __cxa_throw ()
#1 0x0000000102f37dbc in octave_throw_execution_exception () at misc/quit.cc:67
#2 0x000000010031c0d7 in lo_error_handler (fmt=<value temporarily unavailable,
due to optimizations>) at octave.cc:575
#3 0x0000000100061e94 in do_bsxfun_op<double, double, double> (address@hidden,
address@hidden, op_vv=0x10153b8d0 <mx_inline_sub<double, double, double>>,
op_sv=0x10153b810 <mx_inline_sub<double, double, double>>, op_vs=0x10153b750
<mx_inline_sub<double, double, double>>) at bsxfun-defs.cc:58
#4 0x000000010173001f in bsxfun_sub (x=<value temporarily unavailable, due to
optimizations>, y=<value temporarily unavailable, due to optimizations>) at
dNDArray.cc:929
#5 0x0000000105f8121c in bsxfun_forward_op<NDArray, bsxfun_sub> (x=<value
temporarily unavailable, due to optimizations>, y=<value temporarily
unavailable, due to optimizations>) at DLD-FUNCTIONS/bsxfun.cc:103
#6 0x0000000105f8cdd9 in Fbsxfun (args=<value temporarily unavailable, due to
optimizations>) at DLD-FUNCTIONS/bsxfun.cc:216
#7 0x000000010040a4cc in octave_builtin::do_multi_index_op (this=0x10a300420,
nargout=0, address@hidden, lvalue_list=0x7fff5fbf8d50) at ov-builtin.cc:131
#8 0x0000000100409329 in octave_builtin::subsref (this=0x10a300420,
address@hidden, address@hidden, nargout=0, lvalue_list=0x0) at ov-builtin.cc:64
#9 0x000000010040a124 in octave_builtin::subsref (this=<value temporarily
unavailable, due to optimizations>, type=<value temporarily unavailable, due to
optimizations>, idx=<value temporarily unavailable, due to optimizations>,
nargout=<value temporarily unavailable, due to optimizations>) at
ov-builtin.cc:47
#10 0x00000001004fa00e in octave_value::subsref (this=<value temporarily
unavailable, due to optimizations>, type=<value temporarily unavailable, due to
optimizations>, idx=<value temporarily unavailable, due to optimizations>,
nargout=<value temporarily unavailable, due to optimizations>) at ov.cc:1203
#11 0x00000001004fa0a5 in octave_value::subsref (this=<value temporarily
unavailable, due to optimizations>, type=<value temporarily unavailable, due to
optimizations>, idx=<value temporarily unavailable, due to optimizations>,
nargout=<value temporarily unavailable, due to optimizations>,
lvalue_list=<value temporarily unavailable, due to optimizations>) at ov.cc:1214
#12 0x00000001005b4054 in tree_index_expression::rvalue (this=<value
temporarily unavailable, due to optimizations>, nargout=0, lvalue_list=0x0) at
pt-idx.cc:414
#13 0x00000001005b5793 in tree_index_expression::rvalue (this=<value
temporarily unavailable, due to optimizations>, nargout=<value temporarily
unavailable, due to optimizations>) at pt-idx.cc:284
#14 0x00000001005ad429 in tree_index_expression::rvalue1 (this=0x105957640,
nargout=0) at pt-idx.cc:425
#15 0x0000000100597d3b in tree_evaluator::visit_statement (this=<value
temporarily unavailable, due to optimizations>, stmt=<value temporarily
unavailable, due to optimizations>) at pt-eval.cc:739
#16 0x0000000100596f43 in tree_evaluator::visit_statement_list
(this=0x100c79780, address@hidden) at pt-eval.cc:775
#17 0x00000001004eb083 in octave_user_function::do_multi_index_op
(this=0x105957910, nargout=0, args=<value temporarily unavailable, due to
optimizations>, lvalue_list=0x0) at ov-usr-fcn.cc:475
#18 0x00000001004e5d42 in octave_user_function::subsref (this=0x105957910,
address@hidden, address@hidden, nargout=0, lvalue_list=0x0) at ov-usr-fcn.cc:327
#19 0x00000001004e6284 in octave_user_function::subsref (this=<value
temporarily unavailable, due to optimizations>, type=<value temporarily
unavailable, due to optimizations>, idx=<value temporarily unavailable, due to
optimizations>, nargout=<value temporarily unavailable, due to optimizations>)
at ov-usr-fcn.cc:310
#20 0x00000001004fa00e in octave_value::subsref (this=<value temporarily
unavailable, due to optimizations>, type=<value temporarily unavailable, due to
optimizations>, idx=<value temporarily unavailable, due to optimizations>,
nargout=<value temporarily unavailable, due to optimizations>) at ov.cc:1203
#21 0x00000001004fa0a5 in octave_value::subsref (this=<value temporarily
unavailable, due to optimizations>, type=<value temporarily unavailable, due to
optimizations>, idx=<value temporarily unavailable, due to optimizations>,
nargout=<value temporarily unavailable, due to optimizations>,
lvalue_list=<value temporarily unavailable, due to optimizations>) at ov.cc:1214
#22 0x00000001005b4054 in tree_index_expression::rvalue (this=<value
temporarily unavailable, due to optimizations>, nargout=0, lvalue_list=0x0) at
pt-idx.cc:414
#23 0x00000001005b5793 in tree_index_expression::rvalue (this=<value
temporarily unavailable, due to optimizations>, nargout=<value temporarily
unavailable, due to optimizations>) at pt-idx.cc:284
#24 0x00000001002ae618 in eval_string (address@hidden, silent=false,
address@hidden, nargout=0) at oct-parse.yy:4383
#25 0x00000001002ae8c5 in eval_string (silent=false, address@hidden, nargout=0)
at oct-parse.yy:4436
#26 0x00000001002aedea in Feval (address@hidden, nargout=0) at oct-parse.yy:4494
#27 0x000000010040a4cc in octave_builtin::do_multi_index_op (this=0x10476c1e0,
nargout=0, address@hidden, lvalue_list=0x7fff5fbf9ee0) at ov-builtin.cc:131
#28 0x0000000100409329 in octave_builtin::subsref (this=0x10476c1e0,
address@hidden, address@hidden, nargout=0, lvalue_list=0x0) at ov-builtin.cc:64
#29 0x000000010040a124 in octave_builtin::subsref (this=<value temporarily
unavailable, due to optimizations>, type=<value temporarily unavailable, due to
optimizations>, idx=<value temporarily unavailable, due to optimizations>,
nargout=<value temporarily unavailable, due to optimizations>) at
ov-builtin.cc:47
#30 0x00000001004fa00e in octave_value::subsref (this=<value temporarily
unavailable, due to optimizations>, type=<value temporarily unavailable, due to
optimizations>, idx=<value temporarily unavailable, due to optimizations>,
nargout=<value temporarily unavailable, due to optimizations>) at ov.cc:1203
#31 0x00000001004fa0a5 in octave_value::subsref (this=<value temporarily
unavailable, due to optimizations>, type=<value temporarily unavailable, due to
optimizations>, idx=<value temporarily unavailable, due to optimizations>,
nargout=<value temporarily unavailable, due to optimizations>,
lvalue_list=<value temporarily unavailable, due to optimizations>) at ov.cc:1214
#32 0x00000001005b4054 in tree_index_expression::rvalue (this=<value
temporarily unavailable, due to optimizations>, nargout=0, lvalue_list=0x0) at
pt-idx.cc:414
#33 0x00000001005b5793 in tree_index_expression::rvalue (this=<value
temporarily unavailable, due to optimizations>, nargout=<value temporarily
unavailable, due to optimizations>) at pt-idx.cc:284
#34 0x00000001005ad429 in tree_index_expression::rvalue1 (this=0x106a28e00,
nargout=0) at pt-idx.cc:425
#35 0x0000000100597d3b in tree_evaluator::visit_statement (this=<value
temporarily unavailable, due to optimizations>, stmt=<value temporarily
unavailable, due to optimizations>) at pt-eval.cc:739
#36 0x0000000100596f43 in tree_evaluator::visit_statement_list
(this=0x100c79780, address@hidden) at pt-eval.cc:775
#37 0x00000001005967f8 in tree_evaluator::visit_try_catch_command
(this=0x100c79780, address@hidden) at pt-eval.cc:891
#38 0x0000000100597c61 in tree_evaluator::visit_statement (this=<value
temporarily unavailable, due to optimizations>, stmt=<value temporarily
unavailable, due to optimizations>) at pt-eval.cc:709
#39 0x0000000100596f43 in tree_evaluator::visit_statement_list
(this=0x100c79780, address@hidden) at pt-eval.cc:775
#40 0x0000000100597c61 in tree_evaluator::visit_statement (this=<value
temporarily unavailable, due to optimizations>, stmt=<value temporarily
unavailable, due to optimizations>) at pt-eval.cc:709
#41 0x0000000100596f43 in tree_evaluator::visit_statement_list
(this=0x100c79780, address@hidden) at pt-eval.cc:775
#42 0x0000000100597c61 in tree_evaluator::visit_statement (this=<value
temporarily unavailable, due to optimizations>, stmt=<value temporarily
unavailable, due to optimizations>) at pt-eval.cc:709
#43 0x0000000100596f43 in tree_evaluator::visit_statement_list
(this=0x100c79780, address@hidden) at pt-eval.cc:775
#44 0x0000000100598f5d in tree_evaluator::visit_simple_for_command
(this=0x100c79780, cmd=<value temporarily unavailable, due to optimizations>)
at pt-eval.cc:344
#45 0x0000000100597c61 in tree_evaluator::visit_statement (this=<value
temporarily unavailable, due to optimizations>, stmt=<value temporarily
unavailable, due to optimizations>) at pt-eval.cc:709
#46 0x0000000100596f43 in tree_evaluator::visit_statement_list
(this=0x100c79780, address@hidden) at pt-eval.cc:775
#47 0x00000001004eb083 in octave_user_function::do_multi_index_op
(this=0x106a150a0, nargout=4, args=<value temporarily unavailable, due to
optimizations>, lvalue_list=0x7fff5fbfb500) at ov-usr-fcn.cc:475
#48 0x00000001004e5d42 in octave_user_function::subsref (this=0x106a150a0,
address@hidden, address@hidden, nargout=4, lvalue_list=0x7fff5fbfb500) at
ov-usr-fcn.cc:327
#49 0x00000001004fa08e in octave_value::subsref (this=<value temporarily
unavailable, due to optimizations>, type=<value temporarily unavailable, due to
optimizations>, idx=<value temporarily unavailable, due to optimizations>,
nargout=<value temporarily unavailable, due to optimizations>,
lvalue_list=<value temporarily unavailable, due to optimizations>) at ov.cc:1212
#50 0x00000001005b4054 in tree_index_expression::rvalue (this=<value
temporarily unavailable, due to optimizations>, nargout=4,
lvalue_list=0x7fff5fbfb500) at pt-idx.cc:414
#51 0x0000000100585474 in tree_multi_assignment::rvalue (this=0x106d9f160) at
pt-assign.cc:369
#52 0x00000001005842e9 in tree_multi_assignment::rvalue1 (this=0x106d9f160,
nargout=0) at pt-assign.cc:324
#53 0x0000000100597d3b in tree_evaluator::visit_statement (this=<value
temporarily unavailable, due to optimizations>, stmt=<value temporarily
unavailable, due to optimizations>) at pt-eval.cc:739
#54 0x0000000100596f43 in tree_evaluator::visit_statement_list
(this=0x100c79780, address@hidden) at pt-eval.cc:775
#55 0x0000000100597c61 in tree_evaluator::visit_statement (this=<value
temporarily unavailable, due to optimizations>, stmt=<value temporarily
unavailable, due to optimizations>) at pt-eval.cc:709
#56 0x0000000100596f43 in tree_evaluator::visit_statement_list
(this=0x100c79780, address@hidden) at pt-eval.cc:775
#57 0x0000000100597c61 in tree_evaluator::visit_statement (this=<value
temporarily unavailable, due to optimizations>, stmt=<value temporarily
unavailable, due to optimizations>) at pt-eval.cc:709
#58 0x0000000100596f43 in tree_evaluator::visit_statement_list
(this=0x100c79780, address@hidden) at pt-eval.cc:775
#59 0x0000000100598f5d in tree_evaluator::visit_simple_for_command
(this=0x100c79780, cmd=<value temporarily unavailable, due to optimizations>)
at pt-eval.cc:344
#60 0x0000000100597c61 in tree_evaluator::visit_statement (this=<value
temporarily unavailable, due to optimizations>, stmt=<value temporarily
unavailable, due to optimizations>) at pt-eval.cc:709
#61 0x0000000100596f43 in tree_evaluator::visit_statement_list
(this=0x100c79780, address@hidden) at pt-eval.cc:775
#62 0x00000001004eb083 in octave_user_function::do_multi_index_op
(this=0x106da1a70, nargout=4, args=<value temporarily unavailable, due to
optimizations>, lvalue_list=0x7fff5fbfc400) at ov-usr-fcn.cc:475
#63 0x00000001004e5d42 in octave_user_function::subsref (this=0x106da1a70,
address@hidden, address@hidden, nargout=4, lvalue_list=0x7fff5fbfc480) at
ov-usr-fcn.cc:327
#64 0x00000001004fa08e in octave_value::subsref (this=<value temporarily
unavailable, due to optimizations>, type=<value temporarily unavailable, due to
optimizations>, idx=<value temporarily unavailable, due to optimizations>,
nargout=<value temporarily unavailable, due to optimizations>,
lvalue_list=<value temporarily unavailable, due to optimizations>) at ov.cc:1212
#65 0x00000001005b4054 in tree_index_expression::rvalue (this=<value
temporarily unavailable, due to optimizations>, nargout=4,
lvalue_list=0x7fff5fbfc480) at pt-idx.cc:414
#66 0x0000000100585474 in tree_multi_assignment::rvalue (this=0x106d97300) at
pt-assign.cc:369
#67 0x00000001005842e9 in tree_multi_assignment::rvalue1 (this=0x106d97300,
nargout=0) at pt-assign.cc:324
#68 0x0000000100597d3b in tree_evaluator::visit_statement (this=<value
temporarily unavailable, due to optimizations>, stmt=<value temporarily
unavailable, due to optimizations>) at pt-eval.cc:739
#69 0x0000000100596f43 in tree_evaluator::visit_statement_list
(this=0x100c79780, address@hidden) at pt-eval.cc:775
#70 0x0000000100597c61 in tree_evaluator::visit_statement (this=<value
temporarily unavailable, due to optimizations>, stmt=<value temporarily
unavailable, due to optimizations>) at pt-eval.cc:709
#71 0x0000000100596f43 in tree_evaluator::visit_statement_list
(this=0x100c79780, address@hidden) at pt-eval.cc:775
#72 0x0000000100598f5d in tree_evaluator::visit_simple_for_command
(this=0x100c79780, cmd=<value temporarily unavailable, due to optimizations>)
at pt-eval.cc:344
#73 0x0000000100597c61 in tree_evaluator::visit_statement (this=<value
temporarily unavailable, due to optimizations>, stmt=<value temporarily
unavailable, due to optimizations>) at pt-eval.cc:709
#74 0x0000000100596f43 in tree_evaluator::visit_statement_list
(this=0x100c79780, address@hidden) at pt-eval.cc:775
#75 0x00000001004eb083 in octave_user_function::do_multi_index_op
(this=0x106da1a70, nargout=4, args=<value temporarily unavailable, due to
optimizations>, lvalue_list=0x7fff5fbfd300) at ov-usr-fcn.cc:475
#76 0x00000001004e5d42 in octave_user_function::subsref (this=0x106da1a70,
address@hidden, address@hidden, nargout=4, lvalue_list=0x7fff5fbfd350) at
ov-usr-fcn.cc:327
#77 0x00000001004fa08e in octave_value::subsref (this=<value temporarily
unavailable, due to optimizations>, type=<value temporarily unavailable, due to
optimizations>, idx=<value temporarily unavailable, due to optimizations>,
nargout=<value temporarily unavailable, due to optimizations>,
lvalue_list=<value temporarily unavailable, due to optimizations>) at ov.cc:1212
#78 0x00000001005b4054 in tree_index_expression::rvalue (this=<value
temporarily unavailable, due to optimizations>, nargout=4,
lvalue_list=0x7fff5fbfd350) at pt-idx.cc:414
#79 0x0000000100585474 in tree_multi_assignment::rvalue (this=0x106db83f0) at
pt-assign.cc:369
#80 0x00000001005842e9 in tree_multi_assignment::rvalue1 (this=0x106db83f0,
nargout=0) at pt-assign.cc:324
#81 0x0000000100597d3b in tree_evaluator::visit_statement (this=<value
temporarily unavailable, due to optimizations>, stmt=<value temporarily
unavailable, due to optimizations>) at pt-eval.cc:739
#82 0x0000000100596f43 in tree_evaluator::visit_statement_list
(this=0x100c79780, address@hidden) at pt-eval.cc:775
#83 0x0000000100598f5d in tree_evaluator::visit_simple_for_command
(this=0x100c79780, cmd=<value temporarily unavailable, due to optimizations>)
at pt-eval.cc:344
#84 0x0000000100597c61 in tree_evaluator::visit_statement (this=<value
temporarily unavailable, due to optimizations>, stmt=<value temporarily
unavailable, due to optimizations>) at pt-eval.cc:709
#85 0x0000000100596f43 in tree_evaluator::visit_statement_list
(this=0x100c79780, address@hidden) at pt-eval.cc:775
#86 0x00000001005967f8 in tree_evaluator::visit_try_catch_command
(this=0x100c79780, address@hidden) at pt-eval.cc:891
#87 0x0000000100597c61 in tree_evaluator::visit_statement (this=<value
temporarily unavailable, due to optimizations>, stmt=<value temporarily
unavailable, due to optimizations>) at pt-eval.cc:709
#88 0x0000000100596f43 in tree_evaluator::visit_statement_list
(this=0x100c79780, address@hidden) at pt-eval.cc:775
#89 0x00000001004e9fe0 in octave_user_script::do_multi_index_op
(this=0x106dc7bd0, nargout=0, args=<value temporarily unavailable, due to
optimizations>) at ov-usr-fcn.cc:138
#90 0x00000001004f07d9 in octave_value::do_multi_index_op (this=<value
temporarily unavailable, due to optimizations>, nargout=<value temporarily
unavailable, due to optimizations>, idx=<value temporarily unavailable, due to
optimizations>) at ov.cc:1268
#91 0x00000001005a871d in tree_identifier::rvalue (this=0x106d5b030, nargout=0)
at pt-id.cc:85
#92 0x00000001005a4d49 in tree_identifier::rvalue1 (this=0x106d5b030,
nargout=0) at pt-id.cc:106
#93 0x0000000100597d3b in tree_evaluator::visit_statement (this=<value
temporarily unavailable, due to optimizations>, stmt=<value temporarily
unavailable, due to optimizations>) at pt-eval.cc:739
#94 0x0000000100596f43 in tree_evaluator::visit_statement_list
(this=0x100c79780, address@hidden) at pt-eval.cc:775
#95 0x000000010039213e in main_loop () at toplev.cc:595
#96 0x0000000100324fdf in octave_main (argc=<value temporarily unavailable, due
to optimizations>, argv=<value temporarily unavailable, due to optimizations>,
embedded=0) at octave.cc:938
#97 0x0000000100000f44 in start ()
(gdb)
Ben
- Re: segfault and onCleanup(), (continued)
- Re: segfault and onCleanup(), Ben Abbott, 2011/12/08
- Re: segfault and onCleanup(), John W. Eaton, 2011/12/08
- Re: segfault and onCleanup(), Ben Abbott, 2011/12/08
- Re: segfault and onCleanup(), John W. Eaton, 2011/12/08
- Re: segfault and onCleanup(), Ben Abbott, 2011/12/08
- Re: segfault and onCleanup(), John W. Eaton, 2011/12/08
- Re: segfault and onCleanup(), Rik, 2011/12/08
- Re: segfault and onCleanup(), John W. Eaton, 2011/12/08
- Re: segfault and onCleanup(), Rik, 2011/12/08
- Re: segfault and onCleanup(), Rik, 2011/12/08
- Re: segfault and onCleanup(),
Ben Abbott <=
- Re: segfault and onCleanup(), John W. Eaton, 2011/12/08
- Re: segfault and onCleanup(), Ben Abbott, 2011/12/08
- Re: segfault and onCleanup(), John W. Eaton, 2011/12/08
- Re: segfault and onCleanup(), Rik, 2011/12/08
- Re: segfault and onCleanup(), John W. Eaton, 2011/12/08
- Re: segfault and onCleanup(), Ben Abbott, 2011/12/08
- segfault cleaning up graphics objects, John W. Eaton, 2011/12/08
- Re: segfault cleaning up graphics objects, Tatsuro MATSUOKA, 2011/12/08
- segfault cleaning up graphics objects, John W. Eaton, 2011/12/09
- Re: segfault and onCleanup(), John W. Eaton, 2011/12/08