Bug 313711 - Konsole crashed when clicking over some text
Summary: Konsole crashed when clicking over some text
Status: CLOSED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: copy-paste (show other bugs)
Version: 2.9.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-22 21:46 UTC by Luiz Angelo De Luca
Modified: 2014-05-22 19:03 UTC (History)
0 users

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 Luiz Angelo De Luca 2013-01-22 21:46:58 UTC
Hello,

I got a konsole segfault when I clicked over it. The BT seems to be complete:

Application: Konsole (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#5  operator!= (value=1, this=0x0) at /usr/include/QtCore/qbasicatomic.h:75
#6  detach (this=0x28fcee8) at /usr/include/QtCore/qvector.h:147
#7  data (this=0x28fcee8) at /usr/include/QtCore/qvector.h:152
#8  Konsole::Screen::copyLineToStream (this=this@entry=0x27e4310, line=line@entry=12270, start=9, count=1, decoder=decoder@entry=0x7fff7f50aee0, appendNewLine=appendNewLine@entry=false, preserveLineBreaks=preserveLineBreaks@entry=true) at /usr/src/debug/konsole-4.9.5/src/Screen.cpp:1224
#9  0x00007f1c8ad3ee5f in Konsole::Screen::writeToStream (this=this@entry=0x27e4310, decoder=decoder@entry=0x7fff7f50aee0, startIndex=startIndex@entry=2907999, endIndex=endIndex@entry=2907999, preserveLineBreaks=preserveLineBreaks@entry=true) at /usr/src/debug/konsole-4.9.5/src/Screen.cpp:1158
#10 0x00007f1c8ad40864 in Konsole::Screen::text (this=0x27e4310, startIndex=2907999, endIndex=2907999, preserveLineBreaks=true) at /usr/src/debug/konsole-4.9.5/src/Screen.cpp:1114
#11 0x00007f1c8ad408f9 in Konsole::Screen::selectedText (this=<optimized out>, preserveLineBreaks=<optimized out>) at /usr/src/debug/konsole-4.9.5/src/Screen.cpp:1104
#12 0x00007f1c8ad14279 in Konsole::Emulation::checkSelectedText (this=0x27e3ca0) at /usr/src/debug/konsole-4.9.5/src/Emulation.cpp:91
#13 0x00007f1c9e6f40ff in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#14 0x00007f1c8ad62f95 in Konsole::TerminalDisplay::extendSelection (this=0x283cc60, position=...) at /usr/src/debug/konsole-4.9.5/src/TerminalDisplay.cpp:2111
#15 0x00007f1c8ad5f558 in Konsole::TerminalDisplay::mouseMoveEvent (this=0x283cc60, ev=0x7fff7f50ba60) at /usr/src/debug/konsole-4.9.5/src/TerminalDisplay.cpp:1919
#16 0x00007f1c9d8bc15b in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#17 0x00007f1c8ad5fc59 in event (event={bool (QEvent *, Konsole::TerminalDisplay * const)} 0x7f1c8ad5fc4e <Konsole::TerminalDisplay::event(QEvent*)+30>, this=0x283cc60) at /usr/src/debug/konsole-4.9.5/src/TerminalDisplay.cpp:2795
#18 Konsole::TerminalDisplay::event (this=0x283cc60, event=0x7fff7f50ba60) at /usr/src/debug/konsole-4.9.5/src/TerminalDisplay.cpp:2781
#19 0x00007f1c9d86c85c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#20 0x00007f1c9d87153b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#21 0x00007f1c9f47f636 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#22 0x00007f1c9e6debfe in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#23 0x00007f1c9d86d69b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#24 0x00007f1c9d8e7e54 in ?? () from /usr/lib64/libQtGui.so.4
#25 0x00007f1c9d8e6be1 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#26 0x00007f1c9d90cf72 in ?? () from /usr/lib64/libQtGui.so.4
#27 0x00007f1c99e083b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f1c99e086e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f1c99e087a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f1c9e70d136 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#31 0x00007f1c9d90cbee in ?? () from /usr/lib64/libQtGui.so.4
#32 0x00007f1c9e6dd94f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#33 0x00007f1c9e6ddbd8 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#34 0x00007f1c9e6e2878 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#35 0x00007f1c8aff5787 in kdemain (argc=3, argv=0x1ffcd10) at /usr/src/debug/konsole-4.9.5/src/main.cpp:85
#36 0x0000000000408856 in _start ()


Reproducible: Didn't try

Steps to Reproduce:
1.It crashed just once
Comment 1 Jekyll Wu 2013-01-22 22:15:03 UTC
Thanks for reporting !  There are a few reports about random crash of konsole  within Konsole::Screen::copyLineToStream()