[konsole] [Bug 397014] New: Konsole crashed when switching tabs

Alex Fiestas bugzilla_noreply at kde.org
Tue Jul 31 15:52:12 BST 2018


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

            Bug ID: 397014
           Summary: Konsole crashed when switching tabs
           Product: konsole
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: afiestas at kde.org
  Target Milestone: ---

Application: konsole (18.11.70)
 (Compiled from sources)
Qt Version: 5.11.1
Frameworks Version: 5.48.0
Operating System: Linux 4.17.10-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

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

I was switching tabs using the shortcuts and after a few hours using konsole it
crashed.

This has happened before.

The crash can be reproduced sometimes.

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

Thread 3 (Thread 0x7f8b5b9e5700 (LWP 7296)):
#0  0x00007f8b77683ffc in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x00007f8b606c1124 in ?? () from /usr/lib/dri/i965_dri.so
#2  0x00007f8b606c0e18 in ?? () from /usr/lib/dri/i965_dri.so
#3  0x00007f8b7767e075 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f8b7905553f in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f8b63534700 (LWP 7295)):
#0  0x00007f8b7904afa6 in ppoll () from /usr/lib/libc.so.6
#1  0x00007f8b79f09e19 in qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f8b5c00f988)
at /home/afiestas/Projects/qt5/qtbase/src/corelib/kernel/qcore_unix.cpp:133
#2  qt_safe_poll (fds=0x7f8b5c00f988, nfds=nfds at entry=1,
timeout_ts=timeout_ts at entry=0x0) at
/home/afiestas/Projects/qt5/qtbase/src/corelib/kernel/qcore_unix.cpp:133
#3  0x00007f8b79f0b289 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at ../../include/QtCore/../../../../qtbase/src/corelib/tools/qarraydata.h:209
#4  0x00007f8b79ebab9b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
../../include/QtCore/../../../../qtbase/src/corelib/global/qflags.h:140
#5  0x00007f8b79d09ae6 in QThread::exec() () at
../../include/QtCore/../../../../qtbase/src/corelib/global/qflags.h:120
#6  0x00007f8b7ba5ba25 in QDBusConnectionManager::run (this=0x7f8b7bcd3d60
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
/home/afiestas/Projects/qt5/qtbase/src/dbus/qdbusconnection.cpp:178
#7  0x00007f8b79d136b7 in QThreadPrivate::start(void*) () at
/home/afiestas/Projects/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:367
#8  0x00007f8b7767e075 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f8b7905553f in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f8b810c3840 (LWP 7292)):
[KCrash Handler]
#6  0x00007f8b809e7112 in std::__atomic_base<int>::load
(__m=std::memory_order_relaxed, this=0x51) at
/usr/include/c++/8.1.1/bits/atomic_base.h:390
#7  QAtomicOps<int>::load<int> (_q_value=...) at
/opt/qt5/include/QtCore/qatomic_cxx11.h:227
#8  QBasicAtomicInteger<int>::load (this=0x51) at
/opt/qt5/include/QtCore/qbasicatomic.h:103
#9  QtPrivate::RefCount::isShared (this=0x51) at
/opt/qt5/include/QtCore/qrefcount.h:101
#10 QVector<Konsole::Character>::isDetached (this=0x5600597a52c8) at
/opt/qt5/include/QtCore/qvector.h:106
#11 QVector<Konsole::Character>::detach (this=0x5600597a52c8) at
/opt/qt5/include/QtCore/qvector.h:383
#12 QVector<Konsole::Character>::data (this=0x5600597a52c8) at
/opt/qt5/include/QtCore/qvector.h:127
#13 Konsole::Screen::copyLineToStream (this=this at entry=0x5600597dcfa0,
line=line at entry=40, start=0, count=172, count at entry=-1,
decoder=decoder at entry=0x7ffe9dd62b70, appendNewLine=appendNewLine at entry=true,
options=...) at /home/afiestas/Projects/kde5/source/konsole/src/Screen.cpp:1346
#14 0x00007f8b809e74e1 in Konsole::Screen::writeToStream
(this=this at entry=0x5600597dcfa0, decoder=decoder at entry=0x7ffe9dd62b70,
startIndex=startIndex at entry=3677, endIndex=endIndex at entry=15530, options=...)
at /home/afiestas/Projects/kde5/source/konsole/src/Screen.cpp:1270
#15 0x00007f8b809e89c2 in Konsole::Screen::text (this=0x5600597dcfa0,
startIndex=3677, endIndex=15530, options=...) at
/home/afiestas/Projects/kde5/source/konsole/src/Screen.cpp:1226
#16 0x00007f8b809e8a66 in Konsole::Screen::selectedText (this=<optimized out>,
options=..., options at entry=...) at
/home/afiestas/Projects/kde5/source/konsole/src/Screen.cpp:1207
#17 0x00007f8b809b5f9d in Konsole::Emulation::checkSelectedText
(this=0x5600597dc660) at /opt/qt5/include/QtCore/qflags.h:120
#18 0x00007f8b79ee54d0 in QtPrivate::QSlotObjectBase::call (a=0x7ffe9dd62cf0,
r=0x5600597dc660, this=0x560059882d10) at
../../include/QtCore/../../../../qtbase/src/corelib/kernel/qobjectdefs_impl.h:376
#19 QMetaObject::activate(QObject*, int, int, void**) () at
/home/afiestas/Projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:3754
#20 0x00007f8b79ee5997 in QMetaObject::activate (sender=<optimized out>,
m=m at entry=0x7f8b80c86a40 <Konsole::ScreenWindow::staticMetaObject>,
local_signal_index=local_signal_index at entry=3, argv=argv at entry=0x0) at
/home/afiestas/Projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:3633
#21 0x00007f8b80a38893 in Konsole::ScreenWindow::selectionChanged
(this=<optimized out>) at
/home/afiestas/Projects/kde5/build/konsole/src/konsoleprivate_autogen/EWIEGA46WW/moc_ScreenWindow.cpp:188
#22 0x00007f8b809e9281 in Konsole::ScreenWindow::setSelectionEnd
(this=<optimized out>, column=<optimized out>, line=<optimized out>) at
/home/afiestas/Projects/kde5/source/konsole/src/ScreenWindow.cpp:159
#23 0x00007f8b80a18a67 in Konsole::TerminalDisplay::extendSelection
(this=this at entry=0x56005968b2f0, position=...) at
/opt/qt5/include/QtCore/qpoint.h:131
#24 0x00007f8b80a1bca8 in Konsole::TerminalDisplay::mousePressEvent
(this=0x56005968b2f0, ev=0x7ffe9dd63280) at /opt/qt5/include/QtGui/qevent.h:121
#25 0x00007f8b7af1ceff in QWidget::event (this=this at entry=0x56005968b2f0,
event=event at entry=0x7ffe9dd63280) at
/home/afiestas/Projects/qt5/qtbase/src/widgets/kernel/qwidget.cpp:8897
#26 0x00007f8b80a1c680 in Konsole::TerminalDisplay::event (this=0x56005968b2f0,
event=0x7ffe9dd63280) at
/home/afiestas/Projects/kde5/source/konsole/src/TerminalDisplay.cpp:3675
#27 0x00007f8b7aede151 in QApplicationPrivate::notify_helper
(this=this at entry=0x560058a31f90, receiver=receiver at entry=0x56005968b2f0,
e=e at entry=0x7ffe9dd63280) at
/home/afiestas/Projects/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3727
#28 0x00007f8b7aee59d8 in QApplication::notify(QObject*, QEvent*) () at
/home/afiestas/Projects/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3203
#29 0x00007f8b79ebbec9 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at
../../include/QtCore/5.11.1/QtCore/private/../../../../../../../qtbase/src/corelib/thread/qthread_p.h:307
#30 0x00007f8b7aee4cd9 in QCoreApplication::sendEvent (event=<optimized out>,
receiver=<optimized out>) at
../../include/QtCore/../../../../qtbase/src/corelib/kernel/qcoreapplication.h:234
#31 QApplicationPrivate::sendMouseEvent
(receiver=receiver at entry=0x56005968b2f0, event=event at entry=0x7ffe9dd63280,
alienWidget=alienWidget at entry=0x56005968b2f0, nativeWidget=0x560058aa6c40,
buttonDown=buttonDown at entry=0x7f8b7b5d4870 <qt_button_down>,
lastMouseReceiver=..., spontaneous=true) at
/home/afiestas/Projects/qt5/qtbase/src/widgets/kernel/qapplication.cpp:2695
#32 0x00007f8b7af36fc4 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at
/usr/include/c++/8.1.1/bits/atomic_base.h:390
#33 0x00007f8b7af39b4e in QWidgetWindow::event (this=0x560058b30bc0,
event=0x7ffe9dd63680) at
/home/afiestas/Projects/qt5/qtbase/src/widgets/kernel/qwidgetwindow.cpp:281
#34 0x00007f8b7aede151 in QApplicationPrivate::notify_helper
(this=this at entry=0x560058a31f90, receiver=receiver at entry=0x560058b30bc0,
e=e at entry=0x7ffe9dd63680) at
/home/afiestas/Projects/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3727
#35 0x00007f8b7aee5790 in QApplication::notify(QObject*, QEvent*) () at
/home/afiestas/Projects/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3486
#36 0x00007f8b79ebbec9 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at
../../include/QtCore/5.11.1/QtCore/private/../../../../../../../qtbase/src/corelib/thread/qthread_p.h:307
#37 0x00007f8b7a71fa23 in QCoreApplication::sendSpontaneousEvent
(event=0x7ffe9dd63680, receiver=0x560058b30bc0) at
../../include/QtCore/../../../../qtbase/src/corelib/kernel/qcoreapplication.h:237
#38 QGuiApplicationPrivate::processMouseEvent (e=0x560059aac6d0) at
/home/afiestas/Projects/qt5/qtbase/src/gui/kernel/qguiapplication.cpp:2081
#39 0x00007f8b7a71f81a in QGuiApplicationPrivate::processMouseEvent
(e=0x560059aac6d0) at
/home/afiestas/Projects/qt5/qtbase/src/gui/kernel/qguiapplication.cpp:1976
#40 0x00007f8b7a721955 in QGuiApplicationPrivate::processWindowSystemEvent
(e=e at entry=0x560059aac6d0) at
/home/afiestas/Projects/qt5/qtbase/src/gui/kernel/qguiapplication.cpp:1816
#41 0x00007f8b7a6fc09b in QWindowSystemInterface::sendWindowSystemEvents
(flags=...) at
/home/afiestas/Projects/qt5/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1032
#42 0x00007f8b6d843096 in QUnixEventDispatcherQPA::processEvents
(this=<optimized out>, flags=...) at
/home/afiestas/Projects/qt5/qtbase/src/platformsupport/eventdispatchers/qunixeventdispatcher.cpp:69
#43 0x00007f8b79ebab9b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
../../include/QtCore/../../../../qtbase/src/corelib/global/qflags.h:140
#44 0x00007f8b79ec2d12 in QCoreApplication::exec() () at
../../include/QtCore/../../../../qtbase/src/corelib/global/qflags.h:120
#45 0x00007f8b80cb7f36 in kdemain (argc=<optimized out>, argv=<optimized out>)
at /home/afiestas/Projects/kde5/source/konsole/src/main.cpp:198
#46 0x00007f8b78f8006b in __libc_start_main () from /usr/lib/libc.so.6
#47 0x0000560057d75a9a in _start ()

Possible duplicates by query: bug 393414, bug 390660, bug 387343, bug 384419.

Reported using DrKonqi

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


More information about the konsole-devel mailing list