[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63752] experimental-terminal-widget crashes O
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #63752] experimental-terminal-widget crashes Octave |
Date: |
Sun, 5 Feb 2023 14:51:04 -0500 (EST) |
Follow-up Comment #4, bug #63752 (project octave):
This could be a threading issue. I am running Octave on a 10 years old machine
so it may be slow as compared to yours.
Here are more details. I attached a back-trace of the crash. It seams to
happen in QScintilla code:
#0 __pthread_kill_implementation (no_tid=0, signo=6,
threadid=140737116863488) at ./nptl/pthread_kill.c:44
#1 __pthread_kill_internal (signo=6, threadid=140737116863488) at
./nptl/pthread_kill.c:78
#2 __GI___pthread_kill (threadid=140737116863488, signo=signo@entry=6) at
./nptl/pthread_kill.c:89
#3 0x00007ffff50a7476 in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#4 0x00007ffff508d7f3 in __GI_abort () at ./stdlib/abort.c:79
#5 0x00007ffff50ee6f6 in __libc_message (action=action@entry=do_abort,
fmt=fmt@entry=0x7ffff5240b8c "%s\n") at ../sysdeps/posix/libc_fatal.c:155
#6 0x00007ffff5105d7c in malloc_printerr (str=str@entry=0x7ffff523e764
"free(): invalid pointer") at ./malloc/malloc.c:5664
#7 0x00007ffff5107ac4 in _int_free (av=<optimized out>, p=<optimized out>,
have_lock=0) at ./malloc/malloc.c:4439
#8 0x00007ffff510a4d3 in __GI___libc_free (mem=<optimized out>) at
./malloc/malloc.c:3391
#9 0x00007ffff4aee01f in
QsciAccessibleScintillaBase::textRange(QsciScintillaBase*, int, int) () at
/lib/libqscintilla2_qt5.so.15
#10 0x00007ffff4aef3ca in QsciAccessibleScintillaBase::characterRect(int)
const () at /lib/libqscintilla2_qt5.so.15
...
That made me suspect that the following change (that I think has happened
after the last time I tested the new terminal widget):
changeset: 31080:56ee6a223c51
user: Torsten Lilge <ttl-octave@mailbox.org>
date: Tue Jun 07 23:03:11 2022 +0200
summary: use QScintilla instead of QTextEdit for new terminal widget
If I update to -r 31079 I can't trigger the crash anymore. From 31080 on, I
can reliably trigger the crash by simply typing 4 characters. E.g., if I type
"plot", after typing "t" the GUI window disappears and the message from
comment #0 appears in the calling terminal.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63752>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63752] experimental-terminal-widget crashes Octave, Pantxo Diribarne, 2023/02/03
- [Octave-bug-tracker] [bug #63752] experimental-terminal-widget crashes Octave, Nicholas Jankowski, 2023/02/03
- [Octave-bug-tracker] [bug #63752] experimental-terminal-widget crashes Octave, Dmitri A. Sergatskov, 2023/02/03
- [Octave-bug-tracker] [bug #63752] experimental-terminal-widget crashes Octave, Rik, 2023/02/03
- [Octave-bug-tracker] [bug #63752] experimental-terminal-widget crashes Octave,
Pantxo Diribarne <=
- [Octave-bug-tracker] [bug #63752] experimental-terminal-widget crashes Octave, Pantxo Diribarne, 2023/02/05
- [Octave-bug-tracker] [bug #63752] experimental-terminal-widget crashes Octave, Pantxo Diribarne, 2023/02/05
- [Octave-bug-tracker] [bug #63752] experimental-terminal-widget crashes Octave, Dmitri A. Sergatskov, 2023/02/05
- [Octave-bug-tracker] [bug #63752] experimental-terminal-widget crashes Octave, Dmitri A. Sergatskov, 2023/02/05