Bug 372882 - Konsole crash on tab switch
Summary: Konsole crash on tab switch
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 16.08.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-11-24 12:47 UTC by Hubert Kario
Modified: 2020-12-02 10:53 UTC (History)
1 user (show)

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 Hubert Kario 2016-11-24 12:47:29 UTC
Application: konsole (16.08.2)

Qt Version: 5.6.1
Frameworks Version: 5.27.0
Operating System: Linux 4.8.8-200.fc24.x86_64 x86_64
Distribution: "Fedora release 24 (Twenty Four)"

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

I cliecked on the tab after which konsole crashed.

At the same time I noticed that there were some issues with netowrk connectivity and I had few ssh sessions opened;

-- Backtrace:
Application: Konsole (konsole), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
84	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fdbd0efc940 (LWP 4509))]

Thread 3 (Thread 0x7fdbc5de0700 (LWP 4511)):
#0  0x00007fdbdf3011cd in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fdbdb57c660 in g_wakeup_acknowledge () at /lib64/libglib-2.0.so.0
#2  0x00007fdbdb5394d6 in g_main_context_check () at /lib64/libglib-2.0.so.0
#3  0x00007fdbdb5399a4 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#4  0x00007fdbdb539b1c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#5  0x00007fdbe010b24b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fdbb80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#6  0x00007fdbe00ba5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fdbc5ddfc40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#7  0x00007fdbdff19343 in QThread::exec() (this=this@entry=0x7fdbe52a5060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:500
#8  0x00007fdbe5230559 in QDBusConnectionManager::run() (this=0x7fdbe52a5060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:189
#9  0x00007fdbdff1d99a in QThreadPrivate::start(void*) (arg=0x7fdbe52a5060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:341
#10 0x00007fdbddcd65ca in start_thread (arg=0x7fdbc5de0700) at pthread_create.c:333
#11 0x00007fdbdf3110ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fdbc7738700 (LWP 4510)):
#0  0x00007fdbdf30556d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fdbdcdc2f80 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7fdbc7737b80) at /usr/include/bits/poll2.h:46
#2  0x00007fdbdcdc2f80 in _xcb_conn_wait (c=c@entry=0x564d5d8b4e60, cond=cond@entry=0x564d5d8b4ea0, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:459
#3  0x00007fdbdcdc4b79 in xcb_wait_for_event (c=0x564d5d8b4e60) at xcb_in.c:693
#4  0x00007fdbca483da9 in QXcbEventReader::run() (this=0x564d5d8bf530) at qxcbconnection.cpp:1325
#5  0x00007fdbdff1d99a in QThreadPrivate::start(void*) (arg=0x564d5d8bf530) at thread/qthread_unix.cpp:341
#6  0x00007fdbddcd65ca in start_thread (arg=0x7fdbc7738700) at pthread_create.c:333
#7  0x00007fdbdf3110ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fdbd0efc940 (LWP 4509)):
[KCrash Handler]
#6  0x00007fdbdf242765 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007fdbdf24436a in __GI_abort () at abort.c:89
#8  0x00007fdbdf283710 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7fdbdf39a200 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007fdbdf28beaa in _int_free (ar_ptr=<optimized out>, ptr=<optimized out>, str=0x7fdbdf397b43 "free(): invalid pointer", action=3) at malloc.c:5004
#10 0x00007fdbdf28beaa in _int_free (av=<optimized out>, p=<optimized out>, have_lock=<optimized out>) at malloc.c:3865
#11 0x00007fdbdf28f40c in __GI___libc_free (mem=<optimized out>) at malloc.c:2966
#12 0x00007fdbdfb7da75 in operator delete(void*) (ptr=<optimized out>) at ../../../../libstdc++-v3/libsupc++/del_op.cc:49
#13 0x00007fdbdfb7da85 in operator delete(void*, unsigned long) (ptr=<optimized out>) at ../../../../libstdc++-v3/libsupc++/del_ops.cc:32
#14 0x00007fdbdff8709a in QMapDataBase::freeData(QMapDataBase*) (d=<optimized out>) at tools/qmap.cpp:369
#15 0x00007fdbe430a49c in KXMLGUI::ContainerNode::unplugActions(KXMLGUI::BuildState&) (this=<optimized out>) at /usr/include/qt5/QtCore/qmap.h:247
#16 0x00007fdbe430a49c in KXMLGUI::ContainerNode::unplugActions(KXMLGUI::BuildState&) (this=0x564d5e3fdbd0, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qmap.h:335
#17 0x00007fdbe430a49c in KXMLGUI::ContainerNode::unplugActions(KXMLGUI::BuildState&) (this=0x564d5e3fdbb0, __in_chrg=<optimized out>) at /usr/src/debug/kxmlgui-5.27.0/src/kxmlguifactory_p.h:68
#18 0x00007fdbe430a49c in KXMLGUI::ContainerNode::unplugActions(KXMLGUI::BuildState&) (this=this@entry=0x564d5e765410, state=...) at /usr/src/debug/kxmlgui-5.27.0/src/kxmlguifactory_p.cpp:383
#19 0x00007fdbe430a50b in KXMLGUI::ContainerNode::destruct(QDomElement, KXMLGUI::BuildState&) (this=this@entry=0x564d5e765410, element=..., state=...) at /usr/src/debug/kxmlgui-5.27.0/src/kxmlguifactory_p.cpp:307
#20 0x00007fdbe430a803 in KXMLGUI::ContainerNode::destructChildren(QDomElement const&, KXMLGUI::BuildState&) (this=this@entry=0x564d5e761d60, element=..., state=...) at /usr/src/debug/kxmlgui-5.27.0/src/kxmlguifactory_p.cpp:347
#21 0x00007fdbe430a500 in KXMLGUI::ContainerNode::destruct(QDomElement, KXMLGUI::BuildState&) (this=this@entry=0x564d5e761d60, element=..., state=...) at /usr/src/debug/kxmlgui-5.27.0/src/kxmlguifactory_p.cpp:305
#22 0x00007fdbe430a803 in KXMLGUI::ContainerNode::destructChildren(QDomElement const&, KXMLGUI::BuildState&) (this=this@entry=0x564d5e2c4580, element=..., state=...) at /usr/src/debug/kxmlgui-5.27.0/src/kxmlguifactory_p.cpp:347
#23 0x00007fdbe430a500 in KXMLGUI::ContainerNode::destruct(QDomElement, KXMLGUI::BuildState&) (this=0x564d5e2c4580, element=..., state=...) at /usr/src/debug/kxmlgui-5.27.0/src/kxmlguifactory_p.cpp:305
#24 0x00007fdbe42fe844 in KXMLGUIFactory::removeClient(KXMLGUIClient*) (this=<optimized out>, client=<optimized out>) at /usr/src/debug/kxmlgui-5.27.0/src/kxmlguifactory.cpp:458
#25 0x00007fdbe4f4e4b3 in Konsole::MainWindow::disconnectController(Konsole::SessionController*) () at /lib64/libkdeinit5_konsole.so
#26 0x00007fdbe4f512e8 in Konsole::MainWindow::activeViewChanged(Konsole::SessionController*) () at /lib64/libkdeinit5_konsole.so
#27 0x00007fdbe00e3ebc in QMetaObject::activate(QObject*, int, int, void**) (a=0x7ffc9ab18cb0, r=0x564d5e1606e0, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:124
#28 0x00007fdbe00e3ebc in QMetaObject::activate(QObject*, int, int, void**) (sender=0x564d5e75ff50, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3715
#29 0x00007fdbe4ce7142 in Konsole::ViewManager::activeViewChanged(Konsole::SessionController*) () at /lib64/libkonsoleprivate.so.16
#30 0x00007fdbe00e3ebc in QMetaObject::activate(QObject*, int, int, void**) (a=0x7ffc9ab18df0, r=0x564d5e75ff50, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:124
#31 0x00007fdbe00e3ebc in QMetaObject::activate(QObject*, int, int, void**) (sender=0x564d5ed05ae0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3715
#32 0x00007fdbe4ce66cf in Konsole::SessionController::focused(Konsole::SessionController*) () at /lib64/libkonsoleprivate.so.16
#33 0x00007fdbe4cb0c2b in Konsole::SessionController::eventFilter(QObject*, QEvent*) () at /lib64/libkonsoleprivate.so.16
#34 0x00007fdbe00bb592 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (receiver=receiver@entry=0x564d5e7e2e60, event=event@entry=0x7ffc9ab19130) at kernel/qcoreapplication.cpp:1126
#35 0x00007fdbe0be3be5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x564d5e7e2e60, e=0x7ffc9ab19130) at kernel/qapplication.cpp:3800
#36 0x00007fdbe0be90ef in QApplication::notify(QObject*, QEvent*) (this=0x564d5d8a5730, receiver=0x564d5e7e2e60, e=0x7ffc9ab19130) at kernel/qapplication.cpp:3561
#37 0x00007fdbe00bb7aa in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=receiver@entry=0x564d5e7e2e60, event=event@entry=0x7ffc9ab19130) at kernel/qcoreapplication.cpp:1015
#38 0x00007fdbe0be6a96 in QApplicationPrivate::setFocusWidget(QWidget*, Qt::FocusReason) (event=0x7ffc9ab19130, receiver=0x564d5e7e2e60) at ../../src/corelib/kernel/qcoreapplication.h:225
#39 0x00007fdbe0be6a96 in QApplicationPrivate::setFocusWidget(QWidget*, Qt::FocusReason) (focus=focus@entry=0x564d5e7e2e60, reason=reason@entry=Qt::OtherFocusReason) at kernel/qapplication.cpp:1867
#40 0x00007fdbe0c23d55 in QWidget::setFocus(Qt::FocusReason) (this=this@entry=0x564d5e7e2e60, reason=reason@entry=Qt::OtherFocusReason) at kernel/qwidget.cpp:6519
#41 0x00007fdbe0c0ac43 in QStackedLayout::setCurrentIndex(int) (this=0x564d5e7e2e60) at ../../src/widgets/kernel/qwidget.h:405
#42 0x00007fdbe0c0ac43 in QStackedLayout::setCurrentIndex(int) (this=this@entry=0x564d5e5f03b0, index=1) at kernel/qstackedlayout.cpp:336
#43 0x00007fdbe0c0acf4 in QStackedLayout::setCurrentWidget(QWidget*) (this=0x564d5e5f03b0, widget=widget@entry=0x564d5e7e2e60) at kernel/qstackedlayout.cpp:374
#44 0x00007fdbe0d8d971 in QStackedWidget::setCurrentWidget(QWidget*) (this=<optimized out>, widget=0x564d5e7e2e60) at widgets/qstackedwidget.cpp:244
#45 0x00007fdbe4ccd31a in Konsole::TabbedViewContainer::setActiveView(QWidget*) () at /lib64/libkonsoleprivate.so.16
#46 0x00007fdbe00e3ebc in QMetaObject::activate(QObject*, int, int, void**) (a=0x7ffc9ab19430, r=0x564d5e75ff50, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:124
#47 0x00007fdbe00e3ebc in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x564d5e760000, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffc9ab19430) at kernel/qobject.cpp:3715
#48 0x00007fdbe00e43b7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x564d5e760000, m=m@entry=0x7fdbe10e0300 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffc9ab19430) at kernel/qobject.cpp:3595
#49 0x00007fdbe0bda672 in QAction::triggered(bool) (this=this@entry=0x564d5e760000, _t1=<optimized out>) at .moc/moc_qaction.cpp:369
#50 0x00007fdbe0bdd292 in QAction::activate(QAction::ActionEvent) (this=0x564d5e760000, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1163
#51 0x00007fdbe0bddc1c in QAction::event(QEvent*) (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1091
#52 0x00007fdbe0be3c0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x564d5e760000, e=0x7ffc9ab19700) at kernel/qapplication.cpp:3804
#53 0x00007fdbe0be90ef in QApplication::notify(QObject*, QEvent*) (this=0x564d5d8a5730, receiver=0x564d5e760000, e=0x7ffc9ab19700) at kernel/qapplication.cpp:3561
#54 0x00007fdbe00bb7aa in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x564d5e760000, event=event@entry=0x7ffc9ab19700) at kernel/qcoreapplication.cpp:1015
#55 0x00007fdbe06b7478 in QShortcutMap::dispatchEvent(QKeyEvent*) (event=0x7ffc9ab19700, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:225
#56 0x00007fdbe06b7478 in QShortcutMap::dispatchEvent(QKeyEvent*) (this=this@entry=0x564d5d8a58e8, e=e@entry=0x7ffc9ab197b0) at kernel/qshortcutmap.cpp:668
#57 0x00007fdbe06b7519 in QShortcutMap::tryShortcut(QKeyEvent*) (this=this@entry=0x564d5d8a58e8, e=e@entry=0x7ffc9ab197b0) at kernel/qshortcutmap.cpp:344
#58 0x00007fdbe0672a6d in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) (window=<optimized out>, window@entry=0x564d5e0cdd90, timestamp=<optimized out>, keyCode=16777236, modifiers=..., nativeScanCode=114, nativeVirtualKey=65363, nativeModifiers=1, text=..., autorepeat=false, count=1) at kernel/qwindowsysteminterface.cpp:228
#59 0x00007fdbe0689434 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) (e=0x564d5e7f1260) at kernel/qguiapplication.cpp:1975
#60 0x00007fdbe068e6b5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (e=<optimized out>) at kernel/qguiapplication.cpp:1667
#61 0x00007fdbe066f3cb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at kernel/qwindowsysteminterface.cpp:648
#62 0x00007fdbca4ba600 in userEventSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#63 0x00007fdbdb5396ba in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#64 0x00007fdbdb539a70 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#65 0x00007fdbdb539b1c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#66 0x00007fdbe010b22f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x564d5d8e90f0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#67 0x00007fdbe00ba5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc9ab19b70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#68 0x00007fdbe00c217c in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1285
#69 0x00007fdbe4f5da23 in kdemain () at /lib64/libkdeinit5_konsole.so
#70 0x00007fdbdf22e731 in __libc_start_main (main=0x564d5d0a2a60 <main>, argc=1, argv=0x7ffc9ab19e38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc9ab19e28) at ../csu/libc-start.c:289
#71 0x0000564d5d0a2a99 in _start ()

Possible duplicates by query: bug 371957, bug 364287, bug 364188, bug 363636, bug 360774.

Reported using DrKonqi
Comment 1 Justin Zobel 2020-12-01 23:00:12 UTC
Thanks for the report Hubert. It's 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've set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 2 Hubert Kario 2020-12-02 10:53:28 UTC
I didn't hit this issue for quite some time now, I'll consider it fixed.