octave-maintainers
[Top][All Lists]
Advanced

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

Re: segfault and onCleanup()


From: John W. Eaton
Subject: Re: segfault and onCleanup()
Date: Thu, 8 Dec 2011 14:30:10 -0500

On  8-Dec-2011, Ben Abbott wrote:

| 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
| ...
| #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 ()

The code in main_loop is also supposed to catch execution exceptions.
Is that not happening for you in this case?  If you also use the gdb
command "catch catch" to stop when the exception is caught, does it
show you that this exception is caught somewhere?  If you continue on
from there, do you generate a segfault at some point?  Is there an
exception that is thrown but not caught?

jwe


reply via email to

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