Version: 4.0.3 (using KDE 4.0.3) Installed from: Ubuntu Packages Konqueror crashes when I switch between tabs using the keyboard shortcut <crtl> + <tab>. How to reproduce: * Open two tabs * Push <crtl> + <tab> * Konqueror crashes
I can reproduce this on trunk r808613. Backtrace: Application: Konqueror (konqueror), signal SIGSEGV Using host libthread_db library "/lib64/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 47922334455664 (LWP 9860)] [New Thread 1082132816 (LWP 9871)] [KCrash handler] #5 0x00002b95c63219fa in QLayout::d_func (this=0x0) at ../../include/QtGui/../../src/gui/kernel/qlayout.h:94 #6 0x00002b95c631d714 in QLayout::setSizeConstraint (this=0x0, constraint=QLayout::SetFixedSize) at kernel/qlayout.cpp:1318 #7 0x00002b95c28505ac in KMessageBox::createKMessageBox (dialog=0x1885b00, icon=@0x7fffe987e890, text=@0x7fffe987ed00, strlist=@0x7fffe987eb60, ask=@0x7fffe987ea40, checkboxReturn=0x7fffe987e91f, options=@0x7fffe987e880, details=@0x7fffe987ea20, notifyType=QMessageBox::Warning) at /home/george/kde/src/KDE/kdelibs/kdeui/dialogs/kmessagebox.cpp:250 #8 0x00002b95c2850d06 in KMessageBox::createKMessageBox (dialog=0x1885b00, icon=QMessageBox::Warning, text=@0x7fffe987ed00, strlist=@0x7fffe987eb60, ask=@0x7fffe987ea40, checkboxReturn=0x7fffe987e91f, options=@0x7fffe987ea30, details=@0x7fffe987ea20) at /home/george/kde/src/KDE/kdelibs/kdeui/dialogs/kmessagebox.cpp:152 #9 0x00002b95c285236c in KMessageBox::warningYesNoCancelListWId ( parent_id=67108865, text=@0x7fffe987ed00, strlist=@0x7fffe987eb60, caption=@0x7fffe987ecf0, buttonYes_=@0x7fffe987ece0, buttonNo_=@0x7fffe987ec90, buttonCancel_=@0x7fffe987ec80, dontAskAgainName=@0x7fffe987ec70, options=@0x7fffe987eae0) at /home/george/kde/src/KDE/kdelibs/kdeui/dialogs/kmessagebox.cpp:756 #10 0x00002b95c28524a5 in KMessageBox::warningYesNoCancelList ( parent=0x730900, text=@0x7fffe987ed00, strlist=@0x7fffe987eb60, caption=@0x7fffe987ecf0, buttonYes=@0x7fffe987ece0, buttonNo=@0x7fffe987ec90, buttonCancel=@0x7fffe987ec80, dontAskAgainName=@0x7fffe987ec70, options=@0x7fffe987eb50) at /home/george/kde/src/KDE/kdelibs/kdeui/dialogs/kmessagebox.cpp:711 #11 0x00002b95c2852528 in KMessageBox::warningYesNoCancel (parent=0x730900, text=@0x7fffe987ed00, caption=@0x7fffe987ecf0, buttonYes=@0x7fffe987ece0, buttonNo=@0x7fffe987ec90, buttonCancel=@0x7fffe987ec80, dontAskAgainName=@0x7fffe987ec70, options=@0x7fffe987ec60) at /home/george/kde/src/KDE/kdelibs/kdeui/dialogs/kmessagebox.cpp:686 #12 0x00002b95c14c483a in KonqMainWindow::closeEvent (this=0x730900, e=0x7fffe987f9c0) at /home/george/kde/src/KDE/kdebase/apps/konqueror/src/konqmainwindow.cpp:4946 #13 0x00002b95c6347a6c in QWidget::event (this=0x730900, event=0x7fffe987f9c0) at kernel/qwidget.cpp:7077 #14 0x00002b95c66ace8c in QMainWindow::event (this=0x730900, event=0x7fffe987f9c0) at widgets/qmainwindow.cpp:1252 #15 0x00002b95c297c820 in KMainWindow::event (this=0x730900, ev=0x7fffe987f9c0) at /home/george/kde/src/KDE/kdelibs/kdeui/widgets/kmainwindow.cpp:1002 #16 0x00002b95c29b6b17 in KXmlGuiWindow::event (this=0x730900, ev=0x7fffe987f9c0) at /home/george/kde/src/KDE/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:122 #17 0x00002b95c14b2a3a in KonqMainWindow::event (this=0x730900, e=0x7fffe987f9c0) at /home/george/kde/src/KDE/kdebase/apps/konqueror/src/konqmainwindow.cpp:5583 #18 0x00002b95c62edda7 in QApplicationPrivate::notify_helper (this=0x61cf60, receiver=0x730900, e=0x7fffe987f9c0) at kernel/qapplication.cpp:3772 #19 0x00002b95c62efa11 in QApplication::notify (this=0x7fffe9881fa0, receiver=0x730900, e=0x7fffe987f9c0) at kernel/qapplication.cpp:3739 #20 0x00002b95c28c6d16 in KApplication::notify (this=0x7fffe9881fa0, receiver=0x730900, event=0x7fffe987f9c0) at /home/george/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311 #21 0x00002b95c5744a26 in QCoreApplication::notifyInternal ( this=0x7fffe9881fa0, receiver=0x730900, event=0x7fffe987f9c0) at kernel/qcoreapplication.cpp:583 #22 0x00002b95c5748451 in QCoreApplication::sendEvent (receiver=0x730900, event=0x7fffe987f9c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #23 0x00002b95c6345410 in QWidgetPrivate::close_helper (this=0x732380, mode=QWidgetPrivate::CloseWithEvent) at kernel/qwidget.cpp:6502 #24 0x00002b95c6345654 in QWidget::close (this=0x730900) at kernel/qwidget.cpp:6571 #25 0x00002b95c634bd50 in QWidget::qt_metacall (this=) at .moc/debug-shared/moc_qwidget.cpp:199 #26 0x00002b95c68cc532 in QMainWindow::qt_metacall (this=0x730900, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0x7fffe987ffc0) at .moc/debug-shared/moc_qmainwindow.cpp:99 #27 0x00002b95c297a9b0 in KMainWindow::qt_metacall (this=0x730900, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0x7fffe987ffc0) at /home/george/kde/build/KDE/kdelibs/kdeui/kmainwindow.moc:81 #28 0x00002b95c29b5ee0 in KXmlGuiWindow::qt_metacall (this=0x730900, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0x7fffe987ffc0) at /home/george/kde/build/KDE/kdelibs/kdeui/kxmlguiwindow.moc:93 #29 0x00002b95c1bb8105 in KParts::MainWindow::qt_metacall (this=0x730900, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0x7fffe987ffc0) at /home/george/kde/build/KDE/kdelibs/kparts/mainwindow.moc:68 #30 0x00002b95c14d29f1 in KonqMainWindow::qt_metacall (this=0x730900, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0x7fffe987ffc0) at /home/george/kde/build/KDE/kdebase/apps/konqueror/src/konqmainwindow.moc:308 #31 0x00002b95c57593ab in QMetaObject::activate (sender=0x783200, from_signal_index=5, to_signal_index=6, argv=0x7fffe987ffc0) at kernel/qobject.cpp:3007 #32 0x00002b95c57595bd in QMetaObject::activate (sender=0x783200, m=0x2b95c6cc7100, from_local_signal_index=1, to_local_signal_index=2, argv=0x7fffe987ffc0) at kernel/qobject.cpp:3100 #33 0x00002b95c62e6617 in QAction::triggered (this=0x783200, _t1=false) at .moc/debug-shared/moc_qaction.cpp:216 #34 0x00002b95c62e8054 in QAction::activate (this=0x783200, event=QAction::Trigger) at kernel/qaction.cpp:1119 #35 0x00002b95c62e81b3 in QAction::event (this=0x783200, e=0x7fffe9880760) at kernel/qaction.cpp:1038 #36 0x00002b95c6351966 in QWidgetAction::event (this=0x783200, event=0x7fffe9880760) at kernel/qwidgetaction.cpp:239 #37 0x00002b95c62edda7 in QApplicationPrivate::notify_helper (this=0x61cf60, receiver=0x783200, e=0x7fffe9880760) at kernel/qapplication.cpp:3772 #38 0x00002b95c62ee0c9 in QApplication::notify (this=0x7fffe9881fa0, receiver=0x783200, e=0x7fffe9880760) at kernel/qapplication.cpp:3366 #39 0x00002b95c28c6d16 in KApplication::notify (this=0x7fffe9881fa0, receiver=0x783200, event=0x7fffe9880760) at /home/george/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311 #40 0x00002b95c5744a26 in QCoreApplication::notifyInternal ( this=0x7fffe9881fa0, receiver=0x783200, event=0x7fffe9880760) at kernel/qcoreapplication.cpp:583 #41 0x00002b95c5748451 in QCoreApplication::sendEvent (receiver=0x783200, event=0x7fffe9880760) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #42 0x00002b95c632ac24 in QShortcutMap::dispatchEvent (this=0x61d070, e=0x7fffe9880e90) at kernel/qshortcutmap.cpp:768 #43 0x00002b95c632bb57 in QShortcutMap::tryShortcutEvent (this=0x61d070, w=0x14bfd30, e=0x7fffe9880e90) at kernel/qshortcutmap.cpp:365 #44 0x00002b95c62ee338 in QApplication::notify (this=0x7fffe9881fa0, receiver=0x14bfd30, e=0x7fffe9880e90) at kernel/qapplication.cpp:3403 #45 0x00002b95c28c6d16 in KApplication::notify (this=0x7fffe9881fa0, receiver=0x14bfd30, event=0x7fffe9880e90) at /home/george/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311 #46 0x00002b95c5744a26 in QCoreApplication::notifyInternal ( this=0x7fffe9881fa0, receiver=0x14bfd30, event=0x7fffe9880e90) at kernel/qcoreapplication.cpp:583 #47 0x00002b95c62f9ec1 in QCoreApplication::sendSpontaneousEvent ( receiver=0x14bfd30, event=0x7fffe9880e90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #48 0x00002b95c6353f95 in qt_sendSpontaneousEvent (receiver=0x14bfd30, event=0x7fffe9880e90) at kernel/qapplication_x11.cpp:4680 #49 0x00002b95c638b7ce in QKeyMapper::sendKeyEvent (keyWidget=0x14bfd30, grab=false, type=QEvent::KeyPress, code=81, modifiers=@0x7fffe98813c0, text=@0x7fffe9881350, autorepeat=false, count=1, nativeScanCode=24, nativeVirtualKey=113, nativeModifiers=20) at kernel/qkeymapper_x11.cpp:1656 #50 0x00002b95c638cb7e in QKeyMapperPrivate::translateKeyEvent ( this=0x654510, keyWidget=0x14bfd30, event=0x7fffe9881af0, grab=false) at kernel/qkeymapper_x11.cpp:1627 #51 0x00002b95c6363ce4 in QApplication::x11ProcessEvent (this=0x7fffe9881fa0, event=0x7fffe9881af0) at kernel/qapplication_x11.cpp:3148 #52 0x00002b95c638f327 in x11EventSourceDispatch (s=0x620680, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148 #53 0x00002b95c8d7fe92 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #54 0x00002b95c8d83146 in ?? () from /usr/lib64/libglib-2.0.so.0 #55 0x00002b95c8d835df in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #56 0x00002b95c5772b8c in QEventDispatcherGlib::processEvents (this=0x618980, flags=@0x7fffe9881d90) at kernel/qeventdispatcher_glib.cpp:325 #57 0x00002b95c638eb6f in QGuiEventDispatcherGlib::processEvents ( this=0x618980, flags=@0x7fffe9881df0) at kernel/qguieventdispatcher_glib.cpp:204 #58 0x00002b95c5741b54 in QEventLoop::processEvents (this=0x7fffe9881ea0, flags=@0x7fffe9881e50) at kernel/qeventloop.cpp:149 #59 0x00002b95c5741d50 in QEventLoop::exec (this=0x7fffe9881ea0, flags=@0x7fffe9881eb0) at kernel/qeventloop.cpp:196 #60 0x00002b95c5745270 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845 #61 0x00002b95c62edb08 in QApplication::exec () at kernel/qapplication.cpp:3304 #62 0x00002b95c14fd3c3 in kdemain (argc=1, argv=0x7fffe9882b38) at /home/george/kde/src/KDE/kdebase/apps/konqueror/src/konqmain.cpp:232 #63 0x00000000004008a3 in main (argc=1, argv=0x7fffe9882b38) at /home/george/kde/build/KDE/kdebase/apps/konqueror/src/konqueror_dummy.cpp:3 #0 0x00002b95c7b9d091 in nanosleep () from /lib64/libc.so.6
Are you using kwin4?
When I found the bug I was using konqueror in the gnome desktop environment. I will try to reproduce it tomorrow in the KDE environment.
thanks Henrik
@FiNeX: I reproduced this issue within KDE4 (with kwin4 running), However, this is about switching tabs within konqueror using Ctrl+Tab, so I cannot see how kwin has anything to do with it.
I've asked because CTRL+Tab is usually binded to the "switch desktop" which is a window manager function. :-)
The bug is there when konqueror is active in a KDE environment. I checked if the <crtl> + <tab> shortcut was set in Settings -> Configure Shortcuts. It was not. If I set the shortcut for "Activate Next Tab" to <crtl> + <tab> it works as expected (the next tab is shown). If the shortcut is set back to the default value <crtl> + ], konqueror will crash when I push <crtl> + <tab>. Maybe <crtl> + <tab> is hardcoded somewhere in konqueror?
*** This bug has been marked as a duplicate of bug 163778 ***