Bug 167830 - IMAP folder subscription: Crashes and not all folders shown
Summary: IMAP folder subscription: Crashes and not all folders shown
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: 1.10.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 238597 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-31 12:09 UTC by Jakob Lund
Modified: 2012-08-19 10:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
backtrace (7.01 KB, text/plain)
2008-08-01 19:13 UTC, Jakob Lund
Details
screenshot (434.27 KB, image/png)
2008-08-01 19:19 UTC, Jakob Lund
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakob Lund 2008-07-31 12:09:05 UTC
Version:           1.10.0 (using KDE 4.1.0)
Installed from:    Ubuntu Packages
OS:                Linux

Kmail (kde4) crashes when I try to select folders for subscription. Further, the list of available folders, in the subscrition UI, is incomplete (currently showing only folders starting with '.g' (Like .gconf etc.. Is this a conspiracy perhaps?) )
Comment 1 Thomas McGuire 2008-08-01 00:11:15 UTC
I can't reproduce this, it shows more folders for me and it doesn't crash.
Please provide a backtrace for the crash, see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports.

Which IMAP server are you using?

Comment 2 Jakob Lund 2008-08-01 19:13:44 UTC
Created attachment 26553 [details]
backtrace

There are a few 'no debugging symbols found' at the top. I installed
kdelibs-dbg-kde4 and kdepim-dbg-kde4, should I load more dbg-packages?
Comment 3 Jakob Lund 2008-08-01 19:19:53 UTC
Created attachment 26554 [details]
screenshot

This is what happens:
When I click 'subscriptions', the dialog comes up, folder list empty. After a
while (~ 1min) the label reads '744 matching', and the list is populated -- by
a single, *blank but expandable* entry. Expanding it yields the attached
picture.

If I type in the filter box, the list gets populated (by matches). Pressing
backspace while typing in the box leads to the crash.
Comment 4 Jakob Lund 2008-08-01 20:53:13 UTC
The SERVER I'm connecting to is at university: mailhost.imada.sdu.dk. I have no idea what software or even operating system it runs (probably linux, but could be solaris or even windows). I think it broadcasts my entire home folder (NFS share) at that place, over IMAP.

Btw I finally got it working, by typing something (without deleting any characters) in the filter field and selecting the folder I want (which is just my inbox). I suppose this would have been easier if I had an idea of how IMAP works, or is supposed to work, bu t I'm a complete NERD when it comes to email; I always find id *ridiculously* complicated to set up, and I wish there was software that made it easier.

Why doesn't KMail just import the settings from the KDE3 version automatically, that would have saved me a lot of time.
Comment 5 Thomas McGuire 2008-08-02 12:10:31 UTC
Hmm, the backtrace confirms what you say, crashing when clearing the filter.
The backtrace is missing debug symbols of Qt and KMail, but I don't think this is important here.
I still can't reproduce it though, probably depends on the folder structure, my folders don't seem to trigger this.

Application: Kontact (kontact), signal SIGSEGV
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb4df2940 (LWP 15551)]
[KCrash handler]
#6  0xb7ebcc33 in KPIM::KSubscription::restoreOriginalParent ()
   from /usr/lib/kde4/lib/libkdepim.so.4
#7  0xb7ebd34e in KPIM::KSubscription::slotFilterTextChanged ()
   from /usr/lib/kde4/lib/libkdepim.so.4
#8  0xb7ec04c9 in KPIM::KSubscription::qt_metacall ()
   from /usr/lib/kde4/lib/libkdepim.so.4
#9  0xb1cce8ba in ?? () from /usr/lib/kde4/lib/libkmailprivate.so.4
#10 0xb77ff4f9 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#11 0xb77ffbc2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#12 0xb72551b3 in QLineEdit::textChanged () from /usr/lib/libQtGui.so.4
#13 0xb7259cfb in ?? () from /usr/lib/libQtGui.so.4
#14 0xb725b073 in QLineEdit::backspace () from /usr/lib/libQtGui.so.4
#15 0xb725c9d5 in QLineEdit::keyPressEvent () from /usr/lib/libQtGui.so.4
#16 0xb7d387c0 in KLineEdit::keyPressEvent (this=0x8a9dc10, e=0xbfe7b1a4)
    at /build/buildd/kde4libs-4.1.0/kdeui/widgets/klineedit.cpp:875
#17 0xb6f126f4 in QWidget::event () from /usr/lib/libQtGui.so.4
#18 0xb725d10f in QLineEdit::event () from /usr/lib/libQtGui.so.4
#19 0xb7d359ca in KLineEdit::event (this=0x8a9dc10, ev=0xbfe7b1a4)
    at /build/buildd/kde4libs-4.1.0/kdeui/widgets/klineedit.cpp:1296
#20 0xb6ebac0c in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#21 0xb6ebfaec in QApplication::notify () from /usr/lib/libQtGui.so.4
#22 0xb7c86ef3 in KApplication::notify (this=0xbfe7db88, receiver=0x8a9dc10, 
    event=0xbfe7b1a4)
    at /build/buildd/kde4libs-4.1.0/kdeui/kernel/kapplication.cpp:311
#23 0xb77ea6a9 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#24 0xb6f1622e in ?? () from /usr/lib/libQtGui.so.4
#25 0xb6f4aeeb in ?? () from /usr/lib/libQtGui.so.4
#26 0xb6f4cfce in ?? () from /usr/lib/libQtGui.so.4
#27 0xb6f254e5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#28 0xb6f4e3ba in ?? () from /usr/lib/libQtGui.so.4
#29 0xb56a3dd6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0xb56a7193 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0xb56a774e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0xb7815f98 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#33 0xb6f4e1b5 in ?? () from /usr/lib/libQtGui.so.4
#34 0xb77e992d in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#35 0xb77e9abd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#36 0xb732131a in QDialog::exec () from /usr/lib/libQtGui.so.4
#37 0xb1c96864 in KMMainWidget::slotSubscriptionDialog ()
   from /usr/lib/kde4/lib/libkmailprivate.so.4
#38 0xb1cb3ab8 in KMMainWidget::qt_metacall ()
   from /usr/lib/kde4/lib/libkmailprivate.so.4
#39 0xb77ff4f9 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#40 0xb77ff930 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#41 0xb6eb3dd1 in QAction::triggered () from /usr/lib/libQtGui.so.4
#42 0xb6eb479f in QAction::activate () from /usr/lib/libQtGui.so.4
#43 0xb728fed1 in ?? () from /usr/lib/libQtGui.so.4
#44 0xb7292734 in QMenu::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#45 0xb7d41059 in KMenu::mouseReleaseEvent (this=0x8741878, e=0xbfe7c38c)
    at /build/buildd/kde4libs-4.1.0/kdeui/widgets/kmenu.cpp:452
#46 0xb6f124a4 in QWidget::event () from /usr/lib/libQtGui.so.4
#47 0xb728d845 in QMenu::event () from /usr/lib/libQtGui.so.4
#48 0xb6ebac0c in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#49 0xb6ebfcd5 in QApplication::notify () from /usr/lib/libQtGui.so.4
#50 0xb7c86ef3 in KApplication::notify (this=0xbfe7db88, receiver=0x8741878, 
    event=0xbfe7c38c)
    at /build/buildd/kde4libs-4.1.0/kdeui/kernel/kapplication.cpp:311
#51 0xb77ea6a9 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#52 0xb6ebce21 in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#53 0xb6f26f0c in ?? () from /usr/lib/libQtGui.so.4
#54 0xb6f256b1 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#55 0xb6f4e3ba in ?? () from /usr/lib/libQtGui.so.4
#56 0xb56a3dd6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#57 0xb56a7193 in ?? () from /usr/lib/libglib-2.0.so.0
#58 0xb56a774e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#59 0xb7815f98 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#60 0xb6f4e1b5 in ?? () from /usr/lib/libQtGui.so.4
#61 0xb77e992d in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#62 0xb77e9abd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#63 0xb72929b7 in QMenu::exec () from /usr/lib/libQtGui.so.4
#64 0xb1aaee13 in ?? () from /usr/lib/kde4/lib/libkmailprivate.so.4
#65 0xb1ab0b32 in ?? () from /usr/lib/kde4/lib/libkmailprivate.so.4
#66 0xb77ff4f9 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#67 0xb77ffbc2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#68 0xb628d28f in Q3ListView::contextMenuRequested ()
   from /usr/lib/libQt3Support.so.4
#69 0xb6129a5c in Q3ListView::contentsContextMenuEvent ()
   from /usr/lib/libQt3Support.so.4
#70 0xb5ae8b1c in K3ListView::contentsContextMenuEvent (this=0x80a09e8, 
    event=0xbfe7ce70)
    at /build/buildd/kde4libs-4.1.0/kde3support/kdeui/k3listview.cpp:1283
#71 0xb6187574 in Q3ScrollView::viewportContextMenuEvent ()
   from /usr/lib/libQt3Support.so.4
#72 0xb618926c in Q3ScrollView::eventFilter ()
   from /usr/lib/libQt3Support.so.4
#73 0xb612c936 in Q3ListView::eventFilter () from /usr/lib/libQt3Support.so.4
#74 0xb1aa8a60 in ?? () from /usr/lib/kde4/lib/libkmailprivate.so.4
#75 0xb77eaa21 in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
   from /usr/lib/libQtCore.so.4
#76 0xb6ebabe3 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#77 0xb6ec000e in QApplication::notify () from /usr/lib/libQtGui.so.4
#78 0xb7c86ef3 in KApplication::notify (this=0xbfe7db88, receiver=0x80a1110, 
    event=0xbfe7d3e4)
    at /build/buildd/kde4libs-4.1.0/kdeui/kernel/kapplication.cpp:311
#79 0xb77ea6a9 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#80 0xb6f27448 in ?? () from /usr/lib/libQtGui.so.4
#81 0xb6f256b1 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#82 0xb6f4e3ba in ?? () from /usr/lib/libQtGui.so.4
#83 0xb56a3dd6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#84 0xb56a7193 in ?? () from /usr/lib/libglib-2.0.so.0
#85 0xb56a774e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#86 0xb7815f98 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#87 0xb6f4e1b5 in ?? () from /usr/lib/libQtGui.so.4
#88 0xb77e992d in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#89 0xb77e9abd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#90 0xb77ebd3d in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#91 0xb6eba567 in QApplication::exec () from /usr/lib/libQtGui.so.4
#92 0x0804b326 in _start ()
#0  0xb7f3b410 in __kernel_vsyscall ()
Comment 6 Nicolas L. 2010-08-17 11:38:04 UTC
#6  0xb7ebcc33 in KPIM::KSubscription::restoreOriginalParent ()
   from /usr/lib/kde4/lib/libkdepim.so.4
#7  0xb7ebd34e in KPIM::KSubscription::slotFilterTextChanged ()
   from /usr/lib/kde4/lib/libkdepim.so.4
#8  0xb7ec04c9 in KPIM::KSubscription::qt_metacall ()
   from /usr/lib/kde4/lib/libkdepim.so.4


Please install the debuginfo packages for qt and kdepim and paste a new backtrace on this bugreport
Comment 7 Nicolas L. 2010-08-19 10:53:15 UTC
reopening the backtrace seems enough ( but if you can add more debugs this can be useful ) 

thank you
Comment 8 Christophe Marin 2011-02-14 17:05:55 UTC
*** Bug 238597 has been marked as a duplicate of this bug. ***
Comment 9 Myriam Schweingruber 2012-08-19 10:57:55 UTC
Thank you for your report. Kmail1 is currently unmaintained and the code has changed sufficiently in Kmail2 so the backtraces are not really useful anymore. Should you experience the same crash in Kmail 4.8.5 or later, please open a new report for Kmail2. Thank you for your understanding