Bug 398142 - Konsole crashed when detaching a tab while another tab is running LXD container build
Summary: Konsole crashed when detaching a tab while another tab is running LXD contain...
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 18.08.0
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-09-02 03:55 UTC by 林博仁(Buo-ren, Lin)
Modified: 2021-01-16 04:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 林博仁(Buo-ren, Lin) 2018-09-02 03:55:36 UTC
Application: konsole (18.08.0)

Qt Version: 5.11.1
Frameworks Version: 5.49.0
Operating System: Linux 4.15.0-33-generic x86_64
Distribution: KDE neon User Edition 5.13

-- Information about the crash:
- What I was doing when the application crashed:

1. Running snapcraft container build in another tab
2. Detach a tab

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbac1c9f8c0 (LWP 26706))]

Thread 2 (Thread 0x7fbaa58ea700 (LWP 26708)):
#0  0x00007fbac1658811 in __GI_ppoll (fds=fds@entry=0x7fbaa0010518, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x7fbaa58e9b10, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:50
#1  0x00007fbabdb4fa40 in qt_safe_poll(pollfd*, unsigned long, timespec const*) (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  0x00007fbabdb4fa40 in qt_safe_poll(pollfd*, unsigned long, timespec const*) (timeout_ts=0x7fbaa58e9b10, nfds=1, fds=0x7fbaa0010518) at kernel/qcore_unix.cpp:112
#3  0x00007fbabdb4fa40 in qt_safe_poll(pollfd*, unsigned long, timespec const*) (fds=0x7fbaa0010518, nfds=1, timeout_ts=timeout_ts@entry=0x7fbaa58e9ba0) at kernel/qcore_unix.cpp:142
#4  0x00007fbabdb511b2 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#5  0x00007fbabdafb5ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fbaa58e9cc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007fbabd9305e4 in QThread::exec() (this=this@entry=0x7fbabbcaed60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:525
#7  0x00007fbabba35f35 in QDBusConnectionManager::run() (this=0x7fbabbcaed60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007fbabd93b727 in QThreadPrivate::start(void*) (arg=0x7fbabbcaed60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:367
#9  0x00007fbab8ee66ba in start_thread (arg=0x7fbaa58ea700) at pthread_create.c:333
#10 0x00007fbac166441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fbac1c9f8c0 (LWP 26706)):
[KCrash Handler]
#6  0x00007fbac12bffc9 in Konsole::SessionController::isReadOnly() const (__m=std::memory_order_relaxed, this=0x48d48f6892573ca) at /usr/include/c++/5/bits/atomic_base.h:396
#7  0x00007fbac12bffc9 in Konsole::SessionController::isReadOnly() const (_q_value=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:227
#8  0x00007fbac12bffc9 in Konsole::SessionController::isReadOnly() const (this=0x48d48f6892573ca) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:103
#9  0x00007fbac12bffc9 in Konsole::SessionController::isReadOnly() const (this=0x7fbabe6d84f8 <OT::GSUBGPOS::get_script(unsigned int) const+40>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:566
#10 0x00007fbac12bffc9 in Konsole::SessionController::isReadOnly() const (this=0x7fbabe6d84f8 <OT::GSUBGPOS::get_script(unsigned int) const+40>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:95
#11 0x00007fbac12bffc9 in Konsole::SessionController::isReadOnly() const (this=0x7fbabe6d84c0 <hb_get_subtables_context_t::apply_to<OT::ChainContextFormat3>(void const*, OT::hb_apply_context_t*)>) at /workspace/build/src/SessionController.cpp:1568
#12 0x00007fbac12f9eef in Konsole::Vt102Emulation::sendKeyEvent(QKeyEvent*) (this=0x2008340, event=0x7ffe7e00eb40) at /workspace/build/src/Vt102Emulation.cpp:1130
#13 0x00007fbabdb2a2a6 in QMetaObject::activate(QObject*, int, int, void**) (a=0x7ffe7e00eaf0, r=0x2008340, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#14 0x00007fbabdb2a2a6 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x292d730, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe7e00eaf0) at kernel/qobject.cpp:3754
#15 0x00007fbabdb2a887 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x292d730, m=m@entry=0x7fbac1554e60 <Konsole::TerminalDisplay::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe7e00eaf0) at kernel/qobject.cpp:3633
#16 0x00007fbac1304dbf in Konsole::TerminalDisplay::keyPressedSignal(QKeyEvent*) (this=this@entry=0x292d730, _t1=_t1@entry=0x7ffe7e00eb40) at /workspace/build/obj-x86_64-linux-gnu/src/moc_TerminalDisplay.cpp:401
#17 0x00007fbac12e4496 in Konsole::TerminalDisplay::inputMethodEvent(QInputMethodEvent*) (this=0x292d730, event=0x7ffe7e00eed0) at /workspace/build/src/TerminalDisplay.cpp:3387
#18 0x00007fbabeb9d778 in QWidget::event(QEvent*) (this=this@entry=0x292d730, event=event@entry=0x7ffe7e00eed0) at kernel/qwidget.cpp:9281
#19 0x00007fbac12e5caa in Konsole::TerminalDisplay::event(QEvent*) (this=0x292d730, event=0x7ffe7e00eed0) at /workspace/build/src/TerminalDisplay.cpp:3672
#20 0x00007fbabeb5e39c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x292d730, e=0x7ffe7e00eed0) at kernel/qapplication.cpp:3727
#21 0x00007fbabeb65ab0 in QApplication::notify(QObject*, QEvent*) (this=0x194b830, receiver=0x292d730, e=0x7ffe7e00eed0) at kernel/qapplication.cpp:3486
#22 0x00007fbabdafd228 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=receiver@entry=0x292d730, event=event@entry=0x7ffe7e00eed0) at kernel/qcoreapplication.cpp:1048
#23 0x00007fbaa58f5a57 in QIBusPlatformInputContext::commitText(QDBusVariant const&) (event=0x7ffe7e00eed0, receiver=0x292d730) at ../../../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#24 0x00007fbaa58f5a57 in QIBusPlatformInputContext::commitText(QDBusVariant const&) (this=0x19f8c80, text=...) at qibusplatforminputcontext.cpp:288
#25 0x00007fbaa58fddf9 in QIBusPlatformInputContext::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qibusplatforminputcontext.cpp:126
#26 0x00007fbabdb29f79 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x19c8030, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe7e00f140) at kernel/qobject.cpp:3771
#27 0x00007fbabdb2a887 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x19c8030, m=m@entry=0x7fbaa5b05d60 <QIBusInputContextProxy::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe7e00f140) at kernel/qobject.cpp:3633
#28 0x00007fbaa58fffce in QIBusInputContextProxy::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_t1=..., this=0x19c8030) at .moc/moc_qibusinputcontextproxy.cpp:516
#29 0x00007fbaa58fffce in QIBusInputContextProxy::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x19c8030, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=0, _a=_a@entry=0x7ffe7e00f2f0) at .moc/moc_qibusinputcontextproxy.cpp:220
#30 0x00007fbaa59011b5 in QIBusInputContextProxy::qt_metacall(QMetaObject::Call, int, void**) (this=0x19c8030, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffe7e00f2f0) at .moc/moc_qibusinputcontextproxy.cpp:502
#31 0x00007fbabba41434 in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QVector<int> const&, int) (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:991
#32 0x00007fbabdb2afb9 in QObject::event(QEvent*) (this=0x19c8030, e=<optimized out>) at kernel/qobject.cpp:1251
#33 0x00007fbabeb5e39c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x19c8030, e=0x7fbaa00079d0) at kernel/qapplication.cpp:3727
#34 0x00007fbabeb65ab0 in QApplication::notify(QObject*, QEvent*) (this=0x194b830, receiver=0x19c8030, e=0x7fbaa00079d0) at kernel/qapplication.cpp:3486
#35 0x00007fbabdafd228 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x19c8030, event=event@entry=0x7fbaa00079d0) at kernel/qcoreapplication.cpp:1048
#36 0x00007fbabdaffe2e in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x7fbaa00079d0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#37 0x00007fbabdaffe2e in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x194ace0) at kernel/qcoreapplication.cpp:1745
#38 0x00007fbabdb50fd7 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x19c5820, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:466
#39 0x00007fbaaf3c9cad in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:68
#40 0x00007fbabdafb5ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe7e00f830, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#41 0x00007fbabdb046c4 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1336
#42 0x00007fbabe349f8c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1762
#43 0x00007fbabeb5e2f5 in QApplication::exec() () at kernel/qapplication.cpp:2901
#44 0x00007fbac194f8fe in kdemain(int, char**) (argc=1, argv=<optimized out>) at /workspace/build/src/main.cpp:207
#45 0x00007fbac157d830 in __libc_start_main (main=0x4006b0 <main(int, char**)>, argc=1, argv=0x7ffe7e00fb48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe7e00fb38) at ../csu/libc-start.c:291
#46 0x00000000004006e9 in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 393414, bug 397814.

Possible duplicates by query: bug 397814, bug 393414.

Reported using DrKonqi
Comment 1 Justin Zobel 2020-12-17 05:38:32 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 2 Bug Janitor Service 2021-01-01 04:38:54 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2021-01-16 04:37:39 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!