Bug 371957

Summary: konsole - crash on click
Product: [Applications] konsole Reporter: Mark <mpictor>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WORKSFORME    
Severity: crash CC: justin.zobel
Priority: NOR Keywords: drkonqi
Version: 16.04.3   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mark 2016-11-01 21:35:55 UTC
Application: konsole (16.04.3)
 (Compiled from sources)
Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.1.12-gentoosystemd x86_64
Distribution (Platform): Gentoo Packages

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

I had a konsole window open with numerous tabs; it had been open for days. I was editing some file in kate, then moused over the konsole window and clicked.

I think I clicked on a tab, but it's possible I clicked elsewhere. When I clicked, konsole crashed immediately.

`eix konsole` shows the following version, compile time, and flags:

     Installed versions:  16.04.3(5)(08:35:53 PM 09/29/2016)(X handbook -debug -test)  

Its dependencies are the following versions:
$ `equery g kde-apps/konsole-16.04.3`
 * Searching for konsole16.04.3 in kde-apps ...

 * dependency graph for kde-apps/konsole-16.04.3
 `--  kde-apps/konsole-16.04.3  amd64 
   `--  kde-frameworks/kbookmarks-5.26.0  (>=kde-frameworks/kbookmarks-5.23.0) amd64 
   `--  kde-frameworks/kcompletion-5.26.0  (>=kde-frameworks/kcompletion-5.23.0) amd64 
   `--  kde-frameworks/kconfig-5.26.0  (>=kde-frameworks/kconfig-5.23.0) amd64 
   `--  kde-frameworks/kconfigwidgets-5.26.0  (>=kde-frameworks/kconfigwidgets-5.23.0) amd64 
   `--  kde-frameworks/kcoreaddons-5.26.0-r1  (>=kde-frameworks/kcoreaddons-5.23.0) amd64 
   `--  kde-frameworks/kdelibs4support-5.26.0  (>=kde-frameworks/kdelibs4support-5.23.0) amd64  [X?]
   `--  kde-frameworks/kguiaddons-5.26.0  (>=kde-frameworks/kguiaddons-5.23.0) amd64 
   `--  kde-frameworks/kjobwidgets-5.26.0  (>=kde-frameworks/kjobwidgets-5.23.0) amd64 
   `--  kde-frameworks/ki18n-5.26.0  (>=kde-frameworks/ki18n-5.23.0) amd64 
   `--  kde-frameworks/kinit-5.26.0  (>=kde-frameworks/kinit-5.23.0) amd64 
   `--  kde-frameworks/kiconthemes-5.26.0  (>=kde-frameworks/kiconthemes-5.23.0) amd64
   `--  kde-frameworks/kio-5.26.0-r2  (>=kde-frameworks/kio-5.23.0) amd64
   `--  kde-frameworks/knotifications-5.26.0  (>=kde-frameworks/knotifications-5.23.0) amd64
   `--  kde-frameworks/knotifyconfig-5.26.0  (>=kde-frameworks/knotifyconfig-5.23.0) amd64
   `--  kde-frameworks/kparts-5.26.0-r1  (>=kde-frameworks/kparts-5.23.0) amd64
   `--  kde-frameworks/kpty-5.26.0  (>=kde-frameworks/kpty-5.23.0) amd64
   `--  kde-frameworks/kservice-5.26.0  (>=kde-frameworks/kservice-5.23.0) amd64
   `--  kde-frameworks/ktextwidgets-5.26.0  (>=kde-frameworks/ktextwidgets-5.23.0) amd64
   `--  kde-frameworks/kwidgetsaddons-5.26.0  (>=kde-frameworks/kwidgetsaddons-5.23.0) amd64
   `--  kde-frameworks/kwindowsystem-5.26.0  (>=kde-frameworks/kwindowsystem-5.23.0) amd64
   `--  kde-frameworks/kxmlgui-5.26.0  (>=kde-frameworks/kxmlgui-5.23.0) amd64
   `--  dev-qt/qtdbus-5.6.1  (>=dev-qt/qtdbus-5.6.1) amd64
   `--  dev-qt/qtgui-5.6.1  (>=dev-qt/qtgui-5.6.1) amd64
   `--  dev-qt/qtnetwork-5.6.1  (>=dev-qt/qtnetwork-5.6.1) amd64
   `--  dev-qt/qtprintsupport-5.6.1  (>=dev-qt/qtprintsupport-5.6.1) amd64
   `--  dev-qt/qtscript-5.6.1  (>=dev-qt/qtscript-5.6.1) amd64
   `--  dev-qt/qtwidgets-5.6.1  (>=dev-qt/qtwidgets-5.6.1) amd64
   `--  dev-qt/qtxml-5.6.1  (>=dev-qt/qtxml-5.6.1) amd64
   `--  x11-libs/libX11-1.6.4  (x11-libs/libX11) amd64
   `--  sys-devel/make-4.1-r1  (sys-devel/make) amd64
   `--  dev-util/cmake-3.5.2-r1  (>=dev-util/cmake-2.8.12) amd64
   `--  sys-apps/sed-4.2.1-r1  (>=sys-apps/sed-4) amd64
   `--  x11-base/xorg-server-1.18.4  (x11-base/xorg-server) amd64  [xvfb]
   `--  x11-apps/xhost-1.0.7  (x11-apps/xhost) amd64
   `--  dev-util/desktop-file-utils-0.23  (dev-util/desktop-file-utils) amd64
   `--  x11-misc/shared-mime-info-1.4  (x11-misc/shared-mime-info) amd64
   `--  kde-frameworks/extra-cmake-modules-5.26.0  (>=kde-frameworks/extra-cmake-modules-5.23.0) amd64
   `--  kde-frameworks/kdoctools-5.26.0  (>=kde-frameworks/kdoctools-5.23.0) amd64
   `--  dev-qt/qttest-5.6.1  (>=dev-qt/qttest-5.6.1) amd64
   `--  dev-qt/qtcore-5.6.1  (>=dev-qt/qtcore-5.6.1) amd64
   `--  app-arch/xz-utils-5.2.2  (app-arch/xz-utils) amd64
   `--  kde-frameworks/kf-env-3  (>=kde-frameworks/kf-env-3) amd64
[ kde-apps/konsole-16.04.3 stats: packages (43), max depth (1) ]

-- Backtrace:
Application: Konsole (konsole), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd7508cf880 (LWP 2065))]

Thread 3 (Thread 0x7fd73d938700 (LWP 2066)):
#0  g_mutex_unlock (mutex=0x7fd738001600) at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gthread-posix.c:1347
#1  0x00007fd746f98e9d in g_main_context_iterate (context=context@entry=0x7fd738001600, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3788
#2  0x00007fd746f990fc in g_main_context_iteration (context=0x7fd738001600, may_block=1) at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3901
#3  0x00007fd74cf8740c in QEventDispatcherGlib::processEvents (this=0x7fd7380008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007fd74cf3912a in QEventLoop::exec (this=this@entry=0x7fd73d937d10, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fd74cd90674 in QThread::exec (this=this@entry=0x7fd750a0f240 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:500
#6  0x00007fd7509a2235 in QDBusConnectionManager::run (this=0x7fd750a0f240 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:189
#7  0x00007fd74cd94e2c in QThreadPrivate::start (arg=0x7fd750a0f240 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:341
#8  0x00007fd748ae7434 in start_thread (arg=0x7fd73d938700) at pthread_create.c:334
#9  0x00007fd7503aa50d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fd736b11700 (LWP 2067)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fd74cd8d7d0 in _q_futex (timeout=0x0, val=3, op=0, addr=0x1bd6bc0) at thread/qmutex_linux.cpp:146
#2  lockInternal_helper<false> (timeout=-1, elapsedTimer=0x0, d_ptr=...) at thread/qmutex_linux.cpp:187
#3  QBasicMutex::lockInternal (this=0x1bd6bc0) at thread/qmutex_linux.cpp:203
#4  0x00007fd74cd8d847 in QMutex::lock (this=this@entry=0x1bd6bc0) at thread/qmutex.cpp:224
#5  0x00007fd73ce7e019 in QXcbEventReader::run (this=0x1bd6bb0) at qxcbconnection.cpp:1326
#6  0x00007fd74cd94e2c in QThreadPrivate::start (arg=0x1bd6bb0) at thread/qthread_unix.cpp:341
#7  0x00007fd748ae7434 in start_thread (arg=0x7fd736b11700) at pthread_create.c:334
#8  0x00007fd7503aa50d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fd7508cf880 (LWP 2065)):
[KCrash Handler]
#6  0x00007fd7502f4217 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007fd7502f566a in __GI_abort () at abort.c:89
#8  0x00007fd750333448 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7fd750427560 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007fd750338d36 in malloc_printerr (action=3, str=0x7fd750423b4d "corrupted double-linked list", ptr=<optimized out>, ar_ptr=<optimized out>) at malloc.c:5000
#10 0x00007fd750339d8f in _int_free (av=0x7fd730000020, p=0x7fd730003180, have_lock=0) at malloc.c:4008
#11 0x00007fd73ce7e447 in QScopedPointerPodDeleter::cleanup (pointer=0x7fd730003190) at ../../../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:75
#12 QScopedPointer<xcb_generic_event_t, QScopedPointerPodDeleter>::~QScopedPointer (this=<synthetic pointer>, __in_chrg=<optimized out>) at ../../../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:101
#13 QXcbConnection::processXcbEvents (this=0x1bc7460) at qxcbconnection.cpp:1725
#14 0x00007fd74cf6302a in QObject::event (this=0x1bc7460, e=<optimized out>) at kernel/qobject.cpp:1256
#15 0x00007fd74d7d257c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x1bc7460, e=0x7fd730003410) at kernel/qapplication.cpp:3804
#16 0x00007fd74d7d6c90 in QApplication::notify (this=0x7ffd9495d710, receiver=0x1bc7460, e=0x7fd730003410) at kernel/qapplication.cpp:3561
#17 0x00007fd74cf3a5a0 in QCoreApplication::notifyInternal2 (receiver=0x1bc7460, event=event@entry=0x7fd730003410) at kernel/qcoreapplication.cpp:1015
#18 0x00007fd74cf3c803 in QCoreApplication::sendEvent (event=0x7fd730003410, receiver=<optimized out>) at kernel/qcoreapplication.h:225
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1b91790) at kernel/qcoreapplication.cpp:1650
#20 0x00007fd74cf3cda8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1508
#21 0x00007fd74cf87383 in postEventSourceDispatch (s=0x1c0da50) at kernel/qeventdispatcher_glib.cpp:270
#22 0x00007fd746f98d6d in g_main_dispatch (context=0x7fd738001710) at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3154
#23 g_main_context_dispatch (context=context@entry=0x7fd738001710) at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3769
#24 0x00007fd746f99050 in g_main_context_iterate (context=context@entry=0x7fd738001710, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3840
#25 0x00007fd746f990fc in g_main_context_iteration (context=0x7fd738001710, may_block=1) at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3901
#26 0x00007fd74cf873f7 in QEventDispatcherGlib::processEvents (this=0x1c13130, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#27 0x00007fd74cf3912a in QEventLoop::exec (this=this@entry=0x7ffd9495d5e0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#28 0x00007fd74cf40d1c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1285
#29 0x00007fd74d26c59c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1607
#30 0x00007fd74d7cf235 in QApplication::exec () at kernel/qapplication.cpp:2979
#31 0x00007fd7506838f2 in kdemain (argc=3, argv=0x7ffd9495d858) at /var/tmp/portage/kde-apps/konsole-16.04.3/work/konsole-16.04.3/src/main.cpp:125
#32 0x00007fd7502e1630 in __libc_start_main (main=0x400740 <main(int, char**)>, argc=3, argv=0x7ffd9495d858, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd9495d848) at libc-start.c:289
#33 0x0000000000400779 in _start ()

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

Reported using DrKonqi
Comment 1 Justin Zobel 2020-10-23 01:02:13 UTC
Can you please confirm if this is still happening on Konsole 20.08+.
Comment 2 Bug Janitor Service 2020-11-07 04:33:36 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 2020-11-22 04:33:51 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!