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

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

[Octave-bug-tracker] [bug #63549] [octave forge] (control) Octave crash


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #63549] [octave forge] (control) Octave crash on certain inputs to place function
Date: Tue, 20 Dec 2022 22:45:15 -0500 (EST)

Follow-up Comment #2, bug #63549 (project octave):

On linux (octave 8.0.1 9be3a2706d62)

octave:11> L1 = place(A,C2',poloso)
free(): invalid pointer

Thread 7 "QThread" received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffed66ad6c0 (LWP 20062)]
__pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6,
no_tid=no_tid@entry=0) at pthread_kill.c:44
44            return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO 
(ret)
: 0;
<...deleted...>
Thread 7 (Thread 0x7ffed66ad6c0 (LWP 20062) "QThread"):
#0  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007ffff1eafee3 in __pthread_kill_internal (signo=6,
threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007ffff1e5faa6 in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#3  0x00007ffff1e497fc in __GI_abort () at abort.c:79
#4  0x00007ffff1ea40ae in __libc_message (action=action@entry=do_abort,
fmt=fmt@entry=0x7ffff1fbd465 "%s\n") at ../sysdeps/posix/libc_fatal.c:155
#5  0x00007ffff1eb9bbc in malloc_printerr (str=str@entry=0x7ffff1fbb0b1
"free(): invalid pointer") at malloc.c:5660
#6  0x00007ffff1ebb9fc in _int_free (av=<optimized out>, p=<optimized out>,
have_lock=0) at malloc.c:4435
#7  0x00007ffff1ebe343 in __GI___libc_free (mem=<optimized out>) at
malloc.c:3385
#8  0x00007ffed4c004bd in std::__new_allocator<double>::deallocate(double*,
unsigned long) (this=0x7ffec851ff80, __p=0x7ffec850caa0, __n=2) at
/usr/include/c++/12/bits/new_allocator.h:158
#9  0x00007ffed4bffd28 in std::allocator_traits<std::allocator<double>
>::deallocate(std::allocator<double>&, double*, unsigned long) (__a=...,
__p=0x7ffec850caa0, __n=2) at /usr/include/c++/12/bits/alloc_traits.h:496
#10 0x00007ffed4bff122 in Array<double, std::allocator<double>
>::ArrayRep::deallocate(double*, unsigned long) (this=0x7ffec851ff80,
data=0x7ffec850caa0, len=2) at
/usr/local/include/octave-8.0.1/octave/../octave/Array.h:208
#11 0x00007ffed4bfdf05 in Array<double, std::allocator<double>
>::ArrayRep::~ArrayRep() (this=0x7ffec851ff80, __in_chrg=<optimized out>) at
/usr/local/include/octave-8.0.1/octave/../octave/Array.h:188
#12 0x00007ffed4bfcfb6 in Array<double, std::allocator<double> >::~Array()
(this=0x7ffed66a9860, __in_chrg=<optimized out>) at
/usr/local/include/octave-8.0.1/octave/../octave/Array.h:358
#13 0x00007ffed4bfbd92 in MArray<double>::~MArray() (this=0x7ffed66a9860,
__in_chrg=<optimized out>) at
/usr/local/include/octave-8.0.1/octave/../octave/MArray.h:79
#14 0x00007ffed4c01484 in ColumnVector::~ColumnVector() (this=0x7ffed66a9860,
__in_chrg=<optimized out>) at
/usr/local/include/octave-8.0.1/octave/../octave/dColVector.h:36
#15 0x00007ffed4bd882a in F__sl_sb01bd__(octave_value_list const&, int)
(args=..., nargout=5) at /tmp/oct-OGngHX/control-3.4.0/src/sl_sb01bd.cc:162
#16 0x00007ffff6e7fe02 in
octave::tree_evaluator::execute_builtin_function(octave_builtin&, int,
octave_value_list const&) (this=0x7ffec800a378, builtin_function=...,
nargout=5, args=...) at ../libinterp/parse-tree/pt-eval.cc:3439
<...deleted...>


Full trace is attached.

Dmitri.
-- 


(file #54133)

    _______________________________________________________

Additional Item Attachment:

File name: control_bt.txt.gz              Size:4 KB
    <https://file.savannah.gnu.org/file/control_bt.txt.gz?file_id=54133>



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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