[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55254] clear all crashes when variable from o
From: |
John Donoghue |
Subject: |
[Octave-bug-tracker] [bug #55254] clear all crashes when variable from oct file class is displayed in workspace |
Date: |
Thu, 20 Dec 2018 08:24:25 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134 |
URL:
<https://savannah.gnu.org/bugs/?55254>
Summary: clear all crashes when variable from oct file class
is displayed in workspace
Project: GNU Octave
Submitted by: lostbard
Submitted on: Thu 20 Dec 2018 01:24:24 PM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Segfault, Bus Error, etc.
Status: None
Assigned to: None
Originator Name: JohnD
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Microsoft Windows
_______________________________________________________
Details:
It doesn't appear to be limited just to audioreorder/player, but is an easy
example to do.
Currently only checked in windows
Example:
> ar = audiorecorder
** The ar value is displayed in the workspace window.
> clear all
** crash occurs:
#0 0x000000000ebab594 in octave_value::~octave_value (this=0x4e087dc8,
__in_chrg=<optimized out>)
at
/home/johnd/mxe-octave/build-64/tmp-default-octave/octave-5.0.0/libinterp/octave-value/ov.h:325
#1 Array<octave_value>::ArrayRep::~ArrayRep (this=0x4e087b80,
__in_chrg=<optimized out>)
at
/home/johnd/mxe-octave/build-64/tmp-default-octave/octave-5.0.0/liboctave/array/Array.h:172
#2 Array<octave_value>::~Array (this=0x4959c4c0, __in_chrg=<optimized out>)
at
/home/johnd/mxe-octave/build-64/tmp-default-octave/octave-5.0.0/liboctave/array/Array.h:308
#3 Cell::~Cell (this=0x4959c4c0, __in_chrg=<optimized out>) at
/home/johnd/mxe-octave/build-64/tmp-default-octave/octave-5.0.0/libinterp/corefcn/Cell.h:39
#4 0x000000000eb54029 in std::_Destroy<Cell> (__pointer=<optimized out>)
at
/home/johnd/mxe-octave/build-64/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/include/c++/bits/stl_construct.h:98
#5 std::_Destroy_aux<false>::__destroy<Cell*> (__last=<optimized out>,
__first=<optimized out>)
at
/home/johnd/mxe-octave/build-64/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/include/c++/bits/stl_construct.h:108
#6 std::_Destroy<Cell*> (__last=<optimized out>, __first=<optimized out>)
at
/home/johnd/mxe-octave/build-64/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/include/c++/bits/stl_construct.h:137
#7 std::_Destroy<Cell*, Cell> (__last=<optimized out>, __first=<optimized
out>)
at
/home/johnd/mxe-octave/build-64/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/include/c++/bits/stl_construct.h:206
#8 std::vector<Cell, std::allocator<Cell> >::~vector (this=0x4c4728a8,
__in_chrg=<optimized out>)
at
/home/johnd/mxe-octave/build-64/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/include/c++/bits/stl_vector.h:434
#9 octave_map::~octave_map (this=0x4c4728a0, __in_chrg=<optimized out>)
at
/home/johnd/mxe-octave/build-64/tmp-default-octave/octave-5.0.0/libinterp/corefcn/oct-map.h:271
#10 0x000000000eb595a7 in octave_class::~octave_class (this=0x4c472890,
__in_chrg=<optimized out>)
at
/home/johnd/mxe-octave/build-64/tmp-default-octave/octave-5.0.0/libinterp/octave-value/ov-class.h:73
#11 octave_class::~octave_class (this=0x4c472890, __in_chrg=<optimized out>)
at
/home/johnd/mxe-octave/build-64/tmp-default-octave/octave-5.0.0/libinterp/octave-value/ov-class.h:73
#12 0x00000000685a381f in octave_value::~octave_value (this=0x4e06ff70,
__in_chrg=<optimized out>)
at
/home/johnd/mxe-octave/build-64/tmp-default-octave/octave-5.0.0/libinterp/octave-value/ov.h:325
#13 octave::symbol_info::~symbol_info (this=0x4e06ff50, __in_chrg=<optimized
out>)
at
/home/johnd/mxe-octave/build-64/tmp-default-octave/octave-5.0.0/libinterp/corefcn/syminfo.h:50
#14 __gnu_cxx::new_allocator<std::_List_node<octave::symbol_info>
>::destroy<octave::symbol_info> (this=<optimized out>, __p=<optimized out>)
at
/home/johnd/mxe-octave/build-64/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/include/c++/ext/new_allocator.h:140
#15 std::allocator_traits<std::allocator<std::_List_node<octave::symbol_info>
> >::destroy<octave::symbol_info> (__a=..., __p=<optimized out>)
at
/home/johnd/mxe-octave/build-64/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/include/c++/bits/alloc_traits.h:487
#16 std::__cxx11::list<octave::symbol_info,
std::allocator<octave::symbol_info> >::_M_erase (__position=...,
this=0x477f35e0)
at
/home/johnd/mxe-octave/build-64/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/include/c++/bits/stl_list.h:1815
#17 std::__cxx11::list<octave::symbol_info,
std::allocator<octave::symbol_info> >::erase (__position=...,
this=0x477f35e0)
at
/home/johnd/mxe-octave/build-64/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/include/c++/bits/list.tcc:157
#18 std::__cxx11::list<octave::symbol_info,
std::allocator<octave::symbol_info> >::erase (__last=..., __first=...,
this=<optimized out>)
at
/home/johnd/mxe-octave/build-64/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/include/c++/bits/stl_list.h:1368
#19 std::__cxx11::list<octave::symbol_info,
std::allocator<octave::symbol_info>
>::_M_assign_dispatch<std::_List_const_iterator<octave::symbol_info> > (
address@hidden, __first2=..., address@hidden, __last2=...,
address@hidden)
at
/home/johnd/mxe-octave/build-64/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/include/c++/bits/list.tcc:317
#20 0x000000006854cc36 in std::__cxx11::list<octave::symbol_info,
std::allocator<octave::symbol_info> >::operator= (__x=..., this=<optimized
out>)
at
/home/johnd/mxe-octave/build-64/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/include/c++/bits/list.tcc:285
#21 octave::base_list<octave::symbol_info>::operator= (bl=..., this=<optimized
out>)
at
/home/johnd/mxe-octave/build-64/tmp-default-octave/octave-5.0.0/liboctave/util/base-list.h:36
#22 octave::symbol_info_list::operator= (this=<optimized out>) at
/home/johnd/mxe-octave/build-64/tmp-default-octave/octave-5.0.0/libinterp/corefcn/syminfo.h:89
#23 octave::workspace_model::clear_data (address@hidden)
at
/home/johnd/mxe-octave/build-64/tmp-default-octave/octave-5.0.0/libgui/src/workspace-model.cc:277
#24 0x000000006854dc94 in octave::workspace_model::set_workspace
(this=0x477f35c0, top_level=<optimized out>, syminfo=...)
at
/home/johnd/mxe-octave/build-64/tmp-default-octave/octave-5.0.0/libgui/src/workspace-model.cc:238
If I cleared that variable (even if there are others in the work space) before
doing the clear all, it doesn't crash.
It also crashes if run as
> clear -c
It did not crash in 4.4.1
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55254>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55254] clear all crashes when variable from oct file class is displayed in workspace,
John Donoghue <=