Bug 331073 - Konsole crashed when trying to search
Summary: Konsole crashed when trying to search
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.12
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-02-13 02:10 UTC by Julio J.
Modified: 2018-02-19 06:23 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 Julio J. 2014-02-13 02:10:06 UTC
Application: konsole (2.12)
KDE Platform Version: 4.11.97
Qt Version: 4.8.2
Operating System: Linux 3.2.0-58-generic x86_64
Distribution: Ubuntu 12.04.4 LTS

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

I had 3 instances of the app opened, one of them had a big scrollback, I pressed Ctrl+Shift+F to search on the text and the three instances went away.

First time ever that something like this happened to me, even with larger scrolls.

-- 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 0x7fc57a425780 (LWP 4509))]

Thread 2 (Thread 0x7fc564366700 (LWP 4522)):
#0  0x00007fc579d56a43 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc573cecff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc573ced124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc5788e7926 in QEventDispatcherGlib::processEvents (this=0x7fc55c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fc5788b6e62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc5788b70b7 in QEventLoop::exec (this=0x7fc564365dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fc5787b6077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fc578896b6f in QInotifyFileSystemWatcherEngine::run (this=0xb72c90) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fc5787b909b in QThreadPrivate::start (arg=0xb72c90) at thread/qthread_unix.cpp:307
#9  0x00007fc5747c7e9a in start_thread (arg=0x7fc564366700) at pthread_create.c:308
#10 0x00007fc579d623fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc57a425780 (LWP 4509)):
[KCrash Handler]
#6  testAttribute (attribute=Qt::WA_WState_Visible, this=<optimized out>) at /usr/include/qt4/QtGui/qwidget.h:1041
#7  isVisible (this=<optimized out>) at /usr/include/qt4/QtGui/qwidget.h:1003
#8  Konsole::SessionController::searchBarEvent (this=0xbe3940) at ../../src/SessionController.cpp:1130
#9  0x00007fc579a0cbcd in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./SessionController.moc:176
#10 Konsole::SessionController::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./SessionController.moc:148
#11 0x00007fc5788cc781 in QMetaObject::activate (sender=0xc185a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffffda86b10) at kernel/qobject.cpp:3547
#12 0x00007fc577c33072 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#13 0x00007fc577c3325f in QAction::activate (this=0xc185a0, event=<optimized out>) at kernel/qaction.cpp:1257
#14 0x00007fc577c333cf in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183
#15 0x00007fc579237aaa in KAction::event (this=<optimized out>, event=0x7ffffda87130) at ../../kdeui/actions/kaction.cpp:131
#16 0x00007fc577c397b4 in notify_helper (e=0x7ffffda87130, receiver=0xc185a0, this=0x6bd880) at kernel/qapplication.cpp:4556
#17 QApplicationPrivate::notify_helper (this=0x6bd880, receiver=0xc185a0, e=0x7ffffda87130) at kernel/qapplication.cpp:4528
#18 0x00007fc577c3e583 in QApplication::notify (this=0x7ffffda885d0, receiver=0xc185a0, e=0x7ffffda87130) at kernel/qapplication.cpp:4417
#19 0x00007fc579321126 in KApplication::notify (this=0x7ffffda885d0, receiver=0xc185a0, event=0x7ffffda87130) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x00007fc5788b832c in QCoreApplication::notifyInternal (this=0x7ffffda885d0, receiver=0xc185a0, event=0x7ffffda87130) at kernel/qcoreapplication.cpp:915
#21 0x00007fc577c6b729 in sendEvent (event=0x7ffffda87130, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#22 QShortcutMap::dispatchEvent (this=<optimized out>, e=0x7ffffda876d0) at kernel/qshortcutmap.cpp:879
#23 0x00007fc577c6cbfa in QShortcutMap::tryShortcutEvent (this=0x6bd9a0, o=<optimized out>, e=0x7ffffda876d0) at kernel/qshortcutmap.cpp:364
#24 0x00007fc577c3fe02 in QApplication::notify (this=0x7ffffda885d0, receiver=0xbdc4a0, e=0x7ffffda876d0) at kernel/qapplication.cpp:3980
#25 0x00007fc579321126 in KApplication::notify (this=0x7ffffda885d0, receiver=0xbdc4a0, event=0x7ffffda876d0) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x00007fc5788b832c in QCoreApplication::notifyInternal (this=0x7ffffda885d0, receiver=0xbdc4a0, event=0x7ffffda876d0) at kernel/qcoreapplication.cpp:915
#27 0x00007fc577cddbc9 in QKeyMapper::sendKeyEvent (keyWidget=0xbdc4a0, grab=<optimized out>, type=QEvent::KeyPress, code=70, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=41, nativeVirtualKey=70, nativeModifiers=21) at kernel/qkeymapper_x11.cpp:1866
#28 0x00007fc577cde03b in QKeyMapperPrivate::translateKeyEvent (this=0x7022f0, keyWidget=0xbdc4a0, event=0x7ffffda881c0, grab=false) at kernel/qkeymapper_x11.cpp:1836
#29 0x00007fc577cb8557 in QApplication::x11ProcessEvent (this=0x7ffffda885d0, event=0x7ffffda881c0) at kernel/qapplication_x11.cpp:3625
#30 0x00007fc577ce2052 in x11EventSourceDispatch (s=0x6c5200, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#31 0x00007fc573cecd13 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fc573ced060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fc573ced124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fc5788e78bf in QEventDispatcherGlib::processEvents (this=0x60fad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#35 0x00007fc577ce1cde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007fc5788b6e62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007fc5788b70b7 in QEventLoop::exec (this=0x7ffffda88560, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007fc5788bc407 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#39 0x00007fc57a04622f in kdemain (argc=1, argv=0x7ffffda88828) at ../../src/main.cpp:86
#40 0x00007fc579c8f76d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=1, ubp_av=0x7ffffda88828, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffffda88818) at libc-start.c:226
#41 0x0000000000400661 in _start ()

Reported using DrKonqi
Comment 1 Kurt Hindenburg 2014-02-13 02:41:35 UTC
Looks like somehow _searchBar no longer exists

void SessionController::searchBarEvent()
{
    QString selectedText = _view->screenWindow()->selectedText(true, true);
    if (!selectedText.isEmpty())
        _searchBar->setSearchText(selectedText);

    if (_searchBar->isVisible()) {          <-- looks like crash here
        _searchBar->focusLineEdit();
    } else {
        searchHistory(true);
        _isSearchBarEnabled = true;
    }
}
Comment 2 Ahmad Samir 2018-02-19 06:23:20 UTC
KDE4/Konsole4 is no longer maintained. Reopen if you can still reproduce this issue with a current Konsole version.