Bug 164967 - Crash when renaming a newly created IMAP subfolder
Summary: Crash when renaming a newly created IMAP subfolder
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: 1.10.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-25 22:05 UTC by Vasu Muppalla
Modified: 2008-07-13 21:49 UTC (History)
1 user (show)

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 Vasu Muppalla 2008-06-25 22:05:48 UTC
Version:            (using KDE 4.0.83)
Installed from:    SuSE RPMs
Compiler:          opensuse 11, KDE 4.1 beta2 from factory 
OS:                Linux

Creating a subfolder works fine. But any attempt to rename the folder on the server crashed kmail. Upon restarting kmail, it is observed that the rename has taken place.
Comment 1 FiNeX 2008-06-26 00:57:00 UTC
Could you provide a backtrace please?

If you can reproduce the crash, you should install the debug enabled packages before providing the backtrace. Read this page for the instructions:

http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

Thanks
Comment 2 Christophe Marin 2008-06-26 11:37:20 UTC
BT (kdepim rev. 824543) : 

Application: Kontact (kontact), signal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0xb4f74720 (LWP 10379)]
[KCrash handler]
#6  0xb7f7c430 in __kernel_vsyscall ()
#7  0xb54fa5e0 in raise () from /lib/i686/cmov/libc.so.6
#8  0xb54fbfb8 in abort () from /lib/i686/cmov/libc.so.6
#9  0xb1662e66 in KMFolderImap::close (this=0xa52a8d8, 
    owner=0xb1896e30 "countunread", aForced=false)
    at /media/kde/src/KDE/kdepim/kmail/kmfolderimap.cpp:118
#10 0xb15ca1ff in FolderStorage::countUnread (this=0xa52a8d8)
    at /media/kde/src/KDE/kdepim/kmail/folderstorage.cpp:853
#11 0xb15a9f27 in KMFolder::countUnread (this=0xa52a6b8)
    at /media/kde/src/KDE/kdepim/kmail/kmfolder.cpp:473
#12 0xb1543765 in KMFolderTree::slotUpdateCounts (this=0xa66d868, 
    folder=0xa52a6b8) at /media/kde/src/KDE/kdepim/kmail/kmfoldertree.cpp:1678
#13 0xb1548cbc in KMFolderTree::reload (this=0xa66d868, openFolders=false)
    at /media/kde/src/KDE/kdepim/kmail/kmfoldertree.cpp:627
#14 0xb153d82c in KMFolderTree::doFolderListChanged (this=0xa66d868)
    at /media/kde/src/KDE/kdepim/kmail/kmfoldertree.cpp:794
#15 0xb1547870 in KMFolderTree::qt_metacall (this=0xa66d868, 
    _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0xbfa97074)
    at /media/kde/build/KDE/kdepim/kmail/kmfoldertree.moc:261
#16 0xb6b0f88c in QMetaObject::activate (sender=0xa43d448, 
    from_signal_index=4, to_signal_index=4, argv=0x0)
    at kernel/qobject.cpp:3007
#17 0xb6b0fd19 in QMetaObject::activate (sender=0xa43d448, m=0xb19b18c8, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3080
#18 0xb15ece17 in KMFolderMgr::changed (this=0xa43d448)
    at /media/kde/build/KDE/kdepim/kmail/kmfoldermgr.moc:112
#19 0xb16615cd in KMFolderImap::rename (this=0xa52a8d8, newName=@0xb75ed1c, 
    aParent=0x0) at /media/kde/src/KDE/kdepim/kmail/kmfolderimap.cpp:337
#20 0xb17e6568 in KMail::RenameJob::slotRenameResult (this=0xb75ece8, 
    job=0xb7b8a80) at /media/kde/src/KDE/kdepim/kmail/renamejob.cpp:181
#21 0xb17e6647 in KMail::RenameJob::qt_metacall (this=0xb75ece8, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfa9726c)
    at /media/kde/build/KDE/kdepim/kmail/renamejob.moc:73
#22 0xb6b0f88c in QMetaObject::activate (sender=0xb7b8a80, 
    from_signal_index=7, to_signal_index=7, argv=0xbfa9726c)
    at kernel/qobject.cpp:3007
#23 0xb6b0fd19 in QMetaObject::activate (sender=0xb7b8a80, m=0xb6e84888, 
    local_signal_index=3, argv=0xbfa9726c) at kernel/qobject.cpp:3080
#24 0xb6d8c833 in KJob::result (this=0xb7b8a80, _t1=0xb7b8a80)
    at /media/kde/build/KDE/kdelibs/kdecore/kjob.moc:186
#25 0xb6d8cd32 in KJob::emitResult (this=0xb7b8a80)
    at /media/kde/src/KDE/kdelibs/kdecore/jobs/kjob.cpp:290
#26 0xb74444f9 in KIO::SimpleJob::slotFinished (this=0xb7b8a80)
    at /media/kde/src/KDE/kdelibs/kio/kio/job.cpp:496
#27 0xb7443d3b in KIO::SimpleJob::qt_metacall (this=0xb7b8a80, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfa973b4)
    at /media/kde/build/KDE/kdelibs/kio/jobclasses.moc:156
#28 0xb6b0f88c in QMetaObject::activate (sender=0xa742628, 
    from_signal_index=8, to_signal_index=8, argv=0x0)
    at kernel/qobject.cpp:3007
#29 0xb6b0fd19 in QMetaObject::activate (sender=0xa742628, m=0xb75ac664, 
    local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3080
#30 0xb74e6ab7 in KIO::SlaveInterface::finished (this=0xa742628)
    at /media/kde/build/KDE/kdelibs/kio/slaveinterface.moc:161
#31 0xb74e867f in KIO::SlaveInterface::dispatch (this=0xa742628, _cmd=104, 
    rawdata=@0xbfa97584)
    at /media/kde/src/KDE/kdelibs/kio/kio/slaveinterface.cpp:175
#32 0xb74e9138 in KIO::SlaveInterface::dispatch (this=0xa742628)
    at /media/kde/src/KDE/kdelibs/kio/kio/slaveinterface.cpp:90
#33 0xb74dbd17 in KIO::Slave::gotInput (this=0xa742628)
    at /media/kde/src/KDE/kdelibs/kio/kio/slave.cpp:319
#34 0xb74dd0e3 in KIO::Slave::qt_metacall (this=0xa742628, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfa97684)
    at /media/kde/build/KDE/kdelibs/kio/slave.moc:75
#35 0xb6b0f88c in QMetaObject::activate (sender=0xa73f930, 
    from_signal_index=4, to_signal_index=4, argv=0x0)
    at kernel/qobject.cpp:3007
#36 0xb6b0fd19 in QMetaObject::activate (sender=0xa73f930, m=0xb75a92c0, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3080
#37 0xb7417677 in KIO::Connection::readyRead (this=0xa73f930)
    at /media/kde/build/KDE/kdelibs/kio/connection.moc:84
#38 0xb74184d6 in KIO::ConnectionPrivate::dequeue (this=0xa73f520)
    at /media/kde/src/KDE/kdelibs/kio/kio/connection.cpp:82
#39 0xb7419326 in KIO::Connection::qt_metacall (this=0xa73f930, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x9545cf8)
    at /media/kde/build/KDE/kdelibs/kio/connection.moc:72
#40 0xb6b099ca in QMetaCallEvent::placeMetaCall (this=0xb7a6bf0, 
    object=0xa73f930) at kernel/qobject.cpp:535
#41 0xb6b0dc36 in QObject::event (this=0xa73f930, e=0xb7a6bf0)
    at kernel/qobject.cpp:1137
#42 0xb5961289 in QApplicationPrivate::notify_helper (this=0x941a550, 
    receiver=0xa73f930, e=0xb7a6bf0) at kernel/qapplication.cpp:3772
#43 0xb596159e in QApplication::notify (this=0xbfa97f78, receiver=0xa73f930, 
    e=0xb7a6bf0) at kernel/qapplication.cpp:3366
#44 0xb71e1a61 in KApplication::notify (this=0xbfa97f78, receiver=0xa73f930, 
    event=0xb7a6bf0)
    at /media/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#45 0xb6afb28b in QCoreApplication::notifyInternal (this=0xbfa97f78, 
    receiver=0xa73f930, event=0xb7a6bf0) at kernel/qcoreapplication.cpp:583
#46 0xb7dbca0d in QCoreApplication::sendEvent (receiver=0xa73f930, 
    event=0xb7a6bf0)
    at /opt/qt4/include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#47 0xb6afb7ab in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x94018c8) at kernel/qcoreapplication.cpp:1195
#48 0xb6afb967 in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0) at kernel/qcoreapplication.cpp:1091
#49 0xb7bc7f58 in QCoreApplication::sendPostedEvents ()
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#50 0xb6b29abc in postEventSourceDispatch (s=0x9414720)
    at kernel/qeventdispatcher_glib.cpp:211
#51 0xb536a978 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#52 0xb536dbce in ?? () from /usr/lib/libglib-2.0.so.0
#53 0x09414698 in ?? ()
#54 0x00000000 in ?? ()
#0  0xb7f7c430 in __kernel_vsyscall ()
Comment 3 Christophe Marin 2008-06-26 11:47:41 UTC
The backtrace is the same as bug 158861. As it is closed/fixed, I'll leave this one opened.
Comment 4 Thomas McGuire 2008-07-03 16:53:20 UTC
OK, I can reproduce it, the key is to create a new subfolder and then rename it. Renaming other folders works fine.
Comment 5 Thomas McGuire 2008-07-13 21:49:16 UTC
Hmm, I can't reproduce this anymore, and there was another commit that fixed another renaming bug, so maybe this also fixed this one.

Please reopen if you can reproduce with RC1 or later.