Bug 333971

Summary: Konsole crashed when searching for text while running command
Product: [Applications] konsole Reporter: Alexey Chernov <4ernov>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: a.samirh78
Priority: NOR Keywords: drkonqi
Version: 2.13   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexey Chernov 2014-04-27 20:50:50 UTC
Application: konsole (2.13)
KDE Platform Version: 4.13.0 (Compiled from sources)
Qt Version: 4.8.5
Operating System: Linux 3.13.6 x86_64

-- Information about the crash:
- What I was doing when the application crashed:
Konsole suddenly crashed when I tried to search for text through the output while shell was busy with processing another command. IIRC, I pushed "Back" button right before it crashed.

-- Backtrace:
Application: Konsole (konsole), signal: Aborted
Using host libthread_db library "/lib/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f071b37c3a9 in raise () from /lib/libc.so.6
#7  0x00007f071b37d708 in abort () from /lib/libc.so.6
#8  0x00007f071d2a2d6f in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=<optimized out>) at global/qglobal.cpp:2323
#9  0x00007f071d2a3851 in qt_message (ap=0x7fff12d491a8, msg=0x7f071d455110 "ASSERT: \"%s\" in file %s, line %d", msgType=QtFatalMsg) at global/qglobal.cpp:2369
#10 qFatal (msg=msg@entry=0x7f071d455110 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2552
#11 0x00007f071d2a3986 in qt_assert (assertion=assertion@entry=0x7f0703479b70 "screenLine <= _screenLinesSize", file=file@entry=0x7f0703479a10 "/usr/src/packages/kde4/4.13.0/konsole-4.13.0/src/Screen.cpp", line=line@entry=1239) at global/qglobal.cpp:2018
#12 0x00007f070342e5da in Konsole::Screen::copyLineToStream (this=this@entry=0xfef510, line=line@entry=1858150, start=0, count=count@entry=211, decoder=decoder@entry=0x7fff12d494f0, appendNewLine=appendNewLine@entry=false, preserveLineBreaks=preserveLineBreaks@entry=true, trimTrailingSpaces=trimTrailingSpaces@entry=false) at /usr/src/packages/kde4/4.13.0/konsole-4.13.0/src/Screen.cpp:1239
#13 0x00007f070342e834 in Konsole::Screen::writeToStream (this=0xfef510, decoder=0x7fff12d494f0, startIndex=<optimized out>, endIndex=<optimized out>, preserveLineBreaks=<optimized out>, trimTrailingSpaces=<optimized out>) at /usr/src/packages/kde4/4.13.0/konsole-4.13.0/src/Screen.cpp:1172
#14 0x00007f07034408ac in Konsole::SearchHistoryTask::executeOnScreenWindow (this=this@entry=0x1ce3a40, session=..., window=...) at /usr/src/packages/kde4/4.13.0/konsole-4.13.0/src/SessionController.cpp:1892
#15 0x00007f0703440ba9 in Konsole::SearchHistoryTask::execute (this=0x1ce3a40) at /usr/src/packages/kde4/4.13.0/konsole-4.13.0/src/SessionController.cpp:1812
#16 0x00007f070343cd49 in Konsole::SessionController::beginSearch (this=this@entry=0x15afcd0, text=..., direction=direction@entry=0) at /usr/src/packages/kde4/4.13.0/konsole-4.13.0/src/SessionController.cpp:1283
#17 0x00007f070343d0e8 in Konsole::SessionController::findPreviousInHistory (this=this@entry=0x15afcd0) at /usr/src/packages/kde4/4.13.0/konsole-4.13.0/src/SessionController.cpp:1332
#18 0x00007f07034410bd in Konsole::SessionController::qt_static_metacall (_o=0x15afcd0, _c=<optimized out>, _id=26, _a=0x7fff12d49710) at /usr/src/packages/kde4/4.13.0/konsole-4.13.0/build/src/SessionController.moc:180
#19 0x00007f071d3f9118 in QMetaObject::activate (sender=0x13eace0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#20 0x00007f071d3f9118 in QMetaObject::activate (sender=sender@entry=0x13d5bd0, m=m@entry=0x7f071cfda700 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff12d498c0) at kernel/qobject.cpp:3547
#21 0x00007f071cb20ee2 in QAbstractButton::clicked (this=this@entry=0x13d5bd0, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:219
#22 0x00007f071c7d63e3 in QAbstractButtonPrivate::emitClicked (this=this@entry=0x1403220) at widgets/qabstractbutton.cpp:548
#23 0x00007f071c7d7bf4 in QAbstractButtonPrivate::click (this=this@entry=0x1403220) at widgets/qabstractbutton.cpp:541
#24 0x00007f071c7d7cec in QAbstractButton::mouseReleaseEvent (this=0x13d5bd0, e=0x7fff12d49e70) at widgets/qabstractbutton.cpp:1123
#25 0x00007f071c8bc9ca in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:718
#26 0x00007f071c3d82a7 in QWidget::event (this=this@entry=0x13d5bd0, event=0x7fff12d49e70) at kernel/qwidget.cpp:8376
#27 0x00007f071c7d95f4 in QAbstractButton::event (this=this@entry=0x13d5bd0, e=e@entry=0x7fff12d49e70) at widgets/qabstractbutton.cpp:1082
#28 0x00007f071c8bcacb in QToolButton::event (this=0x13d5bd0, event=0x7fff12d49e70) at widgets/qtoolbutton.cpp:1163
#29 0x00007f071c374ce1 in QApplicationPrivate::notify_helper (this=this@entry=0xe11f50, receiver=receiver@entry=0x13d5bd0, e=e@entry=0x7fff12d49e70) at kernel/qapplication.cpp:4562
#30 0x00007f071c37ffd1 in QApplication::notify (this=this@entry=0x7fff12d4c2c0, receiver=receiver@entry=0x13d5bd0, e=e@entry=0x7fff12d49e70) at kernel/qapplication.cpp:4105
#31 0x00007f071e460e41 in KApplication::notify (this=0x7fff12d4c2c0, receiver=0x13d5bd0, event=0x7fff12d49e70) at /usr/src/packages/kde4/4.13.0/kdelibs-4.13.0/kdeui/kernel/kapplication.cpp:311
#32 0x00007f071d3dd86d in QCoreApplication::notifyInternal (this=0x7fff12d4c2c0, receiver=receiver@entry=0x13d5bd0, event=event@entry=0x7fff12d49e70) at kernel/qcoreapplication.cpp:949
#33 0x00007f071c37dc22 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#34 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x13d5bd0, event=event@entry=0x7fff12d49e70, alienWidget=alienWidget@entry=0x13d5bd0, nativeWidget=nativeWidget@entry=0x1334c60, buttonDown=buttonDown@entry=0x7f071cff9420 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3173
#35 0x00007f071c407c08 in QETWidget::translateMouseEvent (this=this@entry=0x1334c60, event=event@entry=0x7fff12d4a1d0) at kernel/qapplication_x11.cpp:4517
#36 0x00007f071c406411 in QApplication::x11ProcessEvent (this=0x7fff12d4c2c0, event=event@entry=0x7fff12d4a1d0) at kernel/qapplication_x11.cpp:3640
#37 0x00007f071c4326eb in x11EventSourceDispatch (s=0xe11e70, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#38 0x00007f0717b56bb6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#39 0x00007f0717b56f28 in g_main_context_iterate.isra.23 () from /usr/lib/libglib-2.0.so.0
#40 0x00007f0717b56fcc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#41 0x00007f071d4161c5 in QEventDispatcherGlib::processEvents (this=0xe117a0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#42 0x00007f071c432936 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f071d3e28ef in QCoreApplication::processEvents (flags=...) at kernel/qcoreapplication.cpp:1136
#44 0x00007f0703440847 in Konsole::SearchHistoryTask::executeOnScreenWindow (this=this@entry=0x97365f0, session=..., window=...) at /usr/src/packages/kde4/4.13.0/konsole-4.13.0/src/SessionController.cpp:1864
#45 0x00007f0703440ba9 in Konsole::SearchHistoryTask::execute (this=0x97365f0) at /usr/src/packages/kde4/4.13.0/konsole-4.13.0/src/SessionController.cpp:1812
#46 0x00007f070343cd49 in Konsole::SessionController::beginSearch (this=this@entry=0x15afcd0, text=..., direction=direction@entry=1) at /usr/src/packages/kde4/4.13.0/konsole-4.13.0/src/SessionController.cpp:1283
#47 0x00007f070343d024 in Konsole::SessionController::findNextInHistory (this=this@entry=0x15afcd0) at /usr/src/packages/kde4/4.13.0/konsole-4.13.0/src/SessionController.cpp:1323
#48 0x00007f07034410ad in Konsole::SessionController::qt_static_metacall (_o=0x15afcd0, _c=<optimized out>, _id=25, _a=0x7fff12d4a840) at /usr/src/packages/kde4/4.13.0/konsole-4.13.0/build/src/SessionController.moc:179
#49 0x00007f071d3f9118 in QMetaObject::activate (sender=0x13eace0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#50 0x00007f071d3f9118 in QMetaObject::activate (sender=sender@entry=0x13dda50, m=m@entry=0x7f071cfda700 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff12d4a9f0) at kernel/qobject.cpp:3547
#51 0x00007f071cb20ee2 in QAbstractButton::clicked (this=this@entry=0x13dda50, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:219
#52 0x00007f071c7d63e3 in QAbstractButtonPrivate::emitClicked (this=this@entry=0x13de900) at widgets/qabstractbutton.cpp:548
#53 0x00007f071c7d7bf4 in QAbstractButtonPrivate::click (this=this@entry=0x13de900) at widgets/qabstractbutton.cpp:541
#54 0x00007f071c7d7cec in QAbstractButton::mouseReleaseEvent (this=0x13dda50, e=0x7fff12d4afa0) at widgets/qabstractbutton.cpp:1123
#55 0x00007f071c8bc9ca in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:718
#56 0x00007f071c3d82a7 in QWidget::event (this=this@entry=0x13dda50, event=0x7fff12d4afa0) at kernel/qwidget.cpp:8376
#57 0x00007f071c7d95f4 in QAbstractButton::event (this=this@entry=0x13dda50, e=e@entry=0x7fff12d4afa0) at widgets/qabstractbutton.cpp:1082
#58 0x00007f071c8bcacb in QToolButton::event (this=0x13dda50, event=0x7fff12d4afa0) at widgets/qtoolbutton.cpp:1163
#59 0x00007f071c374ce1 in QApplicationPrivate::notify_helper (this=this@entry=0xe11f50, receiver=receiver@entry=0x13dda50, e=e@entry=0x7fff12d4afa0) at kernel/qapplication.cpp:4562
#60 0x00007f071c37ffd1 in QApplication::notify (this=this@entry=0x7fff12d4c2c0, receiver=receiver@entry=0x13dda50, e=e@entry=0x7fff12d4afa0) at kernel/qapplication.cpp:4105
#61 0x00007f071e460e41 in KApplication::notify (this=0x7fff12d4c2c0, receiver=0x13dda50, event=0x7fff12d4afa0) at /usr/src/packages/kde4/4.13.0/kdelibs-4.13.0/kdeui/kernel/kapplication.cpp:311
#62 0x00007f071d3dd86d in QCoreApplication::notifyInternal (this=0x7fff12d4c2c0, receiver=receiver@entry=0x13dda50, event=event@entry=0x7fff12d4afa0) at kernel/qcoreapplication.cpp:949
#63 0x00007f071c37dc22 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#64 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x13dda50, event=event@entry=0x7fff12d4afa0, alienWidget=alienWidget@entry=0x13dda50, nativeWidget=nativeWidget@entry=0x1334c60, buttonDown=buttonDown@entry=0x7f071cff9420 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3173
#65 0x00007f071c407c08 in QETWidget::translateMouseEvent (this=this@entry=0x1334c60, event=event@entry=0x7fff12d4b300) at kernel/qapplication_x11.cpp:4517
#66 0x00007f071c406411 in QApplication::x11ProcessEvent (this=0x7fff12d4c2c0, event=event@entry=0x7fff12d4b300) at kernel/qapplication_x11.cpp:3640
#67 0x00007f071c4326eb in x11EventSourceDispatch (s=0xe11e70, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#68 0x00007f0717b56bb6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#69 0x00007f0717b56f28 in g_main_context_iterate.isra.23 () from /usr/lib/libglib-2.0.so.0
#70 0x00007f0717b56fcc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#71 0x00007f071d4161c5 in QEventDispatcherGlib::processEvents (this=0xe117a0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#72 0x00007f071c432936 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#73 0x00007f071d3e28ef in QCoreApplication::processEvents (flags=...) at kernel/qcoreapplication.cpp:1136
#74 0x00007f0703440847 in Konsole::SearchHistoryTask::executeOnScreenWindow (this=this@entry=0x20f6b10, session=..., window=...) at /usr/src/packages/kde4/4.13.0/konsole-4.13.0/src/SessionController.cpp:1864
#75 0x00007f0703440ba9 in Konsole::SearchHistoryTask::execute (this=0x20f6b10) at /usr/src/packages/kde4/4.13.0/konsole-4.13.0/src/SessionController.cpp:1812
#76 0x00007f070343cd49 in Konsole::SessionController::beginSearch (this=this@entry=0x15afcd0, text=..., direction=<optimized out>) at /usr/src/packages/kde4/4.13.0/konsole-4.13.0/src/SessionController.cpp:1283
#77 0x00007f070343ce67 in Konsole::SessionController::searchTextChanged (this=this@entry=0x15afcd0, text=...) at /usr/src/packages/kde4/4.13.0/konsole-4.13.0/src/SessionController.cpp:1246
#78 0x00007f0703441222 in Konsole::SessionController::qt_static_metacall (_o=0x15afcd0, _c=<optimized out>, _id=46, _a=0x7fff12d4b9c0) at /usr/src/packages/kde4/4.13.0/konsole-4.13.0/build/src/SessionController.moc:200
#79 0x00007f071d3f9118 in QMetaObject::activate (sender=sender@entry=0x13eace0, m=m@entry=0x7f07036ca120 <Konsole::IncrementalSearchBar::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff12d4b9c0) at kernel/qobject.cpp:3547
#80 0x00007f070340f922 in Konsole::IncrementalSearchBar::searchChanged (this=this@entry=0x13eace0, _t1=...) at /usr/src/packages/kde4/4.13.0/konsole-4.13.0/build/src/IncrementalSearchBar.moc:134
#81 0x00007f070340f94f in Konsole::IncrementalSearchBar::notifySearchChanged (this=0x13eace0) at /usr/src/packages/kde4/4.13.0/konsole-4.13.0/src/IncrementalSearchBar.cpp:156
#82 0x00007f071d3f9118 in QMetaObject::activate (sender=0x13de490, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#83 0x00007f071d3fdf11 in QObject::event (this=0x13de490, e=<optimized out>) at kernel/qobject.cpp:1156
#84 0x00007f071c374ce1 in QApplicationPrivate::notify_helper (this=this@entry=0xe11f50, receiver=receiver@entry=0x13de490, e=e@entry=0x7fff12d4bee0) at kernel/qapplication.cpp:4562
#85 0x00007f071c37e3dd in QApplication::notify (this=this@entry=0x7fff12d4c2c0, receiver=receiver@entry=0x13de490, e=e@entry=0x7fff12d4bee0) at kernel/qapplication.cpp:4348
#86 0x00007f071e460e41 in KApplication::notify (this=0x7fff12d4c2c0, receiver=0x13de490, event=0x7fff12d4bee0) at /usr/src/packages/kde4/4.13.0/kdelibs-4.13.0/kdeui/kernel/kapplication.cpp:311
#87 0x00007f071d3dd86d in QCoreApplication::notifyInternal (this=0x7fff12d4c2c0, receiver=0x13de490, event=0x7fff12d4bee0) at kernel/qcoreapplication.cpp:949
#88 0x00007f071d419ed3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#89 QTimerInfoList::activateTimers (this=0xe11df0) at kernel/qeventdispatcher_unix.cpp:621
#90 0x00007f071d415fd1 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#91 0x00007f0717b56bb6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#92 0x00007f0717b56f28 in g_main_context_iterate.isra.23 () from /usr/lib/libglib-2.0.so.0
#93 0x00007f0717b56fcc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#94 0x00007f071d4161c5 in QEventDispatcherGlib::processEvents (this=0xe117a0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#95 0x00007f071c432936 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#96 0x00007f071d3db12f in QEventLoop::processEvents (this=this@entry=0x7fff12d4c190, flags=...) at kernel/qeventloop.cpp:149
#97 0x00007f071d3db3c5 in QEventLoop::exec (this=this@entry=0x7fff12d4c190, flags=...) at kernel/qeventloop.cpp:204
#98 0x00007f071d3e32f9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#99 0x00007f071c374c4c in QApplication::exec () at kernel/qapplication.cpp:3823
#100 0x00007f07036eea24 in kdemain (argc=3, argv=0xd7bdb0) at /usr/src/packages/kde4/4.13.0/konsole-4.13.0/src/main.cpp:86
#101 0x0000000000408820 in launch (argc=3, _name=0xd7baf8 "/usr/bin/konsole", args=0xd7bb49 "", cwd=<optimized out>, envc=<optimized out>, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40cca9 "0") at /usr/src/packages/kde4/4.13.0/kdelibs-4.13.0/kinit/kinit.cpp:726
#102 0x000000000040938b in handle_launcher_request (sock=8, who=who@entry=0x40ce46 "launcher") at /usr/src/packages/kde4/4.13.0/kdelibs-4.13.0/kinit/kinit.cpp:1218
#103 0x000000000040a74c in handle_requests (waitForPid=waitForPid@entry=0) at /usr/src/packages/kde4/4.13.0/kdelibs-4.13.0/kinit/kinit.cpp:1411
#104 0x0000000000405223 in main (argc=4, argv=<optimized out>, envp=0x7fff12d4c9f0) at /usr/src/packages/kde4/4.13.0/kdelibs-4.13.0/kinit/kinit.cpp:1899

Reported using DrKonqi
Comment 1 Ahmad Samir 2018-02-14 19:08:20 UTC
Sorry, but KDE4/konsole4 is no longer maintained.