octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #61994] Crash on GUI exiting with octave_base_


From: John Donoghue
Subject: [Octave-bug-tracker] [bug #61994] Crash on GUI exiting with octave_base_value objects still open.
Date: Sat, 5 Feb 2022 12:58:58 -0500 (EST)

Follow-up Comment #1, bug #61994 (project octave):


Thread 1 "octave-gui" received signal SIGSEGV, Segmentation fault.
0x00007f4fa43d1cb2 in octave_value::~octave_value (this=0x7f4f3c7c0520,
__in_chrg=<optimized out>) at ../libinterp/octave-value/ov.h:387
387           delete m_rep;
(gdb) p m_rep
$1 = (octave_base_value *) 0x7f4f3c7b3760
(gdb) p m_rep->count
$2 = {m_count = {<std::__atomic_base<long>> = {static _S_alignment = 8, _M_i =
0}, static is_always_lock_free = true}}
(gdb) 
 

Call stack


(gdb) where
#0  0x00007f4fa43d1cb2 in octave_value::~octave_value() (this=0x7f4f3c7c0520,
__in_chrg=<optimized out>)
    at ../libinterp/octave-value/ov.h:387
#1  octave_value::~octave_value() (this=0x7f4f3c7c0520, __in_chrg=<optimized
out>) at ../libinterp/octave-value/ov.h:380
#2 
__gnu_cxx::new_allocator<octave_value>::destroy<octave_value>(octave_value*)
(__p=0x7f4f3c7c0520, this=<optimized out>)
    at /usr/include/c++/11/ext/new_allocator.h:168
#3  std::allocator_traits<std::allocator<octave_value>
>::destroy<octave_value>(std::allocator<octave_value>&, octave_value*)
    (__p=0x7f4f3c7c0520, __a=<optimized out>) at
/usr/include/c++/11/bits/alloc_traits.h:535
#4  Array<octave_value, std::allocator<octave_value>
>::ArrayRep::deallocate(octave_value*, unsigned long)
    (this=0x7f4f3c7c53b0, len=1, data=0x7f4f3c7c0520) at
../liboctave/array/Array.h:206
#5  Array<octave_value, std::allocator<octave_value> >::ArrayRep::~ArrayRep()
(this=0x7f4f3c7c53b0, __in_chrg=<optimized out>)
    at ../liboctave/array/Array.h:187
#6  Array<octave_value, std::allocator<octave_value> >::~Array()
(this=0x7f4f3ca1d630, __in_chrg=<optimized out>)
    at ../liboctave/array/Array.h:356
#7  Cell::~Cell() (this=0x7f4f3ca1d630, __in_chrg=<optimized out>) at
../libinterp/corefcn/Cell.h:52
#8  std::_Destroy<Cell>(Cell*) (__pointer=0x7f4f3ca1d630) at
/usr/include/c++/11/bits/stl_construct.h:151
#9  std::_Destroy_aux<false>::__destroy<Cell*>(Cell*, Cell*)
(__last=<optimized out>, __first=0x7f4f3ca1d630)
    at /usr/include/c++/11/bits/stl_construct.h:163
#10 std::_Destroy<Cell*>(Cell*, Cell*) (__last=<optimized out>,
__first=<optimized out>)
    at /usr/include/c++/11/bits/stl_construct.h:196
#11 std::_Destroy<Cell*, Cell>(Cell*, Cell*, std::allocator<Cell>&)
(__last=0x7f4f3ca1d660, __first=<optimized out>)
    at /usr/include/c++/11/bits/alloc_traits.h:750
#12 std::vector<Cell, std::allocator<Cell> >::~vector() (this=0x7f4f3ca01d18,
__in_chrg=<optimized out>)
    at /usr/include/c++/11/bits/stl_vector.h:680
#13 octave_map::~octave_map() (this=0x7f4f3ca01d10, __in_chrg=<optimized out>)
at ../libinterp/corefcn/oct-map.h:276
#14 0x00007f4fa366658f in octave_class::~octave_class() (this=0x7f4f3ca01d00,
__in_chrg=<optimized out>)
    at /usr/include/c++/11/ext/new_allocator.h:89
#15 octave_class::~octave_class() (this=0x7f4f3ca01d00, __in_chrg=<optimized
out>) at ../libinterp/octave-value/ov-class.h:80
#16 0x00007f4fa4404f40 in octave_value::~octave_value() (this=0x7f4f800177f0,
__in_chrg=<optimized out>)
    at ../libinterp/octave-value/ov.h:387
#17 octave_value::~octave_value() (this=0x7f4f800177f0, __in_chrg=<optimized
out>) at ../libinterp/octave-value/ov.h:380
#18 octave::symbol_info::~symbol_info() (this=0x7f4f800177d0,
__in_chrg=<optimized out>) at ../libinterp/corefcn/syminfo.h:55
#19 __gnu_cxx::new_allocator<std::_List_node<octave::symbol_info>
>::destroy<octave::symbol_info>(octave::symbol_info*)
    (__p=0x7f4f800177d0, this=0x25d9a70) at
/usr/include/c++/11/ext/new_allocator.h:168
#20 std::allocator_traits<std::allocator<std::_List_node<octave::symbol_info>
>
>::destroy<octave::symbol_info>(std::allocator<std::_List_node<octave::symbol_info>
>&, octave::symbol_info*) (__p=0x7f4f800177d0, __a=...)
    at /usr/include/c++/11/bits/alloc_traits.h:535
#21 std::__cxx11::_List_base<octave::symbol_info,
std::allocator<octave::symbol_info> >::_M_clear() (this=0x25d9a70)
    at /usr/include/c++/11/bits/list.tcc:77
#22 0x00007f4fa4411461 in std::__cxx11::_List_base<octave::symbol_info,
std::allocator<octave::symbol_info> >::~_List_base()
    (this=0x25d9a70, __in_chrg=<optimized out>) at
/usr/include/c++/11/bits/stl_list.h:498
#23 std::__cxx11::list<octave::symbol_info,
std::allocator<octave::symbol_info> >::~list()
    (this=0x25d9a70, __in_chrg=<optimized out>) at
/usr/include/c++/11/bits/stl_list.h:827
#24 octave::base_list<octave::symbol_info>::~base_list() (this=0x25d9a68,
__in_chrg=<optimized out>)
    at ../liboctave/util/base-list.h:102
#25 octave::symbol_info_list::~symbol_info_list() (this=0x25d9a68,
__in_chrg=<optimized out>)
    at ../libinterp/corefcn/syminfo.h:105
#26 octave::workspace_model::~workspace_model() (this=0x25d9a50,
__in_chrg=<optimized out>) at ../libgui/src/workspace-model.h:54
#27 octave::workspace_model::~workspace_model() (this=0x25d9a50,
__in_chrg=<optimized out>) at ../libgui/src/workspace-model.h:54
#28 octave::base_qobject::~base_qobject() (this=this@entry=0x7ffdd07a06d0,
__in_chrg=<optimized out>)
    at ../libgui/src/octave-qobject.cc:392
#29 0x00007f4fa441ea75 in octave::qt_application::execute()
(this=this@entry=0x7ffdd07a0960) at ../libgui/src/qt-application.cc:74
#30 0x000000000040237f in main(int, char**) (argc=2, argv=0x7ffdd07a0ce8) at
../src/main-gui.cc:132
(gdb)
 

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61994>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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