Bug 170191 - crash enabling the groupware IMAP resource functionality
Summary: crash enabling the groupware IMAP resource functionality
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: 1.10.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
: 204030 214345 218348 223120 228093 236511 237389 263039 263396 265911 269005 269068 272134 277718 278583 288352 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-01 15:14 UTC by George Kiagiadakis
Modified: 2012-08-19 11:02 UTC (History)
16 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.45 KB, text/plain)
2011-09-15 21:47 UTC, Serge BRIELLE
Details

Note You need to log in before you can comment on or make changes to this bug.
Description George Kiagiadakis 2008-09-01 15:14:43 UTC
Version:           1.10.0 (using Devel)
Compiler:          gcc version 4.3.1 (Debian 4.3.1-9)
 
OS:                Linux
Installed from:    Compiled sources

This is with kmail trunk svn  r854573.

To reproduce:
1) Open the configuration dialog, in page "misc", "groupware" tab.
2) Enable the IMAP resource functionality and select a DIMAP inbox.
3) Click OK. KMail crashes with the following backtrace:

Application: KMail (kmail), signal SIGSEGV
0x00007fec63def0e1 in nanosleep () from /lib/libc.so.6

Thread 1 (Thread 0x7fec67834780 (LWP 8193)):
[KCrash Handler]
#5  0x00007fec650716ac in subresourceLabelForPresentation (folder=0x228a100) at /home/gkiagia/kde/src/KDE/kdepim/kmail/kmailicalifaceimpl.cpp:692
#6  0x00007fec65072281 in KMailICalIfaceImpl::folderContentsTypeChanged (this=0x1a5fb30, folder=0x228a100, contentsType=KMail::ContentsTypeCalendar)
    at /home/gkiagia/kde/src/KDE/kdepim/kmail/kmailicalifaceimpl.cpp:1442
#7  0x00007fec64e02dd1 in KMFolder::slotContentsTypeChanged (this=0x228a100, type=KMail::ContentsTypeCalendar) at /home/gkiagia/kde/src/KDE/kdepim/kmail/kmfolder.cpp:899
#8  0x00007fec64e030e1 in KMFolder::qt_metacall (this=0x228a100, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0x7fff6f974950) at /home/gkiagia/kde/build/KDE/kdepim/kmail/kmfolder.moc:129
#9  0x00007fec6591eb84 in QMetaObject::activate (sender=0x2348c30, from_signal_index=11, to_signal_index=11, argv=0x7fff6f974950) at kernel/qobject.cpp:3013
#10 0x00007fec6591eff9 in QMetaObject::activate (sender=0x2348c30, m=0x7fec6556ea20, local_signal_index=7, argv=0x7fff6f974950) at kernel/qobject.cpp:3086
#11 0x00007fec64e31474 in FolderStorage::contentsTypeChanged (this=0x2348c30, _t1=KMail::ContentsTypeCalendar) at /home/gkiagia/kde/build/KDE/kdepim/kmail/folderstorage.moc:199
#12 0x00007fec64e314b5 in FolderStorage::setContentsType (this=0x2348c30, type=KMail::ContentsTypeCalendar, quiet=false) at /home/gkiagia/kde/src/KDE/kdepim/kmail/folderstorage.cpp:1141
#13 0x00007fec6506f231 in KMailICalIfaceImpl::initFolder (this=0x1a5fb30, contentsType=KMail::ContentsTypeCalendar) at /home/gkiagia/kde/src/KDE/kdepim/kmail/kmailicalifaceimpl.cpp:2000
#14 0x00007fec650732f8 in KMailICalIfaceImpl::readConfig (this=0x1a5fb30) at /home/gkiagia/kde/src/KDE/kdepim/kmail/kmailicalifaceimpl.cpp:1782
#15 0x00007fec6507a071 in KMailICalIfaceImpl::qt_metacall (this=0x1a5fb30, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff6f9756a0)
    at /home/gkiagia/kde/build/KDE/kdepim/kmail/kmailicalifaceimpl.moc:108
#16 0x00007fec6591eb84 in QMetaObject::activate (sender=0x7fff6f977bd0, from_signal_index=5, to_signal_index=5, argv=0x0) at kernel/qobject.cpp:3013
#17 0x00007fec6591eff9 in QMetaObject::activate (sender=0x7fff6f977bd0, m=0x7fec65575480, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3086
#18 0x00007fec64f34f00 in KMKernel::configChanged (this=0x7fff6f977bd0) at /home/gkiagia/kde/build/KDE/kdepim/kmail/kmkernel.moc:246
#19 0x00007fec64f3a31e in KMKernel::slotConfigChanged (this=0x7fff6f977bd0) at /home/gkiagia/kde/src/KDE/kdepim/kmail/kmkernel.cpp:1915
#20 0x00007fec64f46ab2 in KMKernel::qt_metacall (this=0x7fff6f977bd0, _c=QMetaObject::InvokeMetaMethod, _id=41, _a=0x7fff6f9759c0) at /home/gkiagia/kde/build/KDE/kdepim/kmail/kmkernel.moc:226
#21 0x00007fec6591eb84 in QMetaObject::activate (sender=0x21dc330, from_signal_index=73, to_signal_index=73, argv=0x0) at kernel/qobject.cpp:3013
#22 0x00007fec6591eff9 in QMetaObject::activate (sender=0x21dc330, m=0x7fec5f2a2360, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3086
#23 0x00007fec5f06d340 in KCMultiDialog::configCommitted (this=0x21dc330) at /home/gkiagia/kde/build/KDE/kdelibs/kutils/kcmultidialog.moc:101
#24 0x00007fec5f06da94 in KCMultiDialogPrivate::apply (this=0x2038d90) at /home/gkiagia/kde/src/KDE/kdelibs/kutils/kcmultidialog.cpp:212
#25 0x00007fec5f06db0f in KCMultiDialog::slotApplyClicked (this=0x21dc330) at /home/gkiagia/kde/src/KDE/kdelibs/kutils/kcmultidialog.cpp:219
#26 0x00007fec5f06f16e in KCMultiDialog::qt_metacall (this=0x21dc330, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff6f975ca0) at /home/gkiagia/kde/build/KDE/kdelibs/kutils/kcmultidialog.moc:86
#27 0x00007fec64d33af1 in ConfigureDialog::qt_metacall (this=0x21dc330, _c=QMetaObject::InvokeMetaMethod, _id=77, _a=0x7fff6f975ca0) at /home/gkiagia/kde/build/KDE/kdepim/kmail/configuredialog.moc:67
#28 0x00007fec6591eb84 in QMetaObject::activate (sender=0x21dc330, from_signal_index=42, to_signal_index=42, argv=0x0) at kernel/qobject.cpp:3013
#29 0x00007fec6591eff9 in QMetaObject::activate (sender=0x21dc330, m=0x7fec66481b80, local_signal_index=7, argv=0x0) at kernel/qobject.cpp:3086
#30 0x00007fec660039fa in KDialog::applyClicked (this=0x21dc330) at /home/gkiagia/kde/build/KDE/kdelibs/kdeui/kdialog.moc:235
#31 0x00007fec66004d37 in KDialog::slotButtonClicked (this=0x21dc330, button=8) at /home/gkiagia/kde/src/KDE/kdelibs/kdeui/dialogs/kdialog.cpp:848
#32 0x00007fec66006f20 in KDialog::qt_metacall (this=0x21dc330, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0x7fff6f975fd0) at /home/gkiagia/kde/build/KDE/kdelibs/kdeui/kdialog.moc:181
#33 0x00007fec660bee77 in KPageDialog::qt_metacall (this=0x21dc330, _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0x7fff6f975fd0) at /home/gkiagia/kde/build/KDE/kdelibs/kdeui/kpagedialog.moc:63
#34 0x00007fec5f06f0d8 in KCMultiDialog::qt_metacall (this=0x21dc330, _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0x7fff6f975fd0) at /home/gkiagia/kde/build/KDE/kdelibs/kutils/kcmultidialog.moc:77
#35 0x00007fec64d33af1 in ConfigureDialog::qt_metacall (this=0x21dc330, _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0x7fff6f975fd0) at /home/gkiagia/kde/build/KDE/kdepim/kmail/configuredialog.moc:67
#36 0x00007fec6591eb84 in QMetaObject::activate (sender=0x2038e18, from_signal_index=4, to_signal_index=4, argv=0x7fff6f975fd0) at kernel/qobject.cpp:3013
#37 0x00007fec6591eff9 in QMetaObject::activate (sender=0x2038e18, m=0x7fec65c066a0, local_signal_index=0, argv=0x7fff6f975fd0) at kernel/qobject.cpp:3086
#38 0x00007fec659251ae in QSignalMapper::mapped (this=0x2038e18, _t1=8) at .moc/debug-shared/moc_qsignalmapper.cpp:93
#39 0x00007fec6592525a in QSignalMapper::map (this=0x2038e18, sender=0x209a5a0) at kernel/qsignalmapper.cpp:277
#40 0x00007fec65925333 in QSignalMapper::map (this=0x2038e18) at kernel/qsignalmapper.cpp:268
#41 0x00007fec6592548b in QSignalMapper::qt_metacall (this=0x2038e18, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff6f9761b0) at .moc/debug-shared/moc_qsignalmapper.cpp:80
#42 0x00007fec6591eb84 in QMetaObject::activate (sender=0x209a5a0, from_signal_index=29, to_signal_index=30, argv=0x7fff6f9761b0) at kernel/qobject.cpp:3013
#43 0x00007fec6591edab in QMetaObject::activate (sender=0x209a5a0, m=0x7fec67063580, from_local_signal_index=2, to_local_signal_index=3, argv=0x7fff6f9761b0) at kernel/qobject.cpp:3106
#44 0x00007fec66c4db43 in QAbstractButton::clicked (this=0x209a5a0, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:185
#45 0x00007fec669d1811 in QAbstractButtonPrivate::emitClicked (this=0x20cfa80) at widgets/qabstractbutton.cpp:544
#46 0x00007fec669d29e3 in QAbstractButtonPrivate::click (this=0x20cfa80) at widgets/qabstractbutton.cpp:537
#47 0x00007fec669d2c5a in QAbstractButton::mouseReleaseEvent (this=0x209a5a0, e=0x7fff6f976cb0) at widgets/qabstractbutton.cpp:1116
#48 0x00007fec666dad45 in QWidget::event (this=0x209a5a0, event=0x7fff6f976cb0) at kernel/qwidget.cpp:7021
#49 0x00007fec669d17bc in QAbstractButton::event (this=0x209a5a0, e=0x7fff6f976cb0) at widgets/qabstractbutton.cpp:1078
#50 0x00007fec66a76a42 in QPushButton::event (this=0x209a5a0, e=0x7fff6f976cb0) at widgets/qpushbutton.cpp:658
#51 0x00007fec6668371d in QApplicationPrivate::notify_helper (this=0x19bf560, receiver=0x209a5a0, e=0x7fff6f976cb0) at kernel/qapplication.cpp:3800
#52 0x00007fec66684309 in QApplication::notify (this=0x7fff6f977d20, receiver=0x209a5a0, e=0x7fff6f976cb0) at kernel/qapplication.cpp:3527
#53 0x00007fec66091152 in KApplication::notify (this=0x7fff6f977d20, receiver=0x209a5a0, event=0x7fff6f976cb0) at /home/gkiagia/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#54 0x00007fec6590a707 in QCoreApplication::notifyInternal (this=0x7fff6f977d20, receiver=0x209a5a0, event=0x7fff6f976cb0) at kernel/qcoreapplication.cpp:587
#55 0x00007fec6668f863 in QCoreApplication::sendSpontaneousEvent (receiver=0x209a5a0, event=0x7fff6f976cb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#56 0x00007fec66687fb9 in QApplicationPrivate::sendMouseEvent (receiver=0x209a5a0, event=0x7fff6f976cb0, alienWidget=0x209a5a0, nativeWidget=0x21dc330, buttonDown=0x7fec6707d628, 
    lastMouseReceiver=@0x7fec6707d630) at kernel/qapplication.cpp:2792
#57 0x00007fec666f84f3 in QETWidget::translateMouseEvent (this=0x21dc330, event=0x7fff6f977780) at kernel/qapplication_x11.cpp:4048
#58 0x00007fec666f9323 in QApplication::x11ProcessEvent (this=0x7fff6f977d20, event=0x7fff6f977780) at kernel/qapplication_x11.cpp:3044
#59 0x00007fec66722c56 in x11EventSourceDispatch (s=0x19c2cd0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#60 0x00007fec61506892 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#61 0x00007fec6150a01d in ?? () from /usr/lib/libglib-2.0.so.0
#62 0x00007fec6150a1db in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#63 0x00007fec6593733e in QEventDispatcherGlib::processEvents (this=0x19b2520, flags={i = 1872198208}) at kernel/qeventdispatcher_glib.cpp:325
#64 0x00007fec6672247b in QGuiEventDispatcherGlib::processEvents (this=0x19b2520, flags={i = 1872198304}) at kernel/qguieventdispatcher_glib.cpp:204
#65 0x00007fec6590796b in QEventLoop::processEvents (this=0x7fff6f977b50, flags={i = 1872198400}) at kernel/qeventloop.cpp:149
#66 0x00007fec65907b66 in QEventLoop::exec (this=0x7fff6f977b50, flags={i = 1872198496}) at kernel/qeventloop.cpp:196
#67 0x00007fec6590af6c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:849
#68 0x00007fec6668347a in QApplication::exec () at kernel/qapplication.cpp:3330
#69 0x0000000000403cf1 in main (argc=1, argv=0x7fff6f977ea8) at /home/gkiagia/kde/src/KDE/kdepim/kmail/main.cpp:146
Comment 1 Ruchir Brahmbhatt 2009-04-16 12:23:17 UTC
Can't reproduce on 1.11.2.
Comment 2 Christophe Marin 2009-11-14 15:54:42 UTC
*** Bug 204030 has been marked as a duplicate of this bug. ***
Comment 3 Christophe Marin 2009-11-14 15:54:51 UTC
*** Bug 214345 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2009-12-12 23:26:24 UTC
*** Bug 218348 has been marked as a duplicate of this bug. ***
Comment 5 mark.oliver.schmitt 2009-12-13 02:39:23 UTC
I ran into the same problem on Version 1.12.2 (on Ubuntu). See stack trace in https://bugs.kde.org/show_bug.cgi?id=218348
Have no experience in kde development, sorry, can't help out. Hope you guys will get to the bottom of it.
Comment 6 mark.oliver.schmitt 2009-12-13 02:41:32 UTC
(In reply to comment #5)
> I ran into the same problem on Version 1.12.2 (on Ubuntu). See stack trace in
> https://bugs.kde.org/show_bug.cgi?id=218348
> Have no experience in kde development, sorry, can't help out. Hope you guys
> will get to the bottom of it.

I forgot to mention, deleting ~/.kde/share/apps/kmail removes some of the kmail config. It's able to start (was crashing on start) and my emailaccounts are still there, though some settings seem lost (like favourites), but that doesn't bother me. Am just glad I didn't have to set up all my email accounts anew... :)
Comment 7 mark.oliver.schmitt 2009-12-13 02:41:33 UTC
(In reply to comment #5)
> I ran into the same problem on Version 1.12.2 (on Ubuntu). See stack trace in
> https://bugs.kde.org/show_bug.cgi?id=218348
> Have no experience in kde development, sorry, can't help out. Hope you guys
> will get to the bottom of it.

I forgot to mention, deleting ~/.kde/share/apps/kmail removes some of the kmail config. It's able to start (was crashing on start) and my emailaccounts are still there, though some settings seem lost (like favourites), but that doesn't bother me. Am just glad I didn't have to set up all my email accounts anew... :)
Comment 8 Dario Andres 2010-01-18 22:04:30 UTC
*** Bug 223120 has been marked as a duplicate of this bug. ***
Comment 9 Jonathan Thomas 2010-05-27 20:35:00 UTC
*** Bug 228093 has been marked as a duplicate of this bug. ***
Comment 10 Jonathan Thomas 2010-05-27 20:35:22 UTC
*** Bug 236511 has been marked as a duplicate of this bug. ***
Comment 11 Jonathan Thomas 2010-05-27 20:36:07 UTC
*** Bug 237389 has been marked as a duplicate of this bug. ***
Comment 12 Christophe Marin 2011-01-13 17:23:54 UTC
*** Bug 263039 has been marked as a duplicate of this bug. ***
Comment 13 Christophe Marin 2011-01-17 18:14:03 UTC
*** Bug 263396 has been marked as a duplicate of this bug. ***
Comment 14 Christophe Marin 2011-02-14 11:14:29 UTC
*** Bug 265911 has been marked as a duplicate of this bug. ***
Comment 15 Christophe Marin 2011-03-21 12:17:57 UTC
*** Bug 269005 has been marked as a duplicate of this bug. ***
Comment 16 Christophe Marin 2011-04-24 14:07:07 UTC
*** Bug 269068 has been marked as a duplicate of this bug. ***
Comment 17 Christophe Marin 2011-05-01 12:40:04 UTC
*** Bug 272134 has been marked as a duplicate of this bug. ***
Comment 18 Christophe Marin 2011-07-13 20:02:09 UTC
*** Bug 277718 has been marked as a duplicate of this bug. ***
Comment 19 Christophe Marin 2011-08-02 20:34:42 UTC
*** Bug 278583 has been marked as a duplicate of this bug. ***
Comment 20 Serge BRIELLE 2011-09-15 21:47:41 UTC
Created attachment 63677 [details]
New crash information added by DrKonqi

kontact (4.4.10) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:

Trying to launch
after changing config for IMAP

-- Backtrace (Reduced):
#6  0x00007fd583a28279 in KMailICalIfaceImpl::readConfig (this=0x176ad20) at ../../kmail/kmailicalifaceimpl.cpp:1785
#7  0x00007fd58391ffa2 in KMKernel::setupDBus (this=0x15300e0) at ../../kmail/kmkernel.cpp:227
#8  0x00007fd583f1f105 in KMailPart::KMailPart (this=0x142ced0, parentWidget=0x107a150, parent=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../kmail/kmail_part.cpp:83
#9  0x00007fd583f203ef in KPluginFactory::createPartInstance<KMailPart> (parentWidget=0x107a150, parent=0x107a150, args=...) at /usr/include/kpluginfactory.h:479
#10 0x00007fd5a8f215a9 in KPluginFactory::create (this=0x14598d0, iface=0x7fd5a7fc51c0 "KParts::ReadOnlyPart", parentWidget=0x107a150, parent=0x107a150, args=..., keyword=<value optimized out>) at ../../kdecore/util/kpluginfactory.cpp:203
Comment 21 Christophe Marin 2011-12-06 20:18:13 UTC
*** Bug 288352 has been marked as a duplicate of this bug. ***
Comment 22 Myriam Schweingruber 2012-08-19 11:02:47 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