Bug 454964 - crash on tab closing
Summary: crash on tab closing
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
: 445497 456093 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-06-07 11:52 UTC by Harald Sitter
Modified: 2024-02-26 01:27 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: v22.08.0
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (3.76 KB, text/plain)
2022-06-28 12:45 UTC, Oded Arbel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Sitter 2022-06-07 11:52:02 UTC
Application: konsole (22.07.70)

Qt Version: 5.15.4
Frameworks Version: 5.95.0
Operating System: Linux 5.13.0-40-generic x86_64
Windowing System: Wayland
Distribution: KDE neon Unstable Edition
DrKonqi: 5.25.80 [CoredumpBackend]

-- Information about the crash:
I was ctrl-d'ing a bunch of tabs to eventually have konsole take care of all the other tabs for me by crashing.

Seems a straight forward nullptr problem

The crash can be reproduced sometimes.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[New LWP 43924]
[New LWP 43934]
[New LWP 43926]
[New LWP 43927]
[New LWP 43929]
[New LWP 43939]
[New LWP 43931]
[New LWP 43935]
[New LWP 43937]
[New LWP 43938]
[New LWP 43940]
[New LWP 43928]
[New LWP 43941]
[New LWP 43942]
[New LWP 43933]
[New LWP 43936]
[New LWP 43930]
[New LWP 43932]
[New LWP 43925]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/konsole'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __GI_raise (sig=sig@entry=11) at ../sysdeps/unix/sysv/linux/raise.c:50
[Current thread is 1 (Thread 0x7f454d6a69c0 (LWP 43924))]
__preamble__

[Current thread is 1 (Thread 0x7f454d6a69c0 (LWP 43924))]

Thread 19 (Thread 0x7f454c841700 (LWP 43925)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5628d4f08a00) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5628d4f089b0, cond=0x5628d4f089d8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5628d4f089d8, mutex=0x5628d4f089b0) at pthread_cond_wait.c:647
#3  0x00007f45531066db in QWaitConditionPrivate::wait (deadline=..., this=0x5628d4f089b0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x5628d4f0b8d0, mutex=mutex@entry=0x5628d4f0b8c8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f4550ea6b7d in QtWaylandClient::EventThread::waitForReading (this=0x5628d4f0b890) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QtWaylandClient::EventThread::run (this=0x5628d4f0b890) at qwaylanddisplay.cpp:206
#7  0x00007f4553100643 in QThreadPrivate::start (arg=0x5628d4f0b890) at thread/qthread_unix.cpp:331
#8  0x00007f4551bea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f4552d7b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 18 (Thread 0x7f4534845700 (LWP 43932)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5628d514a7f0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5628d514a7a0, cond=0x5628d514a7c8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5628d514a7c8, mutex=0x5628d514a7a0) at pthread_cond_wait.c:647
#3  0x00007f45487155eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f45487151eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f4551bea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4552d7b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 17 (Thread 0x7f4535847700 (LWP 43930)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5628d514a7f0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5628d514a7a0, cond=0x5628d514a7c8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5628d514a7c8, mutex=0x5628d514a7a0) at pthread_cond_wait.c:647
#3  0x00007f45487155eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f45487151eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f4551bea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4552d7b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x7f45167fc700 (LWP 43936)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5628d514a7f0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5628d514a7a0, cond=0x5628d514a7c8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5628d514a7c8, mutex=0x5628d514a7a0) at pthread_cond_wait.c:647
#3  0x00007f45487155eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f45487151eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f4551bea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4552d7b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7f451ffff700 (LWP 43933)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5628d514a7f0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5628d514a7a0, cond=0x5628d514a7c8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5628d514a7c8, mutex=0x5628d514a7a0) at pthread_cond_wait.c:647
#3  0x00007f45487155eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f45487151eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f4551bea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4552d7b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7f45177fe700 (LWP 43942)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5628d514ad80) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5628d514ad30, cond=0x5628d514ad58) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5628d514ad58, mutex=0x5628d514ad30) at pthread_cond_wait.c:647
#3  0x00007f45487155eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f45487151eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f4551bea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4552d7b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7f4517fff700 (LWP 43941)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5628d514ad80) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5628d514ad30, cond=0x5628d514ad58) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5628d514ad58, mutex=0x5628d514ad30) at pthread_cond_wait.c:647
#3  0x00007f45487155eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f45487151eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f4551bea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4552d7b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f4536849700 (LWP 43928)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5628d5147570) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5628d5147520, cond=0x5628d5147548) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5628d5147548, mutex=0x5628d5147520) at pthread_cond_wait.c:647
#3  0x00007f45487155eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f45487151eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f4551bea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4552d7b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f451cff9700 (LWP 43940)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5628d514ad80) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5628d514ad30, cond=0x5628d514ad58) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5628d514ad58, mutex=0x5628d514ad30) at pthread_cond_wait.c:647
#3  0x00007f45487155eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f45487151eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f4551bea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4552d7b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f451dffb700 (LWP 43938)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5628d514a7f0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5628d514a7a0, cond=0x5628d514a7c8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5628d514a7c8, mutex=0x5628d514a7a0) at pthread_cond_wait.c:647
#3  0x00007f45487155eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f45487151eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f4551bea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4552d7b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f451e7fc700 (LWP 43937)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5628d514a7f0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5628d514a7a0, cond=0x5628d514a7c8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5628d514a7c8, mutex=0x5628d514a7a0) at pthread_cond_wait.c:647
#3  0x00007f45487155eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f45487151eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f4551bea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4552d7b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f451effd700 (LWP 43935)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5628d514a7f0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5628d514a7a0, cond=0x5628d514a7c8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5628d514a7c8, mutex=0x5628d514a7a0) at pthread_cond_wait.c:647
#3  0x00007f45487155eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f45487151eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f4551bea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4552d7b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f4535046700 (LWP 43931)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5628d514a7f0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5628d514a7a0, cond=0x5628d514a7c8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5628d514a7c8, mutex=0x5628d514a7a0) at pthread_cond_wait.c:647
#3  0x00007f45487155eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f45487151eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f4551bea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4552d7b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f451d7fa700 (LWP 43939)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5628d514ad80) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5628d514ad30, cond=0x5628d514ad58) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5628d514ad58, mutex=0x5628d514ad30) at pthread_cond_wait.c:647
#3  0x00007f45487155eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f45487151eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f4551bea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4552d7b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f4536048700 (LWP 43929)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5628d5077a08) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5628d50779b8, cond=0x5628d50779e0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5628d50779e0, mutex=0x5628d50779b8) at pthread_cond_wait.c:647
#3  0x00007f45487155eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f45487151eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f4551bea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4552d7b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f454b757700 (LWP 43927)):
#0  0x00007f4552d6e99f in __GI___poll (fds=0x7f4540004a60, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f455122b36e in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x7f4540004a60, timeout=<optimized out>, context=0x7f4540000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f4540000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f455122b4a3 in g_main_context_iteration (context=0x7f4540000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f4553341c72 in QEventDispatcherGlib::processEvents (this=0x7f4540000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f45532e5eab in QEventLoop::exec (this=this@entry=0x7f454b756bb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f45530ff462 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f45520d4f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f4553100643 in QThreadPrivate::start (arg=0x7f4552158d80) at thread/qthread_unix.cpp:331
#9  0x00007f4551bea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f4552d7b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f454c040700 (LWP 43926)):
#0  _dl_fixup (l=0x7f4550f9a360, reloc_arg=<optimized out>) at ../elf/dl-runtime.c:84
#1  0x00007f4554846c3e in _dl_runtime_resolve_xsavec () at ../sysdeps/x86_64/dl-trampoline.h:126
#2  0x00007f4550ea6cc5 in QtWaylandClient::EventThread::run (this=0x5628d4f0b720) at qwaylanddisplay.cpp:222
#3  0x00007f4553100643 in QThreadPrivate::start (arg=0x5628d4f0b720) at thread/qthread_unix.cpp:331
#4  0x00007f4551bea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#5  0x00007f4552d7b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f451f7fe700 (LWP 43934)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5628d514a7f0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5628d514a7a0, cond=0x5628d514a7c8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5628d514a7c8, mutex=0x5628d514a7a0) at pthread_cond_wait.c:647
#3  0x00007f45487155eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f45487151eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f4551bea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4552d7b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f454d6a69c0 (LWP 43924)):
[KCrash Handler]
#3  0x00007f45546efaf8 in Konsole::Session::processId (this=this@entry=0x0) at ./src/session/Session.cpp:1547
#4  0x00007f45546f0702 in Konsole::Session::isForegroundProcessActive (this=this@entry=0x0) at ./src/session/Session.cpp:1664
#5  0x00007f45546f073d in Konsole::Session::getProcessInfo (this=this@entry=0x0) at ./src/session/Session.cpp:1067
#6  0x00007f45546f0afa in Konsole::Session::getDynamicTitle (this=0x0) at ./src/session/Session.cpp:1122
#7  0x00007f4554706920 in Konsole::SessionController::snapshot (this=0x5628d557f790) at /usr/include/c++/9/bits/atomic_base.h:413
#8  0x00007f455331e42e in QtPrivate::QSlotObjectBase::call (a=0x7ffe39dcb880, r=0x5628d557f790, this=0x5628d4ee7740) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#9  doActivate<false> (sender=0x5628d4ee77f0, signal_index=3, argv=0x7ffe39dcb880) at kernel/qobject.cpp:3886
#10 0x00007f45533177f7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f4553583c80 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe39dcb880) at kernel/qobject.cpp:3946
#11 0x00007f4553322f6e in QTimer::timeout (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#12 0x00007f4553314ea5 in QObject::event (this=0x5628d4ee77f0, e=0x7ffe39dcbbb0) at kernel/qobject.cpp:1336
#13 0x00007f4553e98dc3 in QApplicationPrivate::notify_helper (this=this@entry=0x5628d4eea180, receiver=receiver@entry=0x5628d4ee77f0, e=e@entry=0x7ffe39dcbbb0) at kernel/qapplication.cpp:3637
#14 0x00007f4553ea1bd8 in QApplication::notify (this=0x5628d4ee9f80, receiver=0x5628d4ee77f0, e=0x7ffe39dcbbb0) at kernel/qapplication.cpp:3161
#15 0x00007f45532e73aa in QCoreApplication::notifyInternal2 (receiver=0x5628d4ee77f0, event=0x7ffe39dcbbb0) at ../../include/QtCore/5.15.4/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:332
#16 0x00007f4553340fc0 in QTimerInfoList::activateTimers (this=0x5628d4f0b940) at kernel/qtimerinfo_unix.cpp:643
#17 0x00007f45533418ac in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#18 0x00007f455122b17d in g_main_dispatch (context=0x5628d4f09880) at ../../../glib/gmain.c:3309
#19 g_main_context_dispatch (context=context@entry=0x5628d4f09880) at ../../../glib/gmain.c:3974
#20 0x00007f455122b400 in g_main_context_iterate (context=context@entry=0x5628d4f09880, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047
#21 0x00007f455122b4a3 in g_main_context_iteration (context=0x5628d4f09880, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#22 0x00007f4553341c72 in QEventDispatcherGlib::processEvents (this=0x5628d4f0b800, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#23 0x00007f45532e5eab in QEventLoop::exec (this=this@entry=0x7ffe39dcbdf0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#24 0x00007f45532ee054 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#25 0x00005628d3a973af in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:255

Reported using DrKonqi
Comment 1 Ahmad Samir 2022-06-08 10:02:27 UTC
I couldn't reproduce the crash locally.

Might be fixed by https://invent.kde.org/utilities/konsole/-/merge_requests/670
Comment 2 ninjalj 2022-06-08 16:56:00 UTC
(In reply to Ahmad Samir from comment #1)
> I couldn't reproduce the crash locally.
> 
> Might be fixed by
> https://invent.kde.org/utilities/konsole/-/merge_requests/670

I can reproduce locally in master by quickly creating tabs with ctrl-T, then quickly destroying them with ctrl-d, repeat, and the crash tends to appear reasonably quickly. 

After a couple of minutes of testing in MR 670, I couldn't reproduce it.
Comment 3 Oded Arbel 2022-06-28 12:45:06 UTC
Created attachment 150227 [details]
New crash information added by DrKonqi

konsole (22.07.70) using Qt 5.15.5

This crash happens to me, sometimes, when closing tabs. At least in the last occurence it happened after I started a background process in that tab, but then closed the process before closing the tab.

-- Backtrace (Reduced):
#4  0x00007fb1bff67db8 in Konsole::Session::processId() const () from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#5  0x00007fb1bff693c2 in Konsole::Session::isForegroundProcessActive() () from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#6  0x00007fb1bff693fd in Konsole::Session::getProcessInfo() () from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#7  0x00007fb1bff69b8a in Konsole::Session::getDynamicTitle() () from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#8  0x00007fb1bff6dd90 in Konsole::SessionController::snapshot() () from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
Comment 4 Christoph Feck 2022-06-29 16:52:12 UTC
*** Bug 456093 has been marked as a duplicate of this bug. ***
Comment 5 ninjalj 2024-02-26 01:27:42 UTC
*** Bug 445497 has been marked as a duplicate of this bug. ***