[Bug 158455] New: kmail crashed after renaming folder with subfolder

kavol kavol at seznam.cz
Tue Feb 26 16:18:13 CET 2008

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: kmail crashed after renaming folder with subfolder
           Product: kmail
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs kde org
        ReportedBy: kavol seznam cz

Version:           KMail: 1.9.7 (using KDE 3.5.8)
Installed from:    Gentoo Packages
Compiler:          gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.2) 
OS:                Linux


I just wanted to rename a local mail folder (maildir) that had one subfolder. So that I opened the properties of it (the parent folder), changed the name and hit ok. Then there appeared error message saying something about error when opening the subfolder and that it is missing. The non-ascii character of the new parent folder name was messed (there should have been "Latin Small Letter A with acute" in it but it appeared as two characters unknown to me) while the subfolder name was ok. When I clicked OK, kmail crashed immediately.

I can reproduce the bug.

The backtrace follows:

 [?1034hUsing host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x2aefa7423f20 (LWP 12898)]
[New Thread 0x42003950 (LWP 12902)]
[New Thread 0x41802950 (LWP 12901)]
[New Thread 0x41001950 (LWP 12900)]
[New Thread 0x40800950 (LWP 12899)]
[KCrash handler]
#5  0x00002aefa6f2a976 in _IO_fflush (fp=0x2aef9d0f36cc) at iofflush.c:42
#6  0x00002aef9cf7fa29 in KMMsgDict::touchFolderIds (
    this=<value optimized out>, storage=<value optimized out>)
    at kmmsgdict.cpp:132
#7  0x00002aef9cf7fb46 in KMFolderIndex::updateIndex (this=0xf294b0)
    at kmfolderindex.cpp:117
#8  0x00002aef9cf7e489 in KMFolderMaildir::reallyDoClose (this=0x2aef9d0f36cc)
    at kmfoldermaildir.cpp:226
#9  0x00002aef9cdf0779 in FolderStorage::countUnread (this=0xf294b0)
    at folderstorage.cpp:812
#10 0x00002aef9cee53b9 in KMSystemTray::updateNewMessages (this=0x13f7280)
    at kmsystemtray.cpp:475
#11 0x00002aef9cf99d08 in KMSystemTray::qt_invoke (this=0x13f7280, _id=64, 
    _o=0x7fff0e12dab0) at kmsystemtray.moc:97
#12 0x00002aefa38a624c in QObject::activate_signal (this=0x1405b50, 
    clist=<value optimized out>, o=0x7fff0e12dab0) at kernel/qobject.cpp:2356
#13 0x00002aefa38a6ef3 in QObject::activate_signal (this=0x2aef9d0f36cc, 
    signal=<value optimized out>) at kernel/qobject.cpp:2325
#14 0x00002aefa38c54a5 in QTimer::event (this=0x1405b50, e=0xf294b0)
    at kernel/qtimer.cpp:219
#15 0x00002aefa384fcb5 in QApplication::internalNotify (
    this=<value optimized out>, receiver=0x1405b50, e=0x7fff0e12dd50)
    at kernel/qapplication.cpp:2635
#16 0x00002aefa38508b7 in QApplication::notify (this=0x7fff0e12f010, 
    receiver=0x1405b50, e=0x7fff0e12dd50) at kernel/qapplication.cpp:2358
#17 0x00002aefa278018a in KApplication::notify (this=0x7fff0e12f010, 
    receiver=0x1405b50, event=0x7fff0e12dd50) at kapplication.cpp:550
#18 0x00002aefa38463d2 in QEventLoop::activateTimers (
    this=<value optimized out>) at kernel/qapplication.h:496
#19 0x00002aefa3806e12 in QEventLoop::processEvents (this=0x6692b0, flags=2)
    at kernel/qeventloop_x11.cpp:389
#20 0x00002aefa3864402 in QEventLoop::enterLoop (this=0x2aef9d0f36cc)
    at kernel/qeventloop.cpp:198
#21 0x00002aefa399598b in QPopupMenu::exec (this=0x1825af0, 
    pos= 0x7fff0e12e4d0, indexAtPoint=0) at widgets/qpopupmenu.cpp:2424
#22 0x00002aef9cf98c68 in KMFolderTree::slotContextMenuRequested (
    this=0x12096b0, lvi=<value optimized out>, p= 0x7fff0e12e4d0)
    at kmfoldertree.cpp:1153
#23 0x00002aef9d05a7d3 in KMFolderTree::qt_invoke (this=0x12096b0, _id=140, 
    _o=0x7fff0e12e3f0) at kmfoldertree.moc:516
#24 0x00002aefa38a624c in QObject::activate_signal (this=0x12096b0, 
    clist=<value optimized out>, o=0x7fff0e12e3f0) at kernel/qobject.cpp:2356
#25 0x00002aefa3b95516 in QListView::contextMenuRequested (
    this=<value optimized out>, t0=<value optimized out>, t1= 0x7fff0e12e4d0, 
    t2=0) at .moc/release-shared-mt/moc_qlistview.cpp:515
#26 0x00002aefa397724c in QListView::contentsContextMenuEvent (this=0x12096b0, 
    e=<value optimized out>) at widgets/qlistview.cpp:4453
#27 0x00002aefa39a1bcd in QScrollView::viewportContextMenuEvent (
    this=0x12096b0, e=0x7fff0e12eb30) at widgets/qscrollview.cpp:1886
#28 0x00002aefa399ff98 in QScrollView::eventFilter (this=0x12096b0, 
    obj=0x120a630, e=0x7fff0e12eb30) at widgets/qscrollview.cpp:1543
#29 0x00002aefa39731cf in QListView::eventFilter (this=0x12096b0, o=0x120a630, 
    e=0x7fff0e12eb30) at widgets/qlistview.cpp:3867
#30 0x00002aef9ce14ea0 in KMFolderTree::eventFilter (this=0x12096b0, 
    o=0x120a630, e=0x7fff0e12eb30) at kmfoldertree.cpp:1768
#31 0x00002aefa38a5c62 in QObject::activate_filters (this=0x120a630, 
    e=0x7fff0e12eb30) at kernel/qobject.cpp:903
#32 0x00002aefa38a5cb7 in QObject::event (this=0x120a630, e=0x7fff0e12eb30)
    at kernel/qobject.cpp:735
#33 0x00002aefa38d7f58 in QWidget::event (this=0x2aef9d0f36cc, e=0xf294b0)
    at kernel/qwidget.cpp:4659
#34 0x00002aefa384fcb5 in QApplication::internalNotify (
    this=<value optimized out>, receiver=0x120a630, e=0x7fff0e12eb30)
    at kernel/qapplication.cpp:2635
#35 0x00002aefa3850d14 in QApplication::notify (this=0x7fff0e12f010, 
    receiver=0x120a630, e=0x7fff0e12eb30) at kernel/qapplication.cpp:2478
#36 0x00002aefa278018a in KApplication::notify (this=0x7fff0e12f010, 
    receiver=0x120a630, event=0x7fff0e12eb30) at kapplication.cpp:550
#37 0x00002aefa37f8f22 in QETWidget::translateMouseEvent (
    this=<value optimized out>, event=<value optimized out>)
    at kernel/qapplication.h:499
#38 0x00002aefa37f7dc1 in QApplication::x11ProcessEvent (this=0x7fff0e12f010, 
    event=0x7fff0e12ee50) at kernel/qapplication_x11.cpp:3562
#39 0x00002aefa3806b7f in QEventLoop::processEvents (this=0x6692b0, flags=4)
    at kernel/qeventloop_x11.cpp:192
#40 0x00002aefa3864402 in QEventLoop::enterLoop (this=0x2aef9d0f36cc)
    at kernel/qeventloop.cpp:198
#41 0x00002aefa38642b2 in QEventLoop::exec (this=0x2aef9d0f36cc)
    at kernel/qeventloop.cpp:145
#42 0x0000000000402ead in main (argc=<value optimized out>, 
    argv=<value optimized out>) at main.cpp:110
#43 0x00002aefa6eeab74 in __libc_start_main (main=0x402d70 <main>, argc=7, 
    ubp_av=0x7fff0e12f4f8, init=<value optimized out>, 
    fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fff0e12f4e8) at libc-start.c:229
#44 0x0000000000402c39 in _start ()
Current language:  auto; currently c

More information about the Kdepim-bugs mailing list