Bug 264499 - konsole crash while closing a tab with searchbar activated
Summary: konsole crash while closing a tab with searchbar activated
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
: 213168 290754 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-01-27 16:35 UTC by Martin Koller
Modified: 2012-01-06 00:07 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (9.79 KB, text/plain)
2011-02-01 21:59 UTC, Bruno Bigras
Details
New crash information added by DrKonqi (10.48 KB, text/plain)
2011-02-06 00:09 UTC, Dima Ryazanov
Details
New crash information added by DrKonqi (9.39 KB, text/plain)
2011-05-27 15:02 UTC, Atis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Koller 2011-01-27 16:35:21 UTC
Application: konsole (2.6)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.1
Operating System: Linux 2.6.34.7-0.7-desktop i686
Distribution: "openSUSE 11.3 (i586)"

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

I had three tabs open and wanted to close one via CTRL-D -> crash

-- Backtrace:
Application: Konsole (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#7  0xb25f7994 in Konsole::TerminalDisplay::filterChain (this=0x0) at /usr/src/debug/kdebase-4.6.0/apps/konsole/src/TerminalDisplay.cpp:1262
#8  0xb25dcad0 in Konsole::SessionController::removeSearchFilter (this=0x825a4a0) at /usr/src/debug/kdebase-4.6.0/apps/konsole/src/SessionController.cpp:346
#9  0xb25e31b3 in Konsole::SessionController::setSearchBar (this=0x825a4a0, searchBar=0x0) at /usr/src/debug/kdebase-4.6.0/apps/konsole/src/SessionController.cpp:361
#10 0xb55c2afa in Konsole::MainWindow::disconnectController (this=0x815a8b0, controller=0x825a4a0) at /usr/src/debug/kdebase-4.6.0/apps/konsole/src/MainWindow.cpp:193
#11 0xb55c2c16 in Konsole::MainWindow::activeViewChanged (this=0x815a8b0, controller=0x8288410) at /usr/src/debug/kdebase-4.6.0/apps/konsole/src/MainWindow.cpp:205
#12 0xb55c5e8d in Konsole::MainWindow::qt_metacall (this=0x815a8b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbff137b8)
    at /usr/src/debug/kdebase-4.6.0/build/apps/konsole/src/MainWindow.moc:119
#13 0xb6e51e5d in QMetaObject::metacall (object=0x815a8b0, cl=QMetaObject::InvokeMetaMethod, idx=56, argv=0xbff137b8) at kernel/qmetaobject.cpp:237
#14 0xb6e61ffc in QMetaObject::activate (sender=0x81ff920, m=0xb263f890, local_signal_index=2, argv=0xbff137b8) at kernel/qobject.cpp:3272
#15 0xb2604af5 in Konsole::ViewManager::activeViewChanged (this=0x81ff920, _t1=0x8288410) at /usr/src/debug/kdebase-4.6.0/build/apps/konsole/src/ViewManager.moc:218
#16 0xb2604b79 in Konsole::ViewManager::controllerChanged (this=0x81ff920, controller=0x8288410) at /usr/src/debug/kdebase-4.6.0/apps/konsole/src/ViewManager.cpp:542
#17 0xb260914b in Konsole::ViewManager::qt_metacall (this=0x81ff920, _c=QMetaObject::InvokeMetaMethod, _id=38, _a=0xbff13938)
    at /usr/src/debug/kdebase-4.6.0/build/apps/konsole/src/ViewManager.moc:191
#18 0xb6e51e5d in QMetaObject::metacall (object=0x81ff920, cl=QMetaObject::InvokeMetaMethod, idx=42, argv=0xbff13938) at kernel/qmetaobject.cpp:237
#19 0xb6e61ffc in QMetaObject::activate (sender=0x8288410, m=0xb263ef70, local_signal_index=0, argv=0xbff13938) at kernel/qobject.cpp:3272
#20 0xb25dfaa5 in Konsole::SessionController::focused (this=0x8288410, _t1=0x8288410) at /usr/src/debug/kdebase-4.6.0/build/apps/konsole/src/SessionController.moc:203
#21 0xb25e442a in Konsole::SessionController::eventFilter (this=0x8288410, watched=0x82c6c28, event=0xbff13da0) at /usr/src/debug/kdebase-4.6.0/apps/konsole/src/SessionController.cpp:294
#22 0xb6e4b756 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x810b8d8, receiver=0x82c6c28, event=0xbff13da0) at kernel/qcoreapplication.cpp:847
#23 0xb63473e4 in QApplicationPrivate::notify_helper (this=0x810b8d8, receiver=0x82c6c28, e=0xbff13da0) at kernel/qapplication.cpp:4441
#24 0xb63501e4 in QApplication::notify (this=0xbff14dd4, receiver=0x82c6c28, e=0xbff13da0) at kernel/qapplication.cpp:4324
#25 0xb74b96c1 in KApplication::notify (this=0xbff14dd4, receiver=0x82c6c28, event=0xbff13da0) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#26 0xb6e4b5be in QCoreApplication::notifyInternal (this=0xbff14dd4, receiver=0x82c6c28, event=0xbff13da0) at kernel/qcoreapplication.cpp:732
#27 0xb6345c6f in sendEvent (focus=0x82c6c28, reason=Qt::OtherFocusReason) at ../../src/corelib/kernel/qcoreapplication.h:215
#28 QApplicationPrivate::setFocusWidget (focus=0x82c6c28, reason=Qt::OtherFocusReason) at kernel/qapplication.cpp:2231
#29 0xb639445b in QWidget::setFocus (this=0x82c6c28, reason=Qt::OtherFocusReason) at kernel/qwidget.cpp:6296
#30 0xb26044b3 in Konsole::ViewManager::viewActivated (this=0x81ff920, view=0x82c6c28) at /usr/src/debug/kdebase-4.6.0/apps/konsole/src/ViewManager.cpp:409
#31 0xb2609044 in Konsole::ViewManager::qt_metacall (this=0x81ff920, _c=QMetaObject::InvokeMetaMethod, _id=28, _a=0xbff13f88)
    at /usr/src/debug/kdebase-4.6.0/build/apps/konsole/src/ViewManager.moc:181
#32 0xb6e51e5d in QMetaObject::metacall (object=0x81ff920, cl=QMetaObject::InvokeMetaMethod, idx=32, argv=0xbff13f88) at kernel/qmetaobject.cpp:237
#33 0xb6e61ffc in QMetaObject::activate (sender=0x81c92a8, m=0xb263f4bc, local_signal_index=6, argv=0xbff13f88) at kernel/qobject.cpp:3272
#34 0xb2601815 in Konsole::ViewContainer::activeViewChanged (this=0x81c92a8, _t1=0x82c6c28) at /usr/src/debug/kdebase-4.6.0/build/apps/konsole/src/ViewContainer.moc:157
#35 0xb260187f in Konsole::TabbedViewContainer::currentTabChanged (this=0x81c92a8, index=0) at /usr/src/debug/kdebase-4.6.0/apps/konsole/src/ViewContainer.cpp:689
#36 0xb260342d in Konsole::TabbedViewContainer::qt_metacall (this=0x81c92a8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbff140c8)
    at /usr/src/debug/kdebase-4.6.0/build/apps/konsole/src/ViewContainer.moc:304
#37 0xb6e51e5d in QMetaObject::metacall (object=0x81c92a8, cl=QMetaObject::InvokeMetaMethod, idx=19, argv=0xbff140c8) at kernel/qmetaobject.cpp:237
#38 0xb6e61ffc in QMetaObject::activate (sender=0x819fe18, m=0xb6cb2f40, local_signal_index=0, argv=0xbff140c8) at kernel/qobject.cpp:3272
#39 0xb6824985 in QTabBar::currentChanged (this=0x819fe18, _t1=0) at .moc/release-shared/moc_qtabbar.cpp:201
#40 0xb6828662 in QTabBar::setCurrentIndex (this=0x819fe18, index=0) at widgets/qtabbar.cpp:1231
#41 0xb682b745 in QTabBar::removeTab (this=0x819fe18, index=1) at widgets/qtabbar.cpp:936
#42 0xb26011d9 in Konsole::TabbedViewContainer::removeViewWidget (this=0x81c92a8, view=0x82c0300) at /usr/src/debug/kdebase-4.6.0/apps/konsole/src/ViewContainer.cpp:747
#43 0xb26023f3 in Konsole::ViewContainer::viewDestroyed (this=0x81c92a8, object=0x82c0300) at /usr/src/debug/kdebase-4.6.0/apps/konsole/src/ViewContainer.cpp:167
#44 0xb26024c5 in Konsole::ViewContainer::qt_metacall (this=0x81c92a8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbff14318)
    at /usr/src/debug/kdebase-4.6.0/build/apps/konsole/src/ViewContainer.moc:103
#45 0xb2603322 in Konsole::TabbedViewContainer::qt_metacall (this=0x81c92a8, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbff14318)
    at /usr/src/debug/kdebase-4.6.0/build/apps/konsole/src/ViewContainer.moc:295
#46 0xb6e51e5d in QMetaObject::metacall (object=0x81c92a8, cl=QMetaObject::InvokeMetaMethod, idx=13, argv=0xbff14318) at kernel/qmetaobject.cpp:237
#47 0xb6e61ffc in QMetaObject::activate (sender=0x82c0300, m=0xb6f802b0, local_signal_index=0, argv=0xbff14318) at kernel/qobject.cpp:3272
#48 0xb6e62555 in QObject::destroyed (this=0x82c0300, _t1=0x82c0300) at .moc/release-shared/moc_qobject.cpp:149
#49 0xb6e63d8d in QObject::~QObject (this=0x82c0300, __in_chrg=<value optimized out>) at kernel/qobject.cpp:842
#50 0xb639d43c in QWidget::~QWidget (this=0x82c0300, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1477
#51 0xb25fab7f in Konsole::TerminalDisplay::~TerminalDisplay (this=0x82c0300, __in_chrg=<value optimized out>) at /usr/src/debug/kdebase-4.6.0/apps/konsole/src/TerminalDisplay.cpp:380
#52 0xb25fabc2 in Konsole::TerminalDisplay::~TerminalDisplay (this=0x82c0300, __in_chrg=<value optimized out>) at /usr/src/debug/kdebase-4.6.0/apps/konsole/src/TerminalDisplay.cpp:391
#53 0xb6e5e4a3 in qDeleteInEventHandler (o=0x82c0300) at kernel/qobject.cpp:3980
#54 0xb6e60ba8 in QObject::event (this=0x82c0300, e=0x82db3d8) at kernel/qobject.cpp:1194
#55 0xb63a229c in QWidget::event (this=0x82c0300, event=0x82db3d8) at kernel/qwidget.cpp:8659
#56 0xb25fa10b in Konsole::TerminalDisplay::event (this=0x82c0300, event=0x82db3d8) at /usr/src/debug/kdebase-4.6.0/apps/konsole/src/TerminalDisplay.cpp:2652
#57 0xb6347414 in QApplicationPrivate::notify_helper (this=0x810b8d8, receiver=0x82c0300, e=0x82db3d8) at kernel/qapplication.cpp:4445
#58 0xb63501e4 in QApplication::notify (this=0xbff14dd4, receiver=0x82c0300, e=0x82db3d8) at kernel/qapplication.cpp:4324
#59 0xb74b96c1 in KApplication::notify (this=0xbff14dd4, receiver=0x82c0300, event=0x82db3d8) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#60 0xb6e4b5be in QCoreApplication::notifyInternal (this=0xbff14dd4, receiver=0x82c0300, event=0x82db3d8) at kernel/qcoreapplication.cpp:732
#61 0xb6e4f34c in sendEvent (receiver=0x0, event_type=0, data=0x80582b0) at kernel/qcoreapplication.h:215
#62 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x80582b0) at kernel/qcoreapplication.cpp:1373
#63 0xb6e4f49c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#64 0xb6e79bd4 in sendPostedEvents (s=0x810e6a8) at kernel/qcoreapplication.h:220
#65 postEventSourceDispatch (s=0x810e6a8) at kernel/qeventdispatcher_glib.cpp:277
#66 0xb5aeab49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#67 0xb5aeb350 in ?? () from /usr/lib/libglib-2.0.so.0
#68 0xb5aeb60e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#69 0xb6e79d5b in QEventDispatcherGlib::processEvents (this=0x810b248, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#70 0xb63fd9aa in QGuiEventDispatcherGlib::processEvents (this=0x810b248, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#71 0xb6e4a89d in QEventLoop::processEvents (this=0xbff14d34, flags=...) at kernel/qeventloop.cpp:149
#72 0xb6e4aac9 in QEventLoop::exec (this=0xbff14d34, flags=...) at kernel/qeventloop.cpp:201
#73 0xb6e4f570 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#74 0xb6345114 in QApplication::exec () at kernel/qapplication.cpp:3719
#75 0xb55c864b in kdemain (argc=3, argv=0x80d23d8) at /usr/src/debug/kdebase-4.6.0/apps/konsole/src/main.cpp:77
#76 0x0804e521 in launch (argc=3, _name=0x80de2a4 "/usr/bin/konsole", args=<value optimized out>, cwd=0x0, envc=0, envs=<value optimized out>, reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x80525e3 "0") at /usr/src/debug/kdelibs-4.6.0/kinit/kinit.cpp:730
#77 0x0804f057 in handle_launcher_request (sock=8, who=<value optimized out>) at /usr/src/debug/kdelibs-4.6.0/kinit/kinit.cpp:1222
#78 0x0804f6fc in handle_requests (waitForPid=<value optimized out>) at /usr/src/debug/kdelibs-4.6.0/kinit/kinit.cpp:1415
#79 0x08050579 in main (argc=-1265777677, argv=0x26, envp=0x27bc8d00) at /usr/src/debug/kdelibs-4.6.0/kinit/kinit.cpp:1903

Possible duplicates by query: bug 213168.

Reported using DrKonqi
Comment 1 Bruno Bigras 2011-02-01 21:59:59 UTC
Created attachment 56762 [details]
New crash information added by DrKonqi

konsole (2.6) on KDE Platform 4.6.00 (4.6.0) using Qt 4.7.0

- What I was doing when the application crashed:

I closed a tab (I had two or three tabs open).

Kubuntu 10.10
Qt : 4.7.0
KDE : 4.6.00 (4.6.0) (form the backport ppa)

-- Backtrace (Reduced):
#6  Konsole::TerminalDisplay::filterChain (this=0x0) at ../../../../apps/konsole/src/TerminalDisplay.cpp:1262
#7  0x00007f09c01a80c6 in Konsole::SessionController::removeSearchFilter (this=0xe4c770) at ../../../../apps/konsole/src/SessionController.cpp:346
#8  0x00007f09c01aaaac in Konsole::SessionController::setSearchBar (this=0xe4c770, searchBar=0x0) at ../../../../apps/konsole/src/SessionController.cpp:361
#9  0x00007f09c07a0975 in Konsole::MainWindow::activeViewChanged (this=0x951c20, controller=0xe2a190) at ../../../../apps/konsole/src/MainWindow.cpp:205
#10 0x00007f09c07a3744 in Konsole::MainWindow::qt_metacall (this=0x951c20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0ab50690) at ./MainWindow.moc:119
Comment 2 Dima Ryazanov 2011-02-06 00:09:18 UTC
Created attachment 56906 [details]
New crash information added by DrKonqi

konsole (2.6) on KDE Platform 4.6.00 (4.6.0) using Qt 4.7.0

- What I was doing when the application crashed:

I was searching for some text, and had the search bar opened. Then I pressed Ctrl-D to close the tab.

-- Backtrace (Reduced):
#6  Konsole::TerminalDisplay::filterChain (this=0x0) at ../../../../apps/konsole/src/TerminalDisplay.cpp:1262
#7  0x00007f30107400c6 in Konsole::SessionController::removeSearchFilter (this=0x2499e20) at ../../../../apps/konsole/src/SessionController.cpp:346
#8  0x00007f3010742aac in Konsole::SessionController::setSearchBar (this=0x2499e20, searchBar=0x0) at ../../../../apps/konsole/src/SessionController.cpp:361
#9  0x00007f3010d38975 in Konsole::MainWindow::activeViewChanged (this=0x15101c0, controller=0x3053280) at ../../../../apps/konsole/src/MainWindow.cpp:205
#10 0x00007f3010d3b744 in Konsole::MainWindow::qt_metacall (this=0x15101c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff499f8100) at ./MainWindow.moc:119
Comment 3 Kurt Hindenburg 2011-03-03 20:29:04 UTC
I can where in the code the issue is.  However, I can't reproduce.  What steps exactly will cause the crash?  How many tabs open?  search bars open? etc...
Comment 4 Martin Koller 2011-03-03 20:47:04 UTC
Easy to reproduce: open konsole, open search bar. Open another tab, open search bar, close second tab -> crash
Comment 5 Atis 2011-05-27 15:02:03 UTC
Created attachment 60380 [details]
New crash information added by DrKonqi

konsole (2.5.4) on KDE Platform 4.5.5 (KDE 4.5.5) using Qt 4.7.0

- What I was doing when the application crashed:

Open Konsole, open second tab. Press Ctrl+Shift+F in order to activate seaarch, enter some text on search bar. Click away from search bar (into terminal) and press Ctrl+D

-- Backtrace (Reduced):
#6  Konsole::TerminalDisplay::filterChain (this=0x0) at ../../../../apps/konsole/src/TerminalDisplay.cpp:1259
#7  0x00007f06e140c1b6 in Konsole::SessionController::removeSearchFilter (this=0x188f2d00) at ../../../../apps/konsole/src/SessionController.cpp:345
#8  0x00007f06e140eb9c in Konsole::SessionController::setSearchBar (this=0x188f2d00, searchBar=0x0) at ../../../../apps/konsole/src/SessionController.cpp:360
#9  0x00007f06e1a04a25 in Konsole::MainWindow::activeViewChanged (this=0x2496b30, controller=0x18983980) at ../../../../apps/konsole/src/MainWindow.cpp:198
#10 0x00007f06e1a07644 in Konsole::MainWindow::qt_metacall (this=0x2496b30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff40e2120) at ./MainWindow.moc:117
Comment 6 Jekyll Wu 2011-08-15 12:17:59 UTC
*** Bug 213168 has been marked as a duplicate of this bug. ***
Comment 7 Jekyll Wu 2011-08-15 12:31:18 UTC
Can't reproduce it in KDE-4.7.0, by following the steps in comment #4 and #5.
Comment 8 Francesco Cecconi 2011-09-12 21:31:35 UTC
Can't reproduce it with KDE 4.6.5 and qt 4.7.3. Step #4 and #5
Comment 9 Martin Koller 2011-09-13 04:40:37 UTC
can't reproduce either anymore with 4.6.5. Closing
Comment 10 Jekyll Wu 2012-01-06 00:07:48 UTC
*** Bug 290754 has been marked as a duplicate of this bug. ***