[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60420] Interpreter hangs on exit after cset 2
From: |
Dmitri A. Sergatskov |
Subject: |
[Octave-bug-tracker] [bug #60420] Interpreter hangs on exit after cset 29542 |
Date: |
Tue, 20 Apr 2021 00:55:41 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Follow-up Comment #10, bug #60420 (project octave):
I am not sure I did that correctly -- I cannot gdb prompt until I kill octave
process (with sig 15):
octave:1> exit
Thread 1 "lt-octave-gui" received signal SIGTERM, Terminated.
0x00007fffe91bc78d in syscall () from /lib64/libc.so.6
Missing separate debuginfos, use: yum debuginfo-install
GConf2-3.2.6-22.el8.x86_64 dbus-glib-0.110-2.el8.x86_64
(gdb) thread apply all bt
Thread 9 (Thread 0x7ffe799db700 (LWP 308259)):
#0 0x00007fffe90fd5cc in sigtimedwait () at /lib64/libc.so.6
#1 0x00007fffe949a6ac in sigwait () at /lib64/libpthread.so.0
#2 0x00007ffff6d4a2bf in sigwait () at /lib64/libtsan.so.0
#3 0x00007ffff2de6382 in signal_watcher (arg=
0x7ffff5ded27c <octave::generic_sig_handler(int)>)
at ../liboctave/wrappers/signal-wrappers.c:697
#4 0x00007ffff6d3468e in __tsan_thread_start_func () at /lib64/libtsan.so.0
#5 0x00007fffe949014a in start_thread () at /lib64/libpthread.so.0
#6 0x00007fffe91c1f23 in clone () at /lib64/libc.so.6
Thread 8 (Thread 0x7ffe7a71f700 (LWP 308258)):
#0 0x00007fffe91b6ca1 in poll () at /lib64/libc.so.6
#1 0x00007ffff6d588c1 in poll () at /lib64/libtsan.so.0
#2 0x00007fffe51ab9b6 in g_main_context_iterate.isra ()
at /lib64/libglib-2.0.so.0
#3 0x00007fffe51abae0 in g_main_context_iteration ()
at /lib64/libglib-2.0.so.0
#4 0x00007ffff35d418b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /lib64/libQt5Core.so.5
#5 0x00007ffff358018b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/lib64/libQt5Core.so.5
--Type <RET> for more, q to quit, c to continue without paging--
#6 0x00007ffff33ded42 in QThread::exec() () at /lib64/libQt5Core.so.5
#7 0x00007ffff33e0076 in QThreadPrivate::start(void*) ()
at /lib64/libQt5Core.so.5
#8 0x00007ffff6d3468e in __tsan_thread_start_func () at /lib64/libtsan.so.0
#9 0x00007fffe949014a in start_thread () at /lib64/libpthread.so.0
#10 0x00007fffe91c1f23 in clone () at /lib64/libc.so.6
Thread 7 (Thread 0x7ffe7e206700 (LWP 308256)):
#0 0x00007fffe91b6ca1 in poll () at /lib64/libc.so.6
#1 0x00007ffff6d588c1 in poll () at /lib64/libtsan.so.0
#2 0x00007fffe51ab9b6 in g_main_context_iterate.isra ()
at /lib64/libglib-2.0.so.0
#3 0x00007fffe51abae0 in g_main_context_iteration ()
at /lib64/libglib-2.0.so.0
#4 0x00007ffff35d418b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /lib64/libQt5Core.so.5
#5 0x00007ffff358018b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/lib64/libQt5Core.so.5
#6 0x00007ffff33ded42 in QThread::exec() () at /lib64/libQt5Core.so.5
#7 0x00007fffd7e7cee9 in QDBusConnectionManager::run() ()
at /lib64/libQt5DBus.so.5
#8 0x00007ffff33e0076 in QThreadPrivate::start(void*) ()
at /lib64/libQt5Core.so.5
--Type <RET> for more, q to quit, c to continue without paging--c
#9 0x00007ffff6d3468e in __tsan_thread_start_func () at /lib64/libtsan.so.0
#10 0x00007fffe949014a in start_thread () at /lib64/libpthread.so.0
#11 0x00007fffe91c1f23 in clone () at /lib64/libc.so.6
Thread 6 (Thread 0x7ffe810ff700 (LWP 308255)):
#0 0x00007fffe91b6ca1 in poll () at /lib64/libc.so.6
#1 0x00007ffff6d588c1 in poll () at /lib64/libtsan.so.0
#2 0x00007fffe51ab9b6 in g_main_context_iterate.isra () at
/lib64/libglib-2.0.so.0
#3 0x00007fffe51abd72 in g_main_loop_run () at /lib64/libglib-2.0.so.0
#4 0x00007ffec409255a in gdbus_shared_thread_func () at
/lib64/libgio-2.0.so.0
#5 0x00007fffe51d3d4a in g_thread_proxy () at /lib64/libglib-2.0.so.0
#6 0x00007ffff6d3468e in __tsan_thread_start_func () at /lib64/libtsan.so.0
#7 0x00007fffe949014a in start_thread () at /lib64/libpthread.so.0
#8 0x00007fffe91c1f23 in clone () at /lib64/libc.so.6
Thread 5 (Thread 0x7ffe81fc2700 (LWP 308254)):
#0 0x00007fffe91b6ca1 in poll () at /lib64/libc.so.6
#1 0x00007ffff6d588c1 in poll () at /lib64/libtsan.so.0
#2 0x00007fffe51ab9b6 in g_main_context_iterate.isra () at
/lib64/libglib-2.0.so.0
#3 0x00007fffe51abae0 in g_main_context_iteration () at
/lib64/libglib-2.0.so.0
#4 0x00007fffe51abb31 in glib_worker_main () at /lib64/libglib-2.0.so.0
#5 0x00007fffe51d3d4a in g_thread_proxy () at /lib64/libglib-2.0.so.0
#6 0x00007ffff6d3468e in __tsan_thread_start_func () at /lib64/libtsan.so.0
#7 0x00007fffe949014a in start_thread () at /lib64/libpthread.so.0
#8 0x00007fffe91c1f23 in clone () at /lib64/libc.so.6
Thread 4 (Thread 0x7ffec0ff7700 (LWP 308252)):
#0 0x00007fffe91b6ca1 in poll () at /lib64/libc.so.6
#1 0x00007ffff6d588c1 in poll () at /lib64/libtsan.so.0
#2 0x00007fffe51ab9b6 in g_main_context_iterate.isra () at
/lib64/libglib-2.0.so.0
#3 0x00007fffe51abae0 in g_main_context_iteration () at
/lib64/libglib-2.0.so.0
#4 0x00007ffec145be6d in dconf_gdbus_worker_thread () at
/usr/lib64/gio/modules/libdconfsettings.so
#5 0x00007fffe51d3d4a in g_thread_proxy () at /lib64/libglib-2.0.so.0
#6 0x00007ffff6d3468e in __tsan_thread_start_func () at /lib64/libtsan.so.0
#7 0x00007fffe949014a in start_thread () at /lib64/libpthread.so.0
#8 0x00007fffe91c1f23 in clone () at /lib64/libc.so.6
Thread 3 (Thread 0x7ffec6f91700 (LWP 308251)):
#0 0x00007fffe91b6ca1 in poll () at /lib64/libc.so.6
#1 0x00007ffff6d588c1 in poll () at /lib64/libtsan.so.0
#2 0x00007fffe35356cf in _xcb_conn_wait () at /lib64/libxcb.so.1
#3 0x00007fffe353734a in xcb_wait_for_event () at /lib64/libxcb.so.1
#4 0x00007ffec94373d8 in QXcbEventQueue::run() () at
/lib64/libQt5XcbQpa.so.5
#5 0x00007ffff33e0076 in QThreadPrivate::start(void*) () at
/lib64/libQt5Core.so.5
#6 0x00007ffff6d3468e in __tsan_thread_start_func () at /lib64/libtsan.so.0
#7 0x00007fffe949014a in start_thread () at /lib64/libpthread.so.0
#8 0x00007fffe91c1f23 in clone () at /lib64/libc.so.6
Thread 2 (Thread 0x7fffd7cff700 (LWP 308250)):
#0 0x00007fffe918dfc8 in nanosleep () at /lib64/libc.so.6
#1 0x00007fffe91b9d88 in usleep () at /lib64/libc.so.6
#2 0x00007ffff6d58f02 in usleep () at /lib64/libtsan.so.0
#3 0x00007ffff6d82410 in __tsan::BackgroundThread(void*) () at
/lib64/libtsan.so.0
#4 0x00007fffe949014a in start_thread () at /lib64/libpthread.so.0
#5 0x00007fffe91c1f23 in clone () at /lib64/libc.so.6
Thread 1 (Thread 0x7fffd910e800 (LWP 308240)):
#0 0x00007fffe91bc78d in syscall () at /lib64/libc.so.6
#1 0x00007ffff33e0325 in QBasicMutex::lockInternal() () at
/lib64/libQt5Core.so.5
#2 0x00007ffff66bfdba in QMutexLocker::QMutexLocker(QBasicMutex*)
(this=0x7fffffffc0d8, m=0x7b280001ef88) at
/usr/include/qt5/QtCore/qmutex.h:206
#3 0x00007ffff681e0a5 in
octave::qt_interpreter_events::confirm_shutdown_octave() (this=0x7b280001ef00)
at ../libgui/src/qt-interpreter-events.cc:630
#4 0x00007ffff6826a27 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, void (octave::qt_interpreter_events::*)()>::call(void
(octave::qt_interpreter_events::*)(), octave::qt_interpreter_events*, void**)
(f=(void (octave::qt_interpreter_events::*)(octave::qt_interpreter_events *
const)) 0x7ffff681e070
<octave::qt_interpreter_events::confirm_shutdown_octave()>, o=0x7b280001ef00,
arg=0x7fffffffc290) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152
#5 0x00007ffff6826285 in QtPrivate::FunctionPointer<void
(octave::qt_interpreter_events::*)()>::call<QtPrivate::List<>, void>(void
(octave::qt_interpreter_events::*)(), octave::qt_interpreter_events*, void**)
(f=(void (octave::qt_interpreter_events::*)(octave::qt_interpreter_events *
const)) 0x7ffff681e070
<octave::qt_interpreter_events::confirm_shutdown_octave()>, o=0x7b280001ef00,
arg=0x7fffffffc290) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185
#6 0x00007ffff6825366 in QtPrivate::QSlotObject<void
(octave::qt_interpreter_events::*)(), QtPrivate::List<>, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1,
this_=0x7b0800044020, r=0x7b280001ef00, a=0x7fffffffc290, ret=0x0) at
/usr/include/qt5/QtCore/qobjectdefs_impl.h:414
#7 0x00007ffff35aa69b in QMetaObject::activate(QObject*, int, int, void**) ()
at /lib64/libQt5Core.so.5
#8 0x00007ffff690bd7a in
octave::qt_interpreter_events::confirm_shutdown_signal() (this=0x7b280001ef00)
at libgui/src/moc-qt-interpreter-events.cc:792
#9 0x00007ffff681bce9 in octave::qt_interpreter_events::confirm_shutdown()
(this=0x7b280001ef00) at ../libgui/src/qt-interpreter-events.cc:284
#10 0x00007ffff5c394c5 in octave::event_manager::confirm_shutdown()
(this=0x7b88000043b0) at ../libinterp/corefcn/event-manager.h:467
#11 0x00007ffff5c37421 in octave::interpreter::quit(int, bool, bool)
(this=0x7b8800003000, exit_status=0, force=false, confirm=true) at
../libinterp/corefcn/interpreter.cc:2026
#12 0x00007ffff5c2bc7f in Fquit(octave::interpreter&, octave_value_list
const&, int) (interp=..., args=...) at
../libinterp/corefcn/interpreter.cc:232
#13 0x00007ffff552c374 in octave_builtin::execute(octave::tree_evaluator&,
int, octave_value_list const&) (this=0x7b440008db80, tw=..., nargout=0,
args=...) at ../libinterp/octave-value/ov-builtin.cc:65
#14 0x00007ffff55aaf30 in octave_function::call(octave::tree_evaluator&, int,
octave_value_list const&) (this=0x7b440008db80, tw=..., nargout=0, args=...)
at ../libinterp/octave-value/ov-fcn.cc:57
#15 0x00007ffff57ef895 in
octave::tree_identifier::evaluate_n(octave::tree_evaluator&, int)
(this=0x7b0c0007c410, tw=..., nargout=0) at
../libinterp/parse-tree/pt-id.cc:130
#16 0x00007ffff57f01f2 in
octave::tree_identifier::evaluate(octave::tree_evaluator&, int)
(this=0x7b0c0007c410, tw=..., nargout=0) at
../libinterp/parse-tree/pt-id.h:98
#17 0x00007ffff57c2fdb in
octave::tree_evaluator::visit_statement(octave::tree_statement&)
(this=0x7b8800003dd8, stmt=...) at ../libinterp/parse-tree/pt-eval.cc:3629
#18 0x00007ffff5805830 in octave::tree_statement::accept(octave::tree_walker&)
(this=0x7b0c0007c470, tw=...) at ../libinterp/parse-tree/pt-stmt.h:124
#19 0x00007ffff57c353e in
octave::tree_evaluator::visit_statement_list(octave::tree_statement_list&)
(this=0x7b8800003dd8, lst=...) at ../libinterp/parse-tree/pt-eval.cc:3714
#20 0x00007ffff54c0284 in
octave::tree_statement_list::accept(octave::tree_walker&)
(this=0x7b0c0007b360, tw=...) at ../libinterp/parse-tree/pt-stmt.h:201
#21 0x00007ffff57b6d56 in
octave::tree_evaluator::eval(std::shared_ptr<octave::tree_statement_list>&,
bool) (this=0x7b8800003dd8,
stmt_list=std::shared_ptr<octave::tree_statement_list> (use count 2, weak
count 0) = {...}, interactive=true) at ../libinterp/parse-tree/pt-eval.cc:882
#22 0x00007ffff57b61e4 in octave::tree_evaluator::repl() (this=0x7b8800003dd8)
at ../libinterp/parse-tree/pt-eval.cc:709
#23 0x00007ffff5c34aa3 in octave::interpreter::main_loop()
(this=0x7b8800003000) at ../libinterp/corefcn/interpreter.cc:1385
#24 0x00007ffff5c2f14a in octave::interpreter::execute() (this=0x7b8800003000)
at ../libinterp/corefcn/interpreter.cc:979
#25 0x00007ffff676754b in octave::interpreter_qobject::execute()
(this=0x7b08000440c0) at ../libgui/src/interpreter-qobject.cc:91
#26 0x00007ffff6819c41 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, void (octave::interpreter_qobject::*)()>::call(void
(octave::interpreter_qobject::*)(), octave::interpreter_qobject*, void**)
(f=(void (octave::interpreter_qobject::*)(octave::interpreter_qobject *
const)) 0x7ffff67671dc <octave::interpreter_qobject::execute()>,
o=0x7b08000440c0, arg=0x7fffffffd170) at
/usr/include/qt5/QtCore/qobjectdefs_impl.h:152
#27 0x00007ffff6819b93 in QtPrivate::FunctionPointer<void
(octave::interpreter_qobject::*)()>::call<QtPrivate::List<>, void>(void
(octave::interpreter_qobject::*)(), octave::interpreter_qobject*, void**)
(f=(void (octave::interpreter_qobject::*)(octave::interpreter_qobject *
const)) 0x7ffff67671dc <octave::interpreter_qobject::execute()>,
o=0x7b08000440c0, arg=0x7fffffffd170) at
/usr/include/qt5/QtCore/qobjectdefs_impl.h:185
#28 0x00007ffff6819586 in QtPrivate::QSlotObject<void
(octave::interpreter_qobject::*)(), QtPrivate::List<>, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1,
this_=0x7b08000a3880, r=0x7b08000440c0, a=0x7fffffffd170, ret=0x0) at
/usr/include/qt5/QtCore/qobjectdefs_impl.h:414
#29 0x00007ffff35b62da in QSingleShotTimer::timerEvent(QTimerEvent*) () at
/lib64/libQt5Core.so.5
#30 0x00007ffff35ab22b in QObject::event(QEvent*) () at
/lib64/libQt5Core.so.5
#31 0x00007ffff3ecb5f5 in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () at /lib64/libQt5Widgets.so.5
#32 0x00007ffff3ed2b10 in QApplication::notify(QObject*, QEvent*) () at
/lib64/libQt5Widgets.so.5
#33 0x00007ffff6813edf in octave::octave_qapplication::notify(QObject*,
QEvent*) (this=0x7b0400002850, receiver=0x7b0c0006df20, ev=0x7fffffffd560) at
../libgui/src/octave-qobject.cc:133
#34 0x00007ffff3581326 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /lib64/libQt5Core.so.5
#35 0x00007ffff35d3444 in QTimerInfoList::activateTimers() () at
/lib64/libQt5Core.so.5
#36 0x00007ffff35d3cec in timerSourceDispatch(_GSource*, int (*)(void*),
void*) () at /lib64/libQt5Core.so.5
#37 0x00007fffe51ab67d in g_main_context_dispatch () at
/lib64/libglib-2.0.so.0
#38 0x00007fffe51aba48 in g_main_context_iterate.isra () at
/lib64/libglib-2.0.so.0
#39 0x00007fffe51abae0 in g_main_context_iteration () at
/lib64/libglib-2.0.so.0
#40 0x00007ffff35d418b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /lib64/libQt5Core.so.5
#41 0x00007ffff358018b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/lib64/libQt5Core.so.5
#42 0x00007ffff35881a6 in QCoreApplication::exec() () at
/lib64/libQt5Core.so.5
#43 0x00007ffff68156f9 in octave::base_qobject::exec() (this=0x7fffffffd870)
at ../libgui/src/octave-qobject.cc:343
#44 0x00007ffff6828223 in octave::qt_application::execute()
(this=0x7fffffffd9f0) at ../libgui/src/qt-application.cc:73
#45 0x0000000000401b93 in main(int, char**) (argc=1, argv=0x7fffffffdd28) at
../src/main-gui.cc:131
(gdb)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60420>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #60420] Interpreter hangs on exit after cset 29542, Rik, 2021/04/19
- [Octave-bug-tracker] [bug #60420] Interpreter hangs on exit after cset 29542, John W. Eaton, 2021/04/19
- [Octave-bug-tracker] [bug #60420] Interpreter hangs on exit after cset 29542, Dmitri A. Sergatskov, 2021/04/19
- [Octave-bug-tracker] [bug #60420] Interpreter hangs on exit after cset 29542, Rik, 2021/04/19
- [Octave-bug-tracker] [bug #60420] Interpreter hangs on exit after cset 29542, Dmitri A. Sergatskov, 2021/04/19
- [Octave-bug-tracker] [bug #60420] Interpreter hangs on exit after cset 29542, Rik, 2021/04/19
- [Octave-bug-tracker] [bug #60420] Interpreter hangs on exit after cset 29542, Dmitri A. Sergatskov, 2021/04/19
- [Octave-bug-tracker] [bug #60420] Interpreter hangs on exit after cset 29542, Dmitri A. Sergatskov, 2021/04/19
- [Octave-bug-tracker] [bug #60420] Interpreter hangs on exit after cset 29542, John W. Eaton, 2021/04/19
- [Octave-bug-tracker] [bug #60420] Interpreter hangs on exit after cset 29542, John W. Eaton, 2021/04/19
- [Octave-bug-tracker] [bug #60420] Interpreter hangs on exit after cset 29542,
Dmitri A. Sergatskov <=
- [Octave-bug-tracker] [bug #60420] Interpreter hangs on exit after cset 29542, Dmitri A. Sergatskov, 2021/04/20
- [Octave-bug-tracker] [bug #60420] Interpreter hangs on exit after cset 29542, Rik, 2021/04/20
- [Octave-bug-tracker] [bug #60420] Connect unused SIGNAL/SLOTS in octave-qobject.cc??, Rik, 2021/04/22
- [Octave-bug-tracker] [bug #60420] Connect unused SIGNAL/SLOTS in octave-qobject.cc??, Rik, 2021/04/28
- [Octave-bug-tracker] [bug #60420] Connect unused SIGNAL/SLOTS in octave-qobject.cc??, John W. Eaton, 2021/04/29
- [Octave-bug-tracker] [bug #60420] Connect unused SIGNAL/SLOTS in octave-qobject.cc??, Rik, 2021/04/29
- [Octave-bug-tracker] [bug #60420] Connect unused SIGNAL/SLOTS in octave-qobject.cc??, John W. Eaton, 2021/04/30