Bug 400348 - Konsole crashed as I was writing in vim
Summary: Konsole crashed as I was writing in vim
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 18.08.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-10-26 16:32 UTC by pc
Modified: 2021-01-01 04:39 UTC (History)
1 user (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 pc 2018-10-26 16:32:59 UTC
Application: konsole (18.08.2)

Qt Version: 5.11.2
Frameworks Version: 5.51.0
Operating System: Linux 4.15.0-38-generic x86_64
Distribution: KDE neon User Edition 5.14

-- Information about the crash:
Literally it, Konsoled crashed as I was typing in vim in insert mode.

The crash does not seem to be reproducible.

-- 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 0x7f7637947800 (LWP 22877))]

Thread 3 (Thread 0x7f761a10d700 (LWP 22880)):
#0  0x00007f7637252cf6 in __GI_ppoll (fds=fds@entry=0x7f7614013f08, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f7633787241 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=0x7f7614013f08) at kernel/qcore_unix.cpp:132
#3  qt_safe_poll (fds=0x7f7614013f08, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:153
#4  0x00007f763378894e in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#5  0x00007f763372f7fa in QEventLoop::exec (this=this@entry=0x7f761a10cd70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007f763355abba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#7  0x00007f763166ee45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f7633565adb in QThreadPrivate::start (arg=0x7f76318e6d60) at thread/qthread_unix.cpp:367
#9  0x00007f762ea956db in start_thread (arg=0x7f761a10d700) at pthread_create.c:463
#10 0x00007f763725f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f762218d700 (LWP 22879)):
#0  0x00007f7637252bf9 in __GI___poll (fds=0x7f762218cca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f762eebb747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f762eebd36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f762514ded9 in QXcbEventReader::run (this=0x562ca7755ba0) at qxcbconnection.cpp:1391
#4  0x00007f7633565adb in QThreadPrivate::start (arg=0x562ca7755ba0) at thread/qthread_unix.cpp:367
#5  0x00007f762ea956db in start_thread (arg=0x7f762218d700) at pthread_create.c:463
#6  0x00007f763725f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f7637947800 (LWP 22877)):
[KCrash Handler]
#6  0x00007f7636e922f9 in std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x51) at /usr/include/c++/7/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=0x51) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:103
#9  QtPrivate::RefCount::isShared (this=0x51) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:101
#10 QVector<Konsole::Character>::isDetached (this=0x562ca7b347f8) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:106
#11 QVector<Konsole::Character>::detach (this=0x562ca7b347f8) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:383
#12 QVector<Konsole::Character>::data (this=0x562ca7b347f8) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:127
#13 Konsole::Screen::copyLineToStream (this=this@entry=0x562ca786e8a0, line=line@entry=46, start=0, count=87, count@entry=-1, decoder=decoder@entry=0x7ffd565e8180, appendNewLine=appendNewLine@entry=true, options=...) at ./src/Screen.cpp:1346
#14 0x00007f7636e92813 in Konsole::Screen::writeToStream (this=this@entry=0x562ca786e8a0, decoder=decoder@entry=0x7ffd565e8180, startIndex=startIndex@entry=1442, endIndex=endIndex@entry=5269, options=...) at ./src/Screen.cpp:1275
#15 0x00007f7636e940a2 in Konsole::Screen::text (this=0x562ca786e8a0, startIndex=1442, endIndex=5269, options=...) at ./src/Screen.cpp:1226
#16 0x00007f7636e94182 in Konsole::Screen::selectedText (this=<optimized out>, options=..., options@entry=...) at ./src/Screen.cpp:1207
#17 0x00007f7636e61cbd in Konsole::Emulation::checkSelectedText (this=0x562ca79d1700) at ./src/Emulation.cpp:106
#18 0x00007f763376067f in QtPrivate::QSlotObjectBase::call (a=0x7ffd565e8320, r=0x562ca79d1700, this=0x562ca7b33840) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#19 QMetaObject::activate (sender=0x562ca7b2f9a0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x0) at kernel/qobject.cpp:3754
#20 0x00007f7633760c37 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f7637136060 <Konsole::ScreenWindow::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x0) at kernel/qobject.cpp:3633
#21 0x00007f7636ee6d43 in Konsole::ScreenWindow::selectionChanged (this=<optimized out>) at ./obj-x86_64-linux-gnu/src/konsoleprivate_autogen/EWIEGA46WW/moc_ScreenWindow.cpp:188
#22 0x00007f7636e94a01 in Konsole::ScreenWindow::setSelectionEnd (this=<optimized out>, column=column@entry=50, line=<optimized out>) at ./src/ScreenWindow.cpp:159
#23 0x00007f7636ec2e17 in Konsole::TerminalDisplay::extendSelection (this=this@entry=0x562ca7a434e0, position=...) at ./src/TerminalDisplay.cpp:2637
#24 0x00007f7636ec7810 in Konsole::TerminalDisplay::mousePressEvent (this=0x562ca7a434e0, ev=0x7ffd565e88d0) at ./src/TerminalDisplay.cpp:2289
#25 0x00007f76347923ef in QWidget::event (this=this@entry=0x562ca7a434e0, event=event@entry=0x7ffd565e88d0) at kernel/qwidget.cpp:8903
#26 0x00007f7636ec820a in Konsole::TerminalDisplay::event (this=0x562ca7a434e0, event=0x7ffd565e88d0) at ./src/TerminalDisplay.cpp:3672
#27 0x00007f7634752e1c in QApplicationPrivate::notify_helper (this=this@entry=0x562ca7737540, receiver=receiver@entry=0x562ca7a434e0, e=e@entry=0x7ffd565e88d0) at kernel/qapplication.cpp:3727
#28 0x00007f763475af87 in QApplication::notify (this=<optimized out>, receiver=0x562ca7a434e0, e=0x7ffd565e88d0) at kernel/qapplication.cpp:3203
#29 0x00007f76337314d8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x562ca7a434e0, event=event@entry=0x7ffd565e88d0) at kernel/qcoreapplication.cpp:1048
#30 0x00007f76347598d2 in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#31 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x562ca7a434e0, event=event@entry=0x7ffd565e88d0, alienWidget=alienWidget@entry=0x562ca7a434e0, nativeWidget=0x562ca77a7b60, buttonDown=buttonDown@entry=0x7f7634e4c850 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2695
#32 0x00007f76347acc13 in QWidgetWindow::handleMouseEvent (this=this@entry=0x562ca77dcf50, event=event@entry=0x7ffd565e8cd0) at kernel/qwidgetwindow.cpp:658
#33 0x00007f76347af229 in QWidgetWindow::event (this=0x562ca77dcf50, event=0x7ffd565e8cd0) at kernel/qwidgetwindow.cpp:280
#34 0x00007f7634752e1c in QApplicationPrivate::notify_helper (this=this@entry=0x562ca7737540, receiver=receiver@entry=0x562ca77dcf50, e=e@entry=0x7ffd565e8cd0) at kernel/qapplication.cpp:3727
#35 0x00007f763475a3ef in QApplication::notify (this=0x562ca7737520, receiver=0x562ca77dcf50, e=0x7ffd565e8cd0) at kernel/qapplication.cpp:3486
#36 0x00007f76337314d8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x562ca77dcf50, event=event@entry=0x7ffd565e8cd0) at kernel/qcoreapplication.cpp:1048
#37 0x00007f7633f567bb in QCoreApplication::sendSpontaneousEvent (event=0x7ffd565e8cd0, receiver=0x562ca77dcf50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#38 QGuiApplicationPrivate::processMouseEvent (e=0x562ca7b88ed0) at kernel/qguiapplication.cpp:2082
#39 0x00007f7633f58335 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x562ca7b88ed0) at kernel/qguiapplication.cpp:1817
#40 0x00007f7633f30f5b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1032
#41 0x00007f76251d9a06 in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:69
#42 0x00007f763372f7fa in QEventLoop::exec (this=this@entry=0x7ffd565e8f40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#43 0x00007f76337389c0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#44 0x00007f7633f4c9cc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1762
#45 0x00007f7634752d75 in QApplication::exec () at kernel/qapplication.cpp:2901
#46 0x00007f763755772c in kdemain (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:207
#47 0x00007f763715fb97 in __libc_start_main (main=0x562ca6af9720 <main>, argc=1, argv=0x7ffd565e9208, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd565e91f8) at ../csu/libc-start.c:310
#48 0x0000562ca6af975a in _start ()

Possible duplicates by query: bug 398320, bug 397014, bug 393414, bug 390660, bug 387343.

Reported using DrKonqi
Comment 1 Justin Zobel 2020-12-02 00:42:12 UTC
Thanks for the report.

As it's 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've set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 2 Bug Janitor Service 2020-12-17 04:34:18 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 3 Bug Janitor Service 2021-01-01 04:39:40 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!