[konsole] [Bug 398320] New: konsole crashes sometimes when selecting or pasting text while pressing shift key

flo bugzilla_noreply at kde.org
Thu Sep 6 12:54:34 BST 2018


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

            Bug ID: 398320
           Summary: konsole crashes sometimes when selecting or pasting
                    text while pressing shift key
           Product: konsole
           Version: 18.08.0
          Platform: Neon Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: kde-bugs at cyborgsociety.org
  Target Milestone: ---

Application: konsole (18.08.0)

Qt Version: 5.11.1
Frameworks Version: 5.49.0
Operating System: Linux 4.15.0-33-generic x86_64
Distribution: KDE neon User Edition 5.13

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

select or paste text in vim

(usually I work with vim and select or paste text while pressing shift key due
to changed vim behavior automatically switching to visual mode when not pessing
shift key)

The crash can be reproduced sometimes.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3f6b7cd8c0 (LWP 8085))]

Thread 2 (Thread 0x7f3f4ef33700 (LWP 8110)):
#0  0x00007f3f6b176811 in __GI_ppoll (fds=fds at entry=0x7f3f48013ee8,
nfds=nfds at entry=1, timeout=<optimized out>, timeout at entry=0x0,
sigmask=sigmask at entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:50
#1  0x00007f3f6766db21 in ppoll (__ss=<optimized out>, __timeout=<optimized
out>, __nfds=<optimized out>, __fds=<optimized out>) at
/usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f3f48013ee8) at
kernel/qcore_unix.cpp:112
#3  qt_safe_poll (fds=0x7f3f48013ee8, nfds=1, timeout_ts=timeout_ts at entry=0x0)
at kernel/qcore_unix.cpp:133
#4  0x00007f3f6766f1b2 in QEventDispatcherUNIX::processEvents (this=<optimized
out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#5  0x00007f3f676195ba in QEventLoop::exec (this=this at entry=0x7f3f4ef32cc0,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:214
#6  0x00007f3f6744e5e4 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:525
#7  0x00007f3f6555df35 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f3f67459727 in QThreadPrivate::start (arg=0x7f3f657d6d60) at
thread/qthread_unix.cpp:367
#9  0x00007f3f62a0e6ba in start_thread (arg=0x7f3f4ef33700) at
pthread_create.c:333
#10 0x00007f3f6b18241d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f3f6b7cd8c0 (LWP 8085)):
[KCrash Handler]
#6  0x00007f3f6adceffc in std::__atomic_base<int>::load
(__m=std::memory_order_relaxed, this=0x7ffffffff) at
/usr/include/c++/5/bits/atomic_base.h:396
#7  QAtomicOps<int>::load<int> (_q_value=...) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:227
#8  QBasicAtomicInteger<int>::load (this=0x7ffffffff) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:103
#9  QtPrivate::RefCount::isShared (this=0x7ffffffff) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:101
#10 QVector<Konsole::Character>::isDetached (this=0x1ef9400) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:106
#11 QVector<Konsole::Character>::detach (this=0x1ef9400) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:383
#12 QVector<Konsole::Character>::data (this=0x1ef9400) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:127
#13 Konsole::Screen::copyLineToStream (this=this at entry=0x13cd350,
line=line at entry=659, start=163, count=count at entry=1,
decoder=decoder at entry=0x7ffcc2c628d0, appendNewLine=<optimized out>,
options=...) at /workspace/build/src/Screen.cpp:1346
#14 0x00007f3f6adcf58b in Konsole::Screen::writeToStream
(this=this at entry=0x13cd350, decoder=decoder at entry=0x7ffcc2c628d0,
startIndex=startIndex at entry=178752, endIndex=endIndex at entry=178752,
options=options at entry=...) at /workspace/build/src/Screen.cpp:1275
#15 0x00007f3f6add0152 in Konsole::Screen::text (this=0x13cd350,
startIndex=178752, endIndex=178752, options=...) at
/workspace/build/src/Screen.cpp:1226
#16 0x00007f3f6add01f6 in Konsole::Screen::selectedText (this=<optimized out>,
options=..., options at entry=...) at /workspace/build/src/Screen.cpp:1207
#17 0x00007f3f6ad9ddaa in Konsole::Emulation::checkSelectedText
(this=0x13cc700) at /workspace/build/src/Emulation.cpp:106
#18 0x00007f3f676482a6 in QtPrivate::QSlotObjectBase::call (a=0x7ffcc2c62a70,
r=0x13cc700, this=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#19 QMetaObject::activate (sender=0x163d970, signalOffset=<optimized out>,
local_signal_index=local_signal_index at entry=3, argv=argv at entry=0x0) at
kernel/qobject.cpp:3754
#20 0x00007f3f67648887 in QMetaObject::activate (sender=<optimized out>,
m=m at entry=0x7f3f6b073060 <Konsole::ScreenWindow::staticMetaObject>,
local_signal_index=local_signal_index at entry=3, argv=argv at entry=0x0) at
kernel/qobject.cpp:3633
#21 0x00007f3f6ae22603 in Konsole::ScreenWindow::selectionChanged
(this=<optimized out>) at
/workspace/build/obj-x86_64-linux-gnu/src/moc_ScreenWindow.cpp:188
#22 0x00007f3f6add0bc3 in Konsole::ScreenWindow::setSelectionStart
(this=<optimized out>, column=<optimized out>, line=line at entry=659,
columnMode=columnMode at entry=false) at /workspace/build/src/ScreenWindow.cpp:151
#23 0x00007f3f6adfeceb in Konsole::TerminalDisplay::extendSelection
(this=this at entry=0x15dd5d0, position=...) at
/workspace/build/src/TerminalDisplay.cpp:2626
#24 0x00007f3f6ae03366 in Konsole::TerminalDisplay::mousePressEvent
(this=0x15dd5d0, ev=0x7ffcc2c63030) at
/workspace/build/src/TerminalDisplay.cpp:2289
#25 0x00007f3f686bc03f in QWidget::event (this=this at entry=0x15dd5d0,
event=event at entry=0x7ffcc2c63030) at kernel/qwidget.cpp:8897
#26 0x00007f3f6ae03caa in Konsole::TerminalDisplay::event (this=0x15dd5d0,
event=0x7ffcc2c63030) at /workspace/build/src/TerminalDisplay.cpp:3672
#27 0x00007f3f6867c39c in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x15dd5d0, e=0x7ffcc2c63030) at kernel/qapplication.cpp:3727
#28 0x00007f3f68683db3 in QApplication::notify (this=<optimized out>,
receiver=0x15dd5d0, e=0x7ffcc2c63030) at kernel/qapplication.cpp:3203
#29 0x00007f3f6761b228 in QCoreApplication::notifyInternal2
(receiver=receiver at entry=0x15dd5d0, event=event at entry=0x7ffcc2c63030) at
kernel/qcoreapplication.cpp:1048
#30 0x00007f3f68682faf in QCoreApplication::sendEvent (event=<optimized out>,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#31 QApplicationPrivate::sendMouseEvent (receiver=receiver at entry=0x15dd5d0,
event=event at entry=0x7ffcc2c63030, alienWidget=alienWidget at entry=0x15dd5d0,
nativeWidget=0x118fc40, buttonDown=buttonDown at entry=0x7f3f68d858d0
<qt_button_down>, lastMouseReceiver=..., spontaneous=true) at
kernel/qapplication.cpp:2695
#32 0x00007f3f686d5abd in QWidgetWindow::handleMouseEvent
(this=this at entry=0x1243dc0, event=event at entry=0x7ffcc2c63430) at
kernel/qwidgetwindow.cpp:659
#33 0x00007f3f686d84cb in QWidgetWindow::event (this=0x1243dc0,
event=0x7ffcc2c63430) at kernel/qwidgetwindow.cpp:280
#34 0x00007f3f6867c39c in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x1243dc0, e=0x7ffcc2c63430) at kernel/qapplication.cpp:3727
#35 0x00007f3f68683ab0 in QApplication::notify (this=0x1125870,
receiver=0x1243dc0, e=0x7ffcc2c63430) at kernel/qapplication.cpp:3486
#36 0x00007f3f6761b228 in QCoreApplication::notifyInternal2
(receiver=receiver at entry=0x1243dc0, event=event at entry=0x7ffcc2c63430) at
kernel/qcoreapplication.cpp:1048
#37 0x00007f3f67e713cf in QCoreApplication::sendSpontaneousEvent
(event=0x7ffcc2c63430, receiver=0x1243dc0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#38 QGuiApplicationPrivate::processMouseEvent (e=0x1d860e0) at
kernel/qguiapplication.cpp:2082
#39 0x00007f3f67e73415 in QGuiApplicationPrivate::processWindowSystemEvent
(e=e at entry=0x1d860e0) at kernel/qguiapplication.cpp:1817
#40 0x00007f3f67e4de1b in QWindowSystemInterface::sendWindowSystemEvents
(flags=..., flags at entry=...) at kernel/qwindowsysteminterface.cpp:1032
#41 0x00007f3f58daacb6 in QUnixEventDispatcherQPA::processEvents
(this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:69
#42 0x00007f3f676195ba in QEventLoop::exec (this=this at entry=0x7ffcc2c636a0,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:214
#43 0x00007f3f676226c4 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1336
#44 0x00007f3f67e67f8c in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1762
#45 0x00007f3f6867c2f5 in QApplication::exec () at kernel/qapplication.cpp:2901
#46 0x00007f3f6b46d8fe in kdemain (argc=1, argv=<optimized out>) at
/workspace/build/src/main.cpp:207
#47 0x00007f3f6b09b830 in __libc_start_main (main=0x4006b0 <main(int, char**)>,
argc=3, argv=0x7ffcc2c639b8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffcc2c639a8) at ../csu/libc-start.c:291
#48 0x00000000004006e9 in _start ()

Possible duplicates by query: bug 397014, 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