Bug 398157

Summary: Konsole crashed during interacting with the UI
Product: [Applications] konsole Reporter: 林博仁(Buo-ren, Lin) <Buo.Ren.Lin>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 18.08.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description 林博仁(Buo-ren, Lin) 2018-09-02 13:39:36 UTC
Application: kdeinit5 (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:

Just clicking on the terminal when returning back to the Konsole window and it crashed.

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

Thread 3 (Thread 0x7fd8a94ec700 (LWP 14363)):
#0  0x00007fd8c02bf811 in __GI_ppoll (fds=fds@entry=0x7fd89c0100f8, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x7fd8a94ebc50, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:50
#1  0x00007fd8c0850a40 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x7fd8a94ebc50, nfds=1, fds=0x7fd89c0100f8) at kernel/qcore_unix.cpp:112
#3  qt_safe_poll (fds=0x7fd89c0100f8, nfds=1, timeout_ts=timeout_ts@entry=0x7fd8a94ebce0) at kernel/qcore_unix.cpp:142
#4  0x00007fd8c08521b2 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#5  0x00007fd8c07fc5ba in QEventLoop::exec (this=this@entry=0x7fd8a94ebe00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007fd8c06315e4 in QThread::exec (this=this@entry=0x7fd8b7841d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:525
#7  0x00007fd8b75c8f35 in QDBusConnectionManager::run (this=0x7fd8b7841d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007fd8c063c727 in QThreadPrivate::start (arg=0x7fd8b7841d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:367
#9  0x00007fd8be7146ba in start_thread (arg=0x7fd8a94ec700) at pthread_create.c:333
#10 0x00007fd8c02cb41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fd8ac402700 (LWP 14362)):
#0  0x00007fd8c02bf74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fd8c16c4c62 in poll (__timeout=-1, __nfds=1, __fds=0x7fd8ac401d30) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x20aa8e0, cond=cond@entry=0x20aa920, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:459
#3  0x00007fd8c16c68d7 in xcb_wait_for_event (c=0x20aa8e0) at ../../src/xcb_in.c:693
#4  0x00007fd8aee3c489 in QXcbEventReader::run (this=0x20b5970) at qxcbconnection.cpp:1388
#5  0x00007fd8c063c727 in QThreadPrivate::start (arg=0x20b5970) at thread/qthread_unix.cpp:367
#6  0x00007fd8be7146ba in start_thread (arg=0x7fd8ac402700) at pthread_create.c:333
#7  0x00007fd8c02cb41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fd8c2244780 (LWP 14361)):
[KCrash Handler]
#6  QWeakPointer<QObject>::isNull (this=0x169) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:566
#7  QPointer<Konsole::Session>::isNull (this=0x169) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:95
#8  Konsole::SessionController::isReadOnly (this=0x131) at /workspace/build/src/SessionController.cpp:1568
#9  0x00007fd8b01a7eef in Konsole::Vt102Emulation::sendKeyEvent (this=0x2993260, event=0x7ffc46fbaf70) at /workspace/build/src/Vt102Emulation.cpp:1130
#10 0x00007fd8c082b2a6 in QtPrivate::QSlotObjectBase::call (a=0x7ffc46fbaf20, r=0x2993260, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#11 QMetaObject::activate (sender=sender@entry=0x29b5750, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc46fbaf20) at kernel/qobject.cpp:3754
#12 0x00007fd8c082b887 in QMetaObject::activate (sender=sender@entry=0x29b5750, m=m@entry=0x7fd8b0402e60 <Konsole::TerminalDisplay::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc46fbaf20) at kernel/qobject.cpp:3633
#13 0x00007fd8b01b2dbf in Konsole::TerminalDisplay::keyPressedSignal (this=this@entry=0x29b5750, _t1=_t1@entry=0x7ffc46fbaf70) at /workspace/build/obj-x86_64-linux-gnu/src/moc_TerminalDisplay.cpp:401
#14 0x00007fd8b0192496 in Konsole::TerminalDisplay::inputMethodEvent (this=0x29b5750, event=0x7ffc46fbb300) at /workspace/build/src/TerminalDisplay.cpp:3387
#15 0x00007fd8becc6778 in QWidget::event (this=this@entry=0x29b5750, event=event@entry=0x7ffc46fbb300) at kernel/qwidget.cpp:9281
#16 0x00007fd8b0193caa in Konsole::TerminalDisplay::event (this=0x29b5750, event=0x7ffc46fbb300) at /workspace/build/src/TerminalDisplay.cpp:3672
#17 0x00007fd8bec8739c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x29b5750, e=0x7ffc46fbb300) at kernel/qapplication.cpp:3727
#18 0x00007fd8bec8eab0 in QApplication::notify (this=0x208f930, receiver=0x29b5750, e=0x7ffc46fbb300) at kernel/qapplication.cpp:3486
#19 0x00007fd8c07fe228 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x29b5750, event=event@entry=0x7ffc46fbb300) at kernel/qcoreapplication.cpp:1048
#20 0x00007fd8a94f7a57 in QCoreApplication::sendEvent (event=0x7ffc46fbb300, receiver=0x29b5750) at ../../../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#21 QIBusPlatformInputContext::commitText (this=0x2148480, text=...) at qibusplatforminputcontext.cpp:288
#22 0x00007fd8a94ffdf9 in QIBusPlatformInputContext::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qibusplatforminputcontext.cpp:126
#23 0x00007fd8c082af79 in QMetaObject::activate (sender=sender@entry=0x2113f10, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc46fbb570) at kernel/qobject.cpp:3771
#24 0x00007fd8c082b887 in QMetaObject::activate (sender=sender@entry=0x2113f10, m=m@entry=0x7fd8a9707d60 <QIBusInputContextProxy::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc46fbb570) at kernel/qobject.cpp:3633
#25 0x00007fd8a9501fce in QIBusInputContextProxy::CommitText (_t1=..., this=0x2113f10) at .moc/moc_qibusinputcontextproxy.cpp:516
#26 QIBusInputContextProxy::qt_static_metacall (_o=_o@entry=0x2113f10, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=0, _a=_a@entry=0x7ffc46fbb720) at .moc/moc_qibusinputcontextproxy.cpp:220
#27 0x00007fd8a95031b5 in QIBusInputContextProxy::qt_metacall (this=0x2113f10, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffc46fbb720) at .moc/moc_qibusinputcontextproxy.cpp:502
#28 0x00007fd8b75d4434 in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:991
#29 0x00007fd8c082bfb9 in QObject::event (this=0x2113f10, e=<optimized out>) at kernel/qobject.cpp:1251
#30 0x00007fd8bec8739c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x2113f10, e=0x7fd89c001d20) at kernel/qapplication.cpp:3727
#31 0x00007fd8bec8eab0 in QApplication::notify (this=0x208f930, receiver=0x2113f10, e=0x7fd89c001d20) at kernel/qapplication.cpp:3486
#32 0x00007fd8c07fe228 in QCoreApplication::notifyInternal2 (receiver=0x2113f10, event=event@entry=0x7fd89c001d20) at kernel/qcoreapplication.cpp:1048
#33 0x00007fd8c0800e2e in QCoreApplication::sendEvent (event=0x7fd89c001d20, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x20465c0) at kernel/qcoreapplication.cpp:1745
#35 0x00007fd8c0851fd7 in QEventDispatcherUNIX::processEvents (this=0x2110c30, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:466
#36 0x00007fd8aeec5cad in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:68
#37 0x00007fd8c07fc5ba in QEventLoop::exec (this=this@entry=0x7ffc46fbbc60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#38 0x00007fd8c08056c4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#39 0x00007fd8c0db6f8c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1762
#40 0x00007fd8bec872f5 in QApplication::exec () at kernel/qapplication.cpp:2901
#41 0x00007fd8b04338fe in kdemain (argc=3, argv=<optimized out>) at /workspace/build/src/main.cpp:207
#42 0x0000000000408669 in ?? ()
#43 0x0000000000409ba1 in ?? ()
#44 0x000000000040a237 in ?? ()
#45 0x0000000000404ed4 in ?? ()
#46 0x00007fd8c01e4830 in __libc_start_main (main=0x404600, argc=5, argv=0x7ffc46fbc6b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc46fbc6a8) at ../csu/libc-start.c:291
#47 0x0000000000405c69 in _start ()

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

Reported using DrKonqi
Comment 1 Kurt Hindenburg 2018-10-11 14:48:20 UTC

*** This bug has been marked as a duplicate of bug 393414 ***