Bug 371599 - Konsole crashed with multiple Konsole / tabs
Summary: Konsole crashed with multiple Konsole / tabs
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 16.08.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
: 388487 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-10-24 18:32 UTC by Shawn Starr
Modified: 2021-01-16 04:35 UTC (History)
2 users (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 Shawn Starr 2016-10-24 18:32:13 UTC
Application: konsole (16.08.1)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.9.0-rc1+ x86_64
Distribution: "Fedora release 24 (Twenty Four)"

-- Information about the crash:
I had tried to detach a session while i had other Konsole windows opened, then it suddenly crashed and killed all of them.

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

Thread 8 (Thread 0x7f18b5034700 (LWP 1492)):
#0  0x00007f18dcb5cbd0 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f18be9aa393 in cnd_wait (cond=0x55b0ad7ff030, mtx=0x55b0ad7ff008) at ../../../include/c11/threads_posix.h:159
#2  0x00007f18be9aa77f in util_queue_thread_func (input=0x55b0ad806e20) at util/u_queue.c:76
#3  0x00007f18be9aa2ce in impl_thrd_routine (p=0x55b0ad806bf0) at ../../../include/c11/threads_posix.h:87
#4  0x00007f18dcb575ca in start_thread () at /lib64/libpthread.so.0
#5  0x00007f18de394f6d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f18b5835700 (LWP 1491)):
#0  0x00007f18dcb5cbd0 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f18be9aa393 in cnd_wait (cond=0x55b0ad7ff030, mtx=0x55b0ad7ff008) at ../../../include/c11/threads_posix.h:159
#2  0x00007f18be9aa77f in util_queue_thread_func (input=0x55b0ad807050) at util/u_queue.c:76
#3  0x00007f18be9aa2ce in impl_thrd_routine (p=0x55b0ad807070) at ../../../include/c11/threads_posix.h:87
#4  0x00007f18dcb575ca in start_thread () at /lib64/libpthread.so.0
#5  0x00007f18de394f6d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f18b6036700 (LWP 1490)):
#0  0x00007f18dcb5cbd0 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f18be9aa393 in cnd_wait (cond=0x55b0ad7ff030, mtx=0x55b0ad7ff008) at ../../../include/c11/threads_posix.h:159
#2  0x00007f18be9aa77f in util_queue_thread_func (input=0x55b0ad806e20) at util/u_queue.c:76
#3  0x00007f18be9aa2ce in impl_thrd_routine (p=0x55b0ad806e40) at ../../../include/c11/threads_posix.h:87
#4  0x00007f18dcb575ca in start_thread () at /lib64/libpthread.so.0
#5  0x00007f18de394f6d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f18bc9e0700 (LWP 1489)):
#0  0x00007f18dcb5cbd0 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f18be9aa393 in cnd_wait (cond=0x55b0ad7ff030, mtx=0x55b0ad7ff008) at ../../../include/c11/threads_posix.h:159
#2  0x00007f18be9aa77f in util_queue_thread_func (input=0x55b0ad806bf0) at util/u_queue.c:76
#3  0x00007f18be9aa2ce in impl_thrd_routine (p=0x55b0ad806c10) at ../../../include/c11/threads_posix.h:87
#4  0x00007f18dcb575ca in start_thread () at /lib64/libpthread.so.0
#5  0x00007f18de394f6d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f18bd3e6700 (LWP 1488)):
#0  0x00007f18dcb5cbd0 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f18be9aa393 in cnd_wait (cond=0x55b0ad7fdba0, mtx=0x55b0ad7fdb78) at ../../../include/c11/threads_posix.h:159
#2  0x00007f18be9aa77f in util_queue_thread_func (input=0x55b0ad6ea180) at util/u_queue.c:76
#3  0x00007f18be9aa2ce in impl_thrd_routine (p=0x55b0ad762450) at ../../../include/c11/threads_posix.h:87
#4  0x00007f18dcb575ca in start_thread () at /lib64/libpthread.so.0
#5  0x00007f18de394f6d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f18c4c5c700 (LWP 1486)):
#0  0x00007f18da3eda09 in g_mutex_lock () at /lib64/libglib-2.0.so.0
#1  0x00007f18da3a9900 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f18da3a9b1c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f18df18f24b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f18df13e5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f18def9d343 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f18e42b2559 in QDBusConnectionManager::run() () at /lib64/libQt5DBus.so.5
#7  0x00007f18defa199a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00007f18dcb575ca in start_thread () at /lib64/libpthread.so.0
#9  0x00007f18de394f6d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f18c65af700 (LWP 1485)):
#0  0x00007f18de3893ed in poll () at /lib64/libc.so.6
#1  0x00007f18dbc32f80 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7f18c65aeb80) at /usr/include/bits/poll2.h:46
#2  0x00007f18dbc32f80 in _xcb_conn_wait (c=c@entry=0x55b0ad64ceb0, cond=cond@entry=0x55b0ad64cef0, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:459
#3  0x00007f18dbc34b79 in xcb_wait_for_event (c=0x55b0ad64ceb0) at xcb_in.c:693
#4  0x00007f18c9305da9 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5
#5  0x00007f18defa199a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#6  0x00007f18dcb575ca in start_thread () at /lib64/libpthread.so.0
#7  0x00007f18de394f6d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f18cfd7b940 (LWP 1483)):
[KCrash Handler]
#6  0x00007f18e3cfbd90 in QVector<QString>::freeData(QTypedArrayData<QString>*) [clone .isra.22] () at /lib64/libkonsoleprivate.so.16
#7  0x00007f18e3cfd885 in Konsole::UnixProcessInfo::readProcessInfo(int, bool) () at /lib64/libkonsoleprivate.so.16
#8  0x00007f18e3d1d50e in Konsole::Session::updateForegroundProcessInfo() () at /lib64/libkonsoleprivate.so.16
#9  0x00007f18e3d1e5c5 in Konsole::Session::getProcessInfo() () at /lib64/libkonsoleprivate.so.16
#10 0x00007f18e3d1e787 in Konsole::Session::getDynamicTitle() () at /lib64/libkonsoleprivate.so.16
#11 0x00007f18e3d28753 in Konsole::SessionController::snapshot() () at /lib64/libkonsoleprivate.so.16
#12 0x00007f18df167ebc in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#13 0x00007f18df173f88 in QTimer::timerEvent(QTimerEvent*) () at /lib64/libQt5Core.so.5
#14 0x00007f18df168b8b in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#15 0x00007f18dfc65c0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#16 0x00007f18dfc6b0ef in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#17 0x00007f18df13f7aa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#18 0x00007f18df18e7ab in QTimerInfoList::activateTimers() () at /lib64/libQt5Core.so.5
#19 0x00007f18df18ed39 in idleTimerSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#20 0x00007f18da3a96ba in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#21 0x00007f18da3a9a70 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#22 0x00007f18da3a9b1c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#23 0x00007f18df18f22f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#24 0x00007f18df13e5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#25 0x00007f18df14617c in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#26 0x00007f18e3fdca23 in kdemain () at /lib64/libkdeinit5_konsole.so
#27 0x00007f18de2b2731 in __libc_start_main () at /lib64/libc.so.6
#28 0x000055b0ac703a99 in _start ()

Possible duplicates by query: bug 233231, bug 225211.

Reported using DrKonqi
Comment 1 Peter Wu 2016-10-27 08:36:27 UTC
Can confirm this, on exiting a Konsole window through Ctrl+D, a crash has occurred.
In case it is relevant, a few minutes before this event, some windows were closed via Alt+F4. Backtrace and disassembly follows.

Distribution: Arch Linux x86_64
qt5-base 5.7.0-3
konsole 10.08.2-1

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f75460687c0 (LWP 3771))]

Thread 2 (Thread 0x7f752aee7700 (LWP 3773)):
#0  0x00007f7545a4248d in poll () at /usr/lib/libc.so.6
#1  0x00007f753bd8b786 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f7524003020, timeout=<optimized out>, context=0x7f7524000990) at gmain.c:4228
#2  0x00007f753bd8b786 in g_main_context_iterate (context=context@entry=0x7f7524000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3924
#3  0x00007f753bd8b89c in g_main_context_iteration (context=0x7f7524000990, may_block=1) at gmain.c:3990
#4  0x00007f7541fd672b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f7541f8023a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f7541da30f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f75400ece55 in  () at /usr/lib/libQt5DBus.so.5
#8  0x00007f7541da7d78 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f753d820454 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f7545a4b7df in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f75460687c0 (LWP 3771)):
[KCrash Handler]
#6  0x00007f754569e1d0 in  () at /usr/lib/libkonsoleprivate.so.16
#7  0x00007f75456c5f09 in Konsole::Session::getDynamicTitle() () at /usr/lib/libkonsoleprivate.so.16
#8  0x00007f75456ce923 in Konsole::SessionController::snapshot() () at /usr/lib/libkonsoleprivate.so.16
#9  0x00007f7541fad9ce in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#10 0x00007f7541fba6d8 in QTimer::timerEvent(QTimerEvent*) () at /usr/lib/libQt5Core.so.5
#11 0x00007f7541fae473 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#12 0x00007f7542efbe0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#13 0x00007f7542f03581 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#14 0x00007f7541f81de0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#15 0x00007f7541fd56ae in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#16 0x00007f7541fd5bd1 in  () at /usr/lib/libQt5Core.so.5
#17 0x00007f753bd8b587 in g_main_dispatch (context=0x7f752c0016f0) at gmain.c:3203
#18 0x00007f753bd8b587 in g_main_context_dispatch (context=context@entry=0x7f752c0016f0) at gmain.c:3856
#19 0x00007f753bd8b7f0 in g_main_context_iterate (context=context@entry=0x7f752c0016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3929
#20 0x00007f753bd8b89c in g_main_context_iteration (context=0x7f752c0016f0, may_block=1) at gmain.c:3990
#21 0x00007f7541fd670f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#22 0x00007f7541f8023a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#23 0x00007f7541f8873c in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#24 0x00007f7545d290b1 in kdemain () at /usr/lib/libkdeinit5_konsole.so
#25 0x00007f7545983291 in __libc_start_main () at /usr/lib/libc.so.6
#26 0x000000000040065a in _start ()

-- Disassembly:
   0x00007f75456c5ed5 <+37>:    callq  0x7f7545662520 <_ZN7Konsole7Session22updateWorkingDirectoryEv@plt>
   0x00007f75456c5eda <+42>:    mov    %rbp,%rdi
   0x00007f75456c5edd <+45>:    lea    0x30(%rsp),%r12
   0x00007f75456c5ee2 <+50>:    callq  0x7f7545664ad0 <_ZN7Konsole7Session14getProcessInfoEv@plt>
   0x00007f75456c5ee7 <+55>:    mov    %rax,%r13
   0x00007f75456c5eea <+58>:    mov    0x294b67(%rip),%rax        # 0x7f754595aa58
   0x00007f75456c5ef1 <+65>:    lea    0xf(%rsp),%rdx
   0x00007f75456c5ef6 <+70>:    mov    %r13,%rsi
   0x00007f75456c5ef9 <+73>:    mov    %r12,%rdi
   0x00007f75456c5efc <+76>:    movb   $0x0,0xf(%rsp)
   0x00007f75456c5f01 <+81>:    mov    %rax,(%rbx)
   0x00007f75456c5f04 <+84>:    callq  0x7f754569e1d0
=> 0x00007f75456c5f09 <+89>:    mov    0x30(%rsp),%rdi
   0x00007f75456c5f0e <+94>:    lea    0x5f6f8(%rip),%rdx        # 0x7f754572560d
   0x00007f75456c5f15 <+101>:   mov    $0x1,%r8d
   0x00007f75456c5f1b <+107>:   mov    $0xffffffff,%ecx
   0x00007f75456c5f20 <+112>:   mov    0x4(%rdi),%esi
   0x00007f75456c5f23 <+115>:   add    0x10(%rdi),%rdi
   0x00007f75456c5f27 <+119>:   callq  0x7f7545663fd0 <_ZN7QString14compare_helperEPK5QChariPKciN2Qt15CaseSensitivityE@plt>
Comment 2 Peter Wu 2016-11-27 00:03:32 UTC
Possibly related to bug 372401 (and duplicates).
Comment 3 Christoph Feck 2018-01-10 17:17:36 UTC
*** Bug 388487 has been marked as a duplicate of this bug. ***
Comment 4 Justin Zobel 2020-12-17 05:33:55 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 5 Bug Janitor Service 2021-01-01 04:35:55 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 6 Bug Janitor Service 2021-01-16 04:35:01 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!