[konsole] [Bug 417270] New: Crash when closing tabs

Trevin Fitz bugzilla_noreply at kde.org
Fri Feb 7 14:36:30 GMT 2020


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

            Bug ID: 417270
           Summary: Crash when closing tabs
           Product: konsole
           Version: 19.12.1
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: qneverless at gmail.com
  Target Milestone: ---

Application: konsole (19.12.1)

Qt Version: 5.13.2
Frameworks Version: 5.66.0
Operating System: Linux 5.4.17-200.fc31.x86_64 x86_64
Distribution: Fedora 31 (KDE Plasma)

-- Information about the crash:
- What I was doing when the application crashed:
Closing few open tabs. Third one caused crash of the whole Konsole and closed
the rest of tabs.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
29        return SYSCALL_CANCEL (poll, fds, nfds, timeout);
[Current thread is 1 (Thread 0x7fd11671a840 (LWP 2632))]

Thread 5 (Thread 0x7fd0fb13c700 (LWP 4989)):
#0  __GI___libc_read (nbytes=10, buf=0x7fd0fb13bb9e, fd=29) at
../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=29, buf=0x7fd0fb13bb9e, nbytes=10) at
../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007fd1169da365 in pa_read () from
/usr/lib64/pulseaudio/libpulsecommon-13.0.so
#3  0x00007fd1188953d6 in pa_mainloop_prepare () from /lib64/libpulse.so.0
#4  0x00007fd118895e74 in pa_mainloop_iterate () from /lib64/libpulse.so.0
#5  0x00007fd118895f30 in pa_mainloop_run () from /lib64/libpulse.so.0
#6  0x00007fd1188a40dd in thread () from /lib64/libpulse.so.0
#7  0x00007fd116a08b9c in internal_thread_func () from
/usr/lib64/pulseaudio/libpulsecommon-13.0.so
#8  0x00007fd1196e04e2 in start_thread (arg=<optimized out>) at
pthread_create.c:479
#9  0x00007fd11c1236d3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fd101190700 (LWP 2699)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55acda4e3d28) at
../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55acda4e3cd8,
cond=0x55acda4e3d00) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55acda4e3d00, mutex=0x55acda4e3cd8) at
pthread_cond_wait.c:638
#3  0x00007fd10202819b in util_queue_thread_func () from
/usr/lib64/dri/i965_dri.so
#4  0x00007fd102027dab in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
#5  0x00007fd1196e04e2 in start_thread (arg=<optimized out>) at
pthread_create.c:479
#6  0x00007fd11c1236d3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fd103b1c700 (LWP 2676)):
#0  g_mutex_unlock (mutex=0x7fd0fc000c30) at ../glib/gthread-posix.c:1375
#1  0x00007fd118e11261 in g_main_context_check
(context=context at entry=0x7fd0fc000c30, max_priority=2147483647,
fds=fds at entry=0x7fd0fc0029e0, n_fds=n_fds at entry=1) at ../glib/gmain.c:3748
#2  0x00007fd118e117b2 in g_main_context_iterate
(context=context at entry=0x7fd0fc000c30, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../glib/gmain.c:3914
#3  0x00007fd118e11943 in g_main_context_iteration (context=0x7fd0fc000c30,
may_block=may_block at entry=1) at ../glib/gmain.c:3978
#4  0x00007fd11a990843 in QEventDispatcherGlib::processEvents
(this=0x7fd0fc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fd11a93a1db in QEventLoop::exec (this=this at entry=0x7fd103b1bd30,
flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007fd11a78ac45 in QThread::exec (this=this at entry=0x7fd119eef060
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007fd119e6bf6a in QDBusConnectionManager::run (this=0x7fd119eef060
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:178
#8  0x00007fd11a78bd96 in QThreadPrivate::start (arg=0x7fd119eef060 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:360
#9  0x00007fd1196e04e2 in start_thread (arg=<optimized out>) at
pthread_create.c:479
#10 0x00007fd11c1236d3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fd109425700 (LWP 2659)):
#0  0x00007fd11c118a6f in __GI___poll (fds=fds at entry=0x7fd109424c68,
nfds=nfds at entry=1, timeout=timeout at entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd11970b38a in poll (__timeout=-1, __nfds=1, __fds=0x7fd109424c68)
at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c at entry=0x55acda3c55b0, cond=cond at entry=0x55acda3c55f0,
vector=vector at entry=0x0, count=count at entry=0x0) at xcb_conn.c:479
#3  0x00007fd11970cfea in xcb_wait_for_event (c=c at entry=0x55acda3c55b0) at
xcb_in.c:697
#4  0x00007fd1095f4d48 in QXcbEventQueue::run (this=0x55acda3d2ad0) at
qxcbeventqueue.cpp:228
#5  0x00007fd11a78bd96 in QThreadPrivate::start (arg=0x55acda3d2ad0) at
thread/qthread_unix.cpp:360
#6  0x00007fd1196e04e2 in start_thread (arg=<optimized out>) at
pthread_create.c:479
#7  0x00007fd11c1236d3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fd11671a840 (LWP 2632)):
[KCrash Handler]
#6  0x00007fd11bfbe5eb in QObject::parent (this=<optimized out>) at
/usr/include/qt5/QtCore/qobject.h:503
#7  QWidget::parentWidget (this=<optimized out>) at
/usr/include/qt5/QtWidgets/qwidget.h:865
#8  Konsole::ViewManager::sessionFinished (this=0x55acda5b4c70) at
/usr/src/debug/konsole5-19.12.1-1.fc31.x86_64/src/ViewManager.cpp:476
#9  0x00007fd11a965a60 in QtPrivate::QSlotObjectBase::call (a=0x7fff20d70f40,
r=0x55acda5b4c70, this=0x55acdab1ee40) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#10 QMetaObject::activate (sender=0x55acda79e4f0, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=<optimized out>) at
kernel/qobject.cpp:3789
#11 0x00007fd11bf82afe in Konsole::Session::closeInNormalWay
(this=0x55acda79e4f0) at
/usr/src/debug/konsole5-19.12.1-1.fc31.x86_64/src/Session.cpp:854
#12 0x00007fd11bf8601d in Konsole::SessionController::closeSession
(this=0x55acdab3d330) at /usr/include/c++/9/bits/atomic_base.h:413
#13 0x00007fd11bfb7174 in Konsole::TabbedViewContainer::closeTerminalTab
(this=<optimized out>, idx=<optimized out>) at
/usr/src/debug/konsole5-19.12.1-1.fc31.x86_64/src/ViewContainer.cpp:584
#14 0x00007fd11a965a60 in QtPrivate::QSlotObjectBase::call (a=0x7fff20d71220,
r=0x55acda53d270, this=0x55acda5b6b60) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#15 QMetaObject::activate (sender=0x55acda5b8de0, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=<optimized out>) at
kernel/qobject.cpp:3789
#16 0x00007fd11b469005 in QTabBar::tabCloseRequested (this=<optimized out>,
_t1=<optimized out>) at .moc/moc_qtabbar.cpp:345
#17 0x00007fd11a96591b in QMetaObject::activate (sender=0x55acdab9ce50,
signalOffset=<optimized out>, local_signal_index=<optimized out>,
argv=<optimized out>) at kernel/qobject.cpp:3809
#18 0x00007fd11b3a6aa6 in QAbstractButton::clicked
(this=this at entry=0x55acdab9ce50, _t1=<optimized out>) at
.moc/moc_qabstractbutton.cpp:313
#19 0x00007fd11b3a6cce in QAbstractButtonPrivate::emitClicked
(this=this at entry=0x55acdab9d300) at widgets/qabstractbutton.cpp:414
#20 0x00007fd11b3a8113 in QAbstractButtonPrivate::click (this=0x55acdab9d300)
at widgets/qabstractbutton.cpp:407
#21 0x00007fd11b3a82d5 in QAbstractButton::mouseReleaseEvent
(this=0x55acdab9ce50, e=0x7fff20d718a0) at widgets/qabstractbutton.cpp:1011
#22 0x00007fd11b2f2c7e in QWidget::event (this=0x55acdab9ce50,
event=0x7fff20d718a0) at kernel/qwidget.cpp:8977
#23 0x00007fd11b2afab6 in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55acdab9ce50, e=0x7fff20d718a0) at
kernel/qapplication.cpp:3703
#24 0x00007fd11b2b93a3 in QApplication::notify(QObject*, QEvent*) () at
kernel/qapplication.cpp:3163
#25 0x00007fd11a93b3e8 in QCoreApplication::notifyInternal2
(receiver=0x55acdab9ce50, event=0x7fff20d718a0) at
kernel/qcoreapplication.cpp:1095
#26 0x00007fd11b2b84b7 in QApplicationPrivate::sendMouseEvent
(receiver=receiver at entry=0x55acdab9ce50, event=event at entry=0x7fff20d718a0,
alienWidget=alienWidget at entry=0x55acdab9ce50, nativeWidget=0x55acda56cf50,
buttonDown=buttonDown at entry=0x7fd11b7e9310 <qt_button_down>,
lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at
kernel/qapplication.cpp:2649
#27 0x00007fd11b30ec8d in QWidgetWindow::handleMouseEvent (this=0x55acda5f3040,
event=0x7fff20d71d10) at /usr/include/c++/9/bits/atomic_base.h:413
#28 0x00007fd11b311c8c in QWidgetWindow::event (event=0x7fff20d71d10,
this=0x55acda5f3040) at kernel/qwidgetwindow.cpp:281
#29 QWidgetWindow::event (this=0x55acda5f3040, event=0x7fff20d71d10) at
kernel/qwidgetwindow.cpp:224
#30 0x00007fd11b2afab6 in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55acda5f3040, e=0x7fff20d71d10) at
kernel/qapplication.cpp:3703
#31 0x00007fd11b2b9150 in QApplication::notify(QObject*, QEvent*) () at
kernel/qapplication.cpp:3449
#32 0x00007fd11a93b3e8 in QCoreApplication::notifyInternal2
(receiver=0x55acda5f3040, event=0x7fff20d71d10) at
kernel/qcoreapplication.cpp:1095
#33 0x00007fd11ad1ab83 in QGuiApplicationPrivate::processMouseEvent
(e=e at entry=0x55acdab17030) at kernel/qguiapplication.cpp:2118
#34 0x00007fd11ad1c37b in QGuiApplicationPrivate::processWindowSystemEvent
(e=0x55acdab17030) at kernel/qguiapplication.cpp:1853
#35 0x00007fd11acf86eb in QWindowSystemInterface::sendWindowSystemEvents
(flags=flags at entry=...) at kernel/qwindowsysteminterface.cpp:1148
#36 0x00007fd1095f5d5e in xcbSourceDispatch
(source=source at entry=0x55acda4e0d30) at qxcbeventdispatcher.cpp:105
#37 0x00007fd118e11510 in g_main_dispatch (context=0x7fd104005010) at
../glib/gmain.c:3179
#38 g_main_context_dispatch (context=context at entry=0x7fd104005010) at
../glib/gmain.c:3844
#39 0x00007fd118e118a0 in g_main_context_iterate
(context=context at entry=0x7fd104005010, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../glib/gmain.c:3917
#40 0x00007fd118e11943 in g_main_context_iteration (context=0x7fd104005010,
may_block=may_block at entry=1) at ../glib/gmain.c:3978
#41 0x00007fd11a990825 in QEventDispatcherGlib::processEvents
(this=0x55acda4e1a00, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#42 0x00007fd11a93a1db in QEventLoop::exec (this=this at entry=0x7fff20d720b0,
flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#43 0x00007fd11a9420b6 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#44 0x00007fd11ad103d0 in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1795
#45 0x00007fd11b2afa29 in QApplication::exec () at kernel/qapplication.cpp:2859
#46 0x00007fd11c21e825 in kdemain (argc=<optimized out>, argv=<optimized out>)
at /usr/src/debug/konsole5-19.12.1-1.fc31.x86_64/src/main.cpp:229
#47 0x00007fd11c0491a3 in __libc_start_main (main=0x55acd947a070 <main>,
argc=3, argv=0x7fff20d72368, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fff20d72358) at ../csu/libc-start.c:308
#48 0x000055acd947a0ae in _start ()
[Inferior 1 (process 2632) detached]

Possible duplicates by query: bug 412173, bug 408999, bug 389942, bug 276066,
bug 162055.

Reported using DrKonqi

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


More information about the konsole-devel mailing list