Version: (using KDE 4.1.3) OS: Linux Installed from: Ubuntu Packages Hi, when I'm in the Summary View, and use the keyboard shortcut to switch to the calendar view, Kontact crashes. When being on the Mail view, no crash happens. Here are the debugging symbols: Application: Kontact (kontact), signal SIGSEGV [Thread debugging using libthread_db enabled] [New Thread 0x7f16acb706f0 (LWP 13887)] [KCrash handler] #5 0x00007f1693530d21 in ?? () from /usr/lib/libkorganizerprivate.so.4 #6 0x00007f16aaa33114 in QWidget::event () from /usr/lib/libQtGui.so.4 #7 0x00007f16aa9e0c3d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #8 0x00007f16aa9e89ba in QApplication::notify () from /usr/lib/libQtGui.so.4 #9 0x00007f16abd26fcb in KApplication::notify () from /usr/lib/libkdeui.so.5 #10 0x00007f16ac6aad61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #11 0x00007f16aaa31b4f in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #12 0x00007f16aaa32232 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #13 0x00007f16aaa31808 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #14 0x00007f16aaa32232 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #15 0x00007f16aaa31808 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #16 0x00007f16aaa32232 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #17 0x00007f16aaa31808 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #18 0x00007f16aaa32232 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #19 0x00007f16aaa3215b in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #20 0x00007f16aaa31808 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #21 0x00007f16aaa32232 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #22 0x00007f16aaa3215b in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #23 0x00007f16aaa3215b in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #24 0x00007f16aaa3215b in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #25 0x00007f16aaa31808 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #26 0x00007f16aaa32232 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #27 0x00007f16aaa31808 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #28 0x00007f16aaa32232 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #29 0x00007f16aaa31808 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #30 0x00007f16aaa32232 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #31 0x00007f16aaa31808 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #32 0x00007f16aaa32232 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #33 0x00007f16aaa3215b in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #34 0x00007f16aaa31808 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #35 0x00007f16aaa32232 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #36 0x00007f16aaa31808 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #37 0x00007f16aaa32232 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #38 0x00007f16aaa31808 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #39 0x00007f16aaa32232 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #40 0x00007f16aaa31808 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #41 0x00007f16aaa32232 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #42 0x00007f16aaa3215b in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #43 0x00007f16aaa31808 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #44 0x00007f16aaa32232 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #45 0x00007f16aaa31808 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #46 0x00007f16aaa32232 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #47 0x00007f16aaa3215b in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #48 0x00007f16aaa3215b in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #49 0x00007f16aaa3215b in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #50 0x00007f16aaa3215b in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #51 0x00007f16aaa31808 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #52 0x00007f16aab8b664 in ?? () from /usr/lib/libQtGui.so.4 #53 0x00007f16aab8bb17 in ?? () from /usr/lib/libQtGui.so.4 #54 0x00007f16aaa32f35 in QWidget::event () from /usr/lib/libQtGui.so.4 #55 0x00007f16aad4bafb in QMainWindow::event () from /usr/lib/libQtGui.so.4 #56 0x00007f16abe1f458 in KXmlGuiWindow::event () from /usr/lib/libkdeui.so.5 #57 0x00007f16aa9e0c3d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #58 0x00007f16aa9e89ba in QApplication::notify () from /usr/lib/libQtGui.so.4 #59 0x00007f16abd26fcb in KApplication::notify () from /usr/lib/libkdeui.so.5 #60 0x00007f16ac6aad61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #61 0x00007f16ac6ab9fa in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4 #62 0x00007f16ac6d34d3 in ?? () from /usr/lib/libQtCore.so.4 #63 0x00007f16a98e5d3b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #64 0x00007f16a98e950d in ?? () from /usr/lib/libglib-2.0.so.0 #65 0x00007f16a98e96cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #66 0x00007f16ac6d315f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 #67 0x00007f16aaa72a6f in ?? () from /usr/lib/libQtGui.so.4 #68 0x00007f16ac6a9682 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #69 0x00007f16ac6a980d in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #70 0x00007f16ac6abcbd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4 #71 0x00000000004048e5 in _start () #0 0x00007f16aa23f5f0 in nanosleep () from /lib/libc.so.6
I experienced, that when I set my Kontact-shortcuts to default, everything is working fine. (however I didn't changed the shortcut to switch to the calendar view to reproduce the previous bug) Maybe this might be due to the switch from kde3 to kde4 ??? Another issue is that when I set my own shortcuts to switch the view, they don't work... Seems to be a bizare bug...
> use the keyboard shortcut to switch to the calendar view, Kontact crashes. Which shortcut exactly ? Ctrl-4 ? I'm able to make Kontact crash but not with this shortcut (and with a different backtrace, I don't think this one is related). If you're able to reproduce the crash, can you please install the debug packages for kdepim and kdepimlibs and paste a better backtrace ? More informations on this page : http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
This looks a bit like bug 174065, but that one is happening in KMail, and only in the new KDE 4.2 version. However, the qt-copy patch might help here as well.
Created attachment 29376 [details] Backtrace of the bug
OK, I reproduce the bug, doing this: Start Kontact Settings -> Configure Shortcuts -> Defaults -> OK Click on Summary View Ctrl-Shift-6 to switch to the calendar view (i need the Shift to use the numbers on a belgian/french keyboard) Then it crashes By the way, all the other shortcuts are working properly. If I want, that it doesn't crashes, I first have to switch to one of the two views just beside the calendar view (Ctrl-Shift-7 or 5) and always going back to the summary view (clicking, or using Ctrl-Shift-9) In kontact, I use the modules KMail, Kaddressbook, Korganizer, Akregator, Kjots and the Popup Notes
Any news about this? I still have the problem in KDE4.2 beta 2 (from the ubuntu packages)
> Any news about this? I'm unable to reproduce this crash. As mentioned by Thomas, your backtrace looks familiar and may be caused by a bug in Qt4. We have a patch is the version used for KDE development but it's up to your distro to add it to your Qt packages. Also, what is the modules order in your Kontact sidebar ? from top to bottom it should be : Summary / Mail / Contacts / Calendar / To-do List / Feeds / (others) The calendar view shouldn't be mapped to ctrl-6 but ctrl-4
I can now always reproduce this by switching from summary to calendar using the sidebar. The Qt patch doesn't help here.
*** This bug has been marked as a duplicate of bug 158129 ***