[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #66659] Octave crashes with SIGSEGV when debug
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #66659] Octave crashes with SIGSEGV when debugging class methods |
Date: |
Thu, 16 Jan 2025 11:59:35 -0500 (EST) |
Follow-up Comment #3, bug #66659 (group octave):
I tried to reproduce the issue on Windows, it also crashes here. However, it
seems to be crashing in a different way...
Top of the backtrace from that crash here:
Thread 4 "QThread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 32936.0x7914]
0x0000023300000000 in ?? ()
(gdb) bt
#0 0x0000023300000000 in ?? ()
#1 0x00007fff5af585cb in octave_base_value::as_uint16 (this=0x5a891f8800) at
../libinterp/octave-value/ov-base.cc:204
#2 0x00007fff5b5a7f78 in octave::user_code_provider::user_code_provider
(this=0x5a891f8990, who="get_breakpoint_list", fcn_ident="@my_class/is_zero",
pfcn=0x233a68d08b0, silent=false)
at ../libinterp/parse-tree/bp-table.cc:765
#3 0x00007fff5aff2449 in
octave::bp_table::get_breakpoint_list[abi:cxx11](octave_value_list const&)
(this=0x23386ccc878, fname_list=...) at
../libinterp/parse-tree/bp-table.cc:1249
#4 0x00007fff5b0fb15d in octave::Fdbstatus (interp=..., args=..., nargout=0)
at ../libinterp/corefcn/debug.cc:425
#5 0x00007fff5b039268 in octave::tree_evaluator::execute_builtin_function
(this=0x23386ccc818, builtin_function=..., nargout=0, args=...) at
../libinterp/parse-tree/pt-eval.cc:3554
#6 0x00007fff5af61f5b in octave_builtin::execute (this=0x23391dc33e0, tw=...,
nargout=0, args=...) at ../libinterp/octave-value/ov-builtin.cc:49
#7 0x00007fff5af93530 in octave_function::call (this=0x23391dc33e0, tw=...,
nargout=0, args=...) at ../libinterp/octave-value/ov-fcn.cc:74
#8 0x00007fff5b043bc0 in octave::tree_identifier::evaluate_n
(this=0x233a6811730, tw=..., nargout=0) at
../libinterp/parse-tree/pt-id.cc:128
Fwiw, if Matlab detects that a user would like to save a file which is in the
current dbstack, it asks whether the user would like to stop debugging or
defer saving the file to later.
I don't know if Octave could do something similar...
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66659>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature