[konsole] [Bug 408999] New: Konsole crash on stopping activity

Marcus Harrison bugzilla_noreply at kde.org
Fri Jun 21 16:10:21 BST 2019


https://bugs.kde.org/show_bug.cgi?id=408999

            Bug ID: 408999
           Summary: Konsole crash on stopping activity
           Product: konsole
           Version: 19.04.2
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: marcus at harrisonland.co.uk
  Target Milestone: ---

Application: konsole (19.04.2)

Qt Version: 5.12.3
Frameworks Version: 5.59.0
Operating System: Linux 4.18.0-22-generic x86_64
Distribution: KDE neon User Edition 5.16

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

I was running tmux in a Konsole window with only one tab. I switched to another
Plasma activity and stopped the activity running the Konsole window, which lead 
to this crash.

-- 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 0x7f08202a5800 (LWP 1714))]

Thread 2 (Thread 0x7f0803330700 (LWP 1721)):
#0  0x00007f081fbbc0b4 in __GI___libc_read (fd=7, buf=0x7f080332fb60,
nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f0815435000 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f08153effb7 in g_main_context_check () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f08153f0470 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f08153f05dc in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f081c057dcb in QEventDispatcherGlib::processEvents
(this=0x7f07fc000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f081bff903a in QEventLoop::exec (this=this at entry=0x7f080332fd70,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:225
#7  0x00007f081be204ca in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:531
#8  0x00007f0819852015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007f081be21c72 in QThreadPrivate::start (arg=0x7f0819ac9d80) at
thread/qthread_unix.cpp:361
#10 0x00007f08171366db in start_thread (arg=0x7f0803330700) at
pthread_create.c:463
#11 0x00007f081fbcd88f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f08202a5800 (LWP 1714)):
[KCrash Handler]
#6  QHashNode<unsigned int, QXcbWindowEventListener*>::same_key (this=0x0,
this=0x0, key0=@0x7ffc74b53a5c: 48235529, h0=247331385) at
../../../../include/QtCore/../../src/corelib/tools/qhash.h:158
#7  QHash<unsigned int, QXcbWindowEventListener*>::findNode (h=247331385,
akey=@0x7ffc74b53a5c: 48235529, this=0x55bc28498808) at
../../../../include/QtCore/../../src/corelib/tools/qhash.h:919
#8  QHash<unsigned int, QXcbWindowEventListener*>::findNode
(this=this at entry=0x55bc28498808, akey=@0x7ffc74b53a5c: 48235529,
ahp=ahp at entry=0x0) at
../../../../include/QtCore/../../src/corelib/tools/qhash.h:938
#9  0x00007f080db1c358 in QHash<unsigned int, QXcbWindowEventListener*>::remove
(this=0x55bc28498808, akey=@0x7ffc74b53a5c: 48235529,
akey at entry=@0x7ffc74b53a5c: <optimized out>) at
../../../../include/QtCore/../../src/corelib/tools/qhash.h:806
#10 0x00007f080db1b459 in QXcbConnection::removeWindowEventListener
(this=<optimized out>, id=<optimized out>) at qxcbconnection.cpp:178
#11 0x00007f080db2c341 in QXcbWindow::destroy (this=this at entry=0x7f0804010ea0)
at qxcbwindow.cpp:569
#12 0x00007f080db2c431 in QXcbWindow::~QXcbWindow (this=0x7f0804010ea0,
__in_chrg=<optimized out>) at qxcbwindow.cpp:537
#13 0x00007f0801cf96ad in QXcbGlxWindow::~QXcbGlxWindow (this=0x7f0804010ea0,
__in_chrg=<optimized out>) at qxcbglxwindow.cpp:53
#14 QXcbGlxWindow::~QXcbGlxWindow (this=0x7f0804010ea0, __in_chrg=<optimized
out>) at qxcbglxwindow.cpp:55
#15 0x00007f081c5ce611 in QWindowPrivate::destroy (this=0x55bc28a3a410) at
kernel/qwindow.cpp:1908
#16 0x00007f081ce25ca4 in QWidgetPrivate::deleteTLSysExtra
(this=0x55bc287fd410) at kernel/qwidget.cpp:1901
#17 0x00007f081ce2ab88 in QWidget::destroy (this=this at entry=0x55bc28827370,
destroyWindow=destroyWindow at entry=true,
destroySubWindows=destroySubWindows at entry=true) at kernel/qwidget.cpp:12494
#18 0x00007f081ce322c8 in QWidget::~QWidget (this=0x55bc28827370,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1713
#19 0x00007f081cf6d179 in QMenu::~QMenu (this=0x55bc28827370,
__in_chrg=<optimized out>) at widgets/qmenu.cpp:1724
#20 0x00007f081f2d9a0a in KXMLGUIBuilder::removeContainer (this=0x55bc2852cd88,
container=0x55bc28827370, parent=0x0, element=..., containerAction=0x0) at
./src/kxmlguibuilder.cpp:290
#21 0x00007f081f2ef4e8 in KXMLGUI::ContainerNode::destruct
(this=this at entry=0x55bc287fd990, element=..., state=...) at
./src/kxmlguifactory_p.cpp:325
#22 0x00007f081f2ef613 in KXMLGUI::ContainerNode::destructChildren
(this=this at entry=0x55bc285e2400, element=..., state=...) at
./src/kxmlguifactory_p.cpp:347
#23 0x00007f081f2ef28c in KXMLGUI::ContainerNode::destruct
(this=this at entry=0x55bc285e2400, element=..., state=...) at
./src/kxmlguifactory_p.cpp:305
#24 0x00007f081f2e33cb in KXMLGUIFactory::removeClient (this=<optimized out>,
client=<optimized out>) at ./src/kxmlguifactory.cpp:458
#25 0x00007f081feb73d7 in Konsole::MainWindow::disconnectController
(this=0x55bc2852cd50, controller=0x55bc28829720) at ./src/MainWindow.cpp:231
#26 0x00007f081c02a98f in QtPrivate::QSlotObjectBase::call (a=0x7ffc74b540d0,
r=0x55bc2852cd50, this=0x55bc285e1fd0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#27 QMetaObject::activate (sender=sender at entry=0x55bc285baf00,
signalOffset=<optimized out>, local_signal_index=local_signal_index at entry=3,
argv=argv at entry=0x7ffc74b540d0) at kernel/qobject.cpp:3776
#28 0x00007f081c02af47 in QMetaObject::activate
(sender=sender at entry=0x55bc285baf00, m=m at entry=0x7f081faa3c80
<Konsole::ViewManager::staticMetaObject>,
local_signal_index=local_signal_index at entry=3, argv=argv at entry=0x7ffc74b540d0)
at kernel/qobject.cpp:3648
#29 0x00007f081f8576f2 in Konsole::ViewManager::unplugController
(this=this at entry=0x55bc285baf00, _t1=<optimized out>) at
./obj-x86_64-linux-gnu/src/konsoleprivate_autogen/EWIEGA46WW/moc_ViewManager.cpp:488
#30 0x00007f081f8438a8 in Konsole::ViewManager::sessionFinished
(this=0x55bc285baf00) at ./src/ViewManager.cpp:455
#31 0x00007f081c02a98f in QtPrivate::QSlotObjectBase::call (a=0x7ffc74b54260,
r=0x55bc285baf00, this=0x55bc287a9f10) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#32 QMetaObject::activate (sender=sender at entry=0x55bc287749d0,
signalOffset=<optimized out>, local_signal_index=local_signal_index at entry=1,
argv=argv at entry=0x0) at kernel/qobject.cpp:3776
#33 0x00007f081c02af47 in QMetaObject::activate
(sender=sender at entry=0x55bc287749d0, m=m at entry=0x7f081faa3f00
<Konsole::Session::staticMetaObject>,
local_signal_index=local_signal_index at entry=1, argv=argv at entry=0x0) at
kernel/qobject.cpp:3648
#34 0x00007f081f856903 in Konsole::Session::finished
(this=this at entry=0x55bc287749d0) at
./obj-x86_64-linux-gnu/src/konsoleprivate_autogen/EWIEGA46WW/moc_Session.cpp:666
#35 0x00007f081f80edf0 in Konsole::Session::done (this=0x55bc287749d0,
exitCode=1, exitStatus=QProcess::CrashExit) at ./src/Session.cpp:950
#36 0x00007f081c02a98f in QtPrivate::QSlotObjectBase::call (a=0x7ffc74b54480,
r=0x55bc287749d0, this=0x55bc287859e0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#37 QMetaObject::activate (sender=sender at entry=0x55bc2856e080,
signalOffset=<optimized out>, local_signal_index=local_signal_index at entry=2,
argv=argv at entry=0x7ffc74b54480) at kernel/qobject.cpp:3776
#38 0x00007f081c02af47 in QMetaObject::activate
(sender=sender at entry=0x55bc2856e080, m=m at entry=0x7f081c4a5ce0
<QProcess::staticMetaObject>, local_signal_index=local_signal_index at entry=2,
argv=argv at entry=0x7ffc74b54480) at kernel/qobject.cpp:3648
#39 0x00007f081bf75b5f in QProcess::finished (this=this at entry=0x55bc2856e080,
_t1=<optimized out>, _t2=<optimized out>) at .moc/moc_qprocess.cpp:338
#40 0x00007f081bf7c9a7 in QProcessPrivate::_q_processDied
(this=this at entry=0x55bc2877f450) at io/qprocess.cpp:1176
#41 0x00007f081bf816ed in QProcessPrivate::waitForFinished
(this=this at entry=0x55bc2877f450, msecs=msecs at entry=1000) at
io/qprocess_unix.cpp:868
#42 0x00007f081bf773eb in QProcess::waitForFinished (this=<optimized out>,
msecs=1000) at io/qprocess.cpp:1919
#43 0x00007f081f80dda2 in Konsole::Session::closeInNormalWay
(this=0x55bc287749d0) at ./src/Session.cpp:870
#44 0x00007f081f80e345 in Konsole::Session::close (this=0x55bc287749d0) at
./src/Session.cpp:831
#45 0x00007f081f81e228 in Konsole::SessionManager::closeAllSessions
(this=0x7f081faabae0 <(anonymous
namespace)::Q_QGS_theSessionManager::innerFunction()::holder>) at
./src/SessionManager.cpp:79
#46 0x00007f081feb11c4 in Konsole::Application::~Application
(this=0x7ffc74b54870, __in_chrg=<optimized out>) at ./src/Application.cpp:159
#47 0x00007f081fec4cf2 in kdemain (argc=<optimized out>, argv=<optimized out>)
at ./src/main.cpp:188
#48 0x00007f081facdb97 in __libc_start_main (main=0x55bc2791b720 <main>,
argc=3, argv=0x7ffc74b549c8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffc74b549b8) at ../csu/libc-start.c:310
#49 0x000055bc2791b75a in _start ()

Possible duplicates by query: bug 389942.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list