Bug 79699 - KMail crash after copying mail from disconnected IMAP shared folder to local folder
Summary: KMail crash after copying mail from disconnected IMAP shared folder to local ...
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: disconnected IMAP (show other bugs)
Version: 1.6.51
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-15 15:31 UTC by Tobias Larsson
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Larsson 2004-04-15 15:31:25 UTC
Version:           1.6.51 (using KDE 3.2.1, compiled sources)
Compiler:          gcc version 3.3.1 (SuSE Linux)
OS:          Linux (i686) release 2.4.21-192-default

Actions:
* Gave a user permission to read mails in a sub-folder to my inbox (disconnected IMAP)
* The user copies a message from my sub-folder to his sent-mail folder
When the sent-mail folder is opened, KMail crashes. When trying to reproduce this, the view switched to KOrganizer instead.

Backtrace:
[New Thread 16384 (LWP 27149)]
0x41680a86 in waitpid () from /lib/i686/libpthread.so.0
#0  0x41680a86 in waitpid () from /lib/i686/libpthread.so.0
#1  0x40a7a541 in KCrash::defaultCrashHandler(int) (sig=11) at kcrash.cpp:246
#2  0x4167f96c in __pthread_sighandler () from /lib/i686/libpthread.so.0
#3  <signal handler called>
#4  0x41f9b815 in KMFolder::count(bool) const (this=0x832af70, cache=false)
    at kmfolder.cpp:352
#5  0x420df3a3 in KMailICalIfaceImpl::incidences(QString const&) (
    this=0x81e8f28, type=@0xbfffd8c0) at kmailicalifaceimpl.cpp:171
#6  0x42110d54 in KMailICalIface::process(QCString const&, QMemArray<char> const&, QCString&, QMemArray<char>&) (this=0x81e8f74, fun=@0xbfffdb10, 
    data=@0xbfffdb60, replyType=@0xbfffdb40, replyData=@0xbfffdb50)
    at kmailicalIface_skel.cpp:58
#7  0x40b54dff in DCOPClient::receive(QCString const&, QCString const&, QCString const&, QMemArray<char> const&, QCString&, QMemArray<char>&) (this=0x81535c8, 
    objId=@0xbfffdb00, fun=@0xbfffdb10, data=@0xbfffdb60, 
    replyType=@0xbfffdb40, replyData=@0xbfffdb50) at dcopclient.cpp:1602
#8  0x40b5540f in DCOPClient::call(QCString const&, QCString const&, QCString const&, QMemArray<char> const&, QCString&, QMemArray<char>&, bool, int) (
    this=0x809c3d0, remApp=@0xbfffdaf0, remObjId=@0xbfffdb00, 
    remFun=@0xbfffdb10, data=@0xbfffdb60, replyType=@0xbfffdb40, 
    replyData=@0xbfffdb50, useEventLoop=false, timeout=-1)
    at dcopclient.cpp:1710
#9  0x40b5535a in DCOPClient::call(QCString const&, QCString const&, QCString const&, QMemArray<char> const&, QCString&, QMemArray<char>&, bool) (
    this=0x809c3d0, remApp=@0xbfffdaf0, remObjId=@0xbfffdb00, 
    remFun=@0xbfffdb10, data=@0xbfffdb60, replyType=@0xbfffdb40, 
    replyData=@0xbfffdb50, useEventLoop=false) at dcopclient.cpp:1692
#10 0x42cfb228 in KMailICalIface_stub::incidences(QString const&) (
    this=0x84a9cc0, arg0=@0xbfffdcd0) at kmailicalIface_stub.cpp:94
#11 0x42cf9566 in ResourceIMAPBase::KMailConnection::kmailIncidences(QStringList&, QString const&) (this=0x84a8118, lst=@0xbfffdce0, type=@0xbfffdcd0)
    at kmailconnection.cpp:122
#12 0x42cf8a13 in ResourceIMAPBase::ResourceIMAPShared::kmailIncidences(QStringList&, QString const&) (this=0x84a8014, lst=@0xbfffdce0, type=@0xbfffdcd0)
    at resourceimapshared.cpp:45
#13 0x42cf56c0 in KCal::ResourceIMAP::getIncidenceList(QStringList&, QString const&) (this=0x84a7fe0, lst=@0xbfffdce0, type=@0xbfffdcd0) at resourceimap.cpp:84
#14 0x42cf5887 in KCal::ResourceIMAP::loadAllEvents() (this=0x84a7fe0)
    at resourceimap.cpp:111
#15 0x42cf57e5 in KCal::ResourceIMAP::load() (this=0x84a7fe0)
    at resourceimap.cpp:104
#16 0x41c94d37 in KCal::CalendarResources::load() (this=0x849e120)
    at calendarresources.cpp:128
#17 0x42ba1de8 in KOCore::calendarResources() (this=0x846b568)
    at kocore.cpp:322
#18 0x42bae53f in ActionManager::createCalendarResources() (this=0x849def0)
    at actionmanager.cpp:160
#19 0x42a384e3 in KOrganizerPart (this=0x846c4b8, parentWidget=0x8144e10, 
    widgetName=0x0, parent=0x8144e10, name=0x4011ebe2 "kontact")
    at korganizer_part.cpp:87
#20 0x42a3a177 in KDEPrivate::ConcreteFactory<KOrganizerPart, QObject>::create(QWidget*, char const*, QObject*, char const*, QStringList const&, KDEPrivate::Type2Type<KParts::Part>) (parentWidget=0x8144e10, widgetName=0x0, 
    parent=0x8144e10, name=0x4011ebe2 "kontact", args=@0xbfffe160)
    at kgenericfactory.tcc:146
#21 0x42a3a111 in KDEPrivate::ConcreteFactory<KOrganizerPart, QObject>::create(QWidget*, char const*, QObject*, char const*, char const*, QStringList const&) (
    parentWidget=0x8144e10, widgetName=0x0, parent=0x8144e10, 
    name=0x4011ebe2 "kontact", className=0x4016a7a5 "KParts::ReadOnlyPart", 
    args=@0xbfffe160) at kgenericfactory.tcc:132
#22 0x42a3a02b in KParts::GenericFactory<KOrganizerPart>::createPartObject(QWidget*, char const*, QObject*, char const*, char const*, QStringList const&) (
    this=0x8325608, parentWidget=0x8144e10, widgetName=0x0, parent=0x8144e10, 
    name=0x4011ebe2 "kontact", className=0x4016a7a5 "KParts::ReadOnlyPart", 
    args=@0xbfffe160) at genericfactory.h:105
#23 0x40163e7c in KParts::Factory::createPart(QWidget*, char const*, QObject*, char const*, char const*, QStringList const&) (this=0x8325608, 
    parentWidget=0x8144e10, widgetName=0x0, parent=0x8144e10, 
    name=0x4011ebe2 "kontact", classname=0x4016a7a5 "KParts::ReadOnlyPart", 
    args=@0xbfffe160) at factory.cpp:44
#24 0x4011a44b in createPartInstanceFromFactory<KParts::ReadOnlyPart> (
    factory=0x8325608, parentWidget=0x8144e10, widgetName=0x0, 
    parent=0x8144e10, name=0x4011ebe2 "kontact", args=@0xbfffe160)
    at componentfactory.h:99
#25 0x4011a3ce in createPartInstanceFromLibrary<KParts::ReadOnlyPart> (
    libraryName=0x81700a8 "libkorganizerpart", parentWidget=0x8144e10, 
    widgetName=0x0, parent=0x8144e10, name=0x4011ebe2 "kontact", 
    args=@0xbfffe160, error=0x0) at componentfactory.h:186
#26 0x40119d8c in Kontact::Core::createPart(char const*) (this=0x8144e10, 
    libname=0x81700a8 "libkorganizerpart") at core.cpp:56
#27 0x4011c571 in Kontact::Plugin::loadPart() (this=0x8190140)
    at plugin.cpp:119
#28 0x41d12dd2 in TodoPlugin::createPart() (this=0x8190140)
    at todoplugin.cpp:75
#29 0x4011c6dd in Kontact::Plugin::part() (this=0x8190140) at plugin.cpp:141
#30 0x41d13083 in TodoPlugin::createDCOPInterface(QString const&) (
    this=0x8190140, serviceType=@0xbfffe340) at todoplugin.cpp:114
#31 0x0806084a in Kontact::MainWindow::startServiceFor(QString const&, QString const&, QString const&, QString*, QCString*, int) (this=0x8144e10, 
    serviceType=@0xbfffe340, constraint=@0x807037c, preferences=@0x807037c, 
    error=0xbfffe3a0, dcopService=0xbfffe390, flags=0) at mainwindow.cpp:578
#32 0x41fb1b17 in connectToKOrganizer () at kmgroupware.cpp:389
#33 0x41fb0b8f in KMGroupware::vPartToHTML(QString const&) (this=0x81cd0a0, 
    iCal=@0xbfffe450) at kmgroupware.cpp:154
#34 0x4208b00a in KMail::ObjectTreeParser::processTextVCalSubtype(partNode*, KMail::ProcessResult&) (this=0xbfffe5b0, curNode=0x83a19a8, result=@0xbfffe4a0)
    at objecttreeparser.cpp:833
#35 0x4208c337 in KMail::ObjectTreeParser::processMultiPartMixedSubtype(partNode*, KMail::ProcessResult&) (this=0xbfffe5b0, node=0x83ff8a0)
    at objecttreeparser.cpp:1049
#36 0x42095512 in (anonymous namespace)::MultiPartMixedBodyPartFormatter::process(KMail::ObjectTreeParser*, partNode*, KMail::ProcessResult&) const (
    this=0x83eb350, otp=0xbfffe5b0, node=0x83ff8a0, result=@0xbfffe540)
    at bodypartformatter.cpp:109
#37 0x42088384 in KMail::ObjectTreeParser::parseObjectTree(partNode*) (
    this=0xbfffe5b0, node=0x83ff8a0) at objecttreeparser.cpp:244
#38 0x41fa7f2a in KMReaderWin::parseMsg(KMMessage*) (this=0x82274a0, 
    aMsg=0x8329d60) at kmreaderwin.cpp:1120
#39 0x41fa785e in KMReaderWin::displayMessage() (this=0x82274a0)
    at kmreaderwin.cpp:1055
#40 0x41fa735f in KMReaderWin::updateReaderWin() (this=0x82274a0)
    at kmreaderwin.cpp:997
#41 0x41facd08 in KMReaderWin::qt_invoke(int, QUObject*) (this=0x82274a0, 
    _id=47, _o=0xbfffe8f0) at kmreaderwin.moc:265
#42 0x40edff37 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x8227550, clist=0x824ad48, o=0xbfffe8f0) at kernel/qobject.cpp:2356
#43 0x40edfdd6 in QObject::activate_signal(int) (this=0x8227550, signal=2)
    at kernel/qobject.cpp:2325
#44 0x4123755a in QTimer::timeout() (this=0x8227550)
    at .moc/debug-shared-mt/moc_qtimer.cpp:82
#45 0x40f04a0f in QTimer::event(QEvent*) (this=0x8227550, e=0xbfffeb30)
    at kernel/qtimer.cpp:219
#46 0x40e7d5bb in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbfffedc0, receiver=0x8227550, e=0xbfffeb30)
    at kernel/qapplication.cpp:2618
#47 0x40e7ca78 in QApplication::notify(QObject*, QEvent*) (this=0xbfffedc0, 
    receiver=0x8227550, e=0xbfffeb30) at kernel/qapplication.cpp:2341
#48 0x409fd691 in KApplication::notify(QObject*, QEvent*) (this=0xbfffedc0, 
    receiver=0x8227550, event=0xbfffeb30) at kapplication.cpp:507
#49 0x40159669 in QApplication::sendEvent(QObject*, QEvent*) (
    receiver=0x8227550, event=0xbfffeb30) at qapplication.h:491
#50 0x40e6b886 in QEventLoop::activateTimers() (this=0x81083b8)
    at kernel/qeventloop_unix.cpp:558
#51 0x40e25670 in QEventLoop::processEvents(unsigned) (this=0x81083b8, flags=4)
    at kernel/qeventloop_x11.cpp:389
#52 0x40e91772 in QEventLoop::enterLoop() (this=0x81083b8)
    at kernel/qeventloop.cpp:198
#53 0x40e9168e in QEventLoop::exec() (this=0x81083b8)
    at kernel/qeventloop.cpp:145
#54 0x40e7d73b in QApplication::exec() (this=0xbfffedc0)
    at kernel/qapplication.cpp:2741
#55 0x0805c8c3 in main (argc=1, argv=0xbfffef64) at main.cpp:157
Comment 1 Carsten Burghardt 2004-07-11 15:17:57 UTC
Shouldn't happen with kdepim 3.3 anymore.