Bug 116876 - kmail crashes when fetching new mail
Summary: kmail crashes when fetching new mail
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.9
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-22 14:50 UTC by Elan Ruusamäe
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 Elan Ruusamäe 2005-11-22 14:50:40 UTC
Version:           1.9 (using KDE 3.5.0, PLD Linux Distribution)
Compiler:          gcc version 3.3.6 (PLD Linux)
OS:                Linux (i686) release 2.6.12.6-0.1

when i hit "check all mail" button it fetches mail and when at about to finish it crashes.

here's the backstrace:
Using host libthread_db library "/lib/tls/libthread_db.so.1".
[KCrash handler]
#7  0xb7391a35 in QMapPrivate (this=0x88d10e0, _map=0x8954170) at qmap.h:441
#8  0xb738cda1 in QMap<KPIM::ProgressItem*, bool>::detachInternal (
    this=0x8a79958) at qmap.h:840
#9  0xb7386dbd in QMap<KPIM::ProgressItem*, bool>::detach (this=0x8a79958)
    at qmap.h:739
#10 0xb737e1e9 in QMap<KPIM::ProgressItem*, bool>::remove (this=0x8a79958, 
    k=@0xbf8bd394) at qmap.h:831
#11 0xb7321ab7 in KPIM::ProgressItem::removeChild (this=0x8a79918, 
    kiddo=0x8d23850) at progressmanager.cpp:74
#12 0xb7321a33 in KPIM::ProgressItem::setComplete (this=0x8d23850)
    at progressmanager.cpp:60
#13 0xb7cf5ba5 in KMail::ImapAccountBase::removeJob (this=0x8657b50, 
    it=@0xbf8bd420) at imapaccountbase.cpp:1178
#14 0xb7c60c84 in KMail::ListJob::slotListResult (this=0x87e1eb8, 
    job=0x899fe88) at listjob.cpp:180
#15 0xb7c61541 in KMail::ListJob::qt_invoke (this=0x87e1eb8, _id=2, 
    _o=0xbf8bd4f0) at listjob.moc:128
#16 0xb5fcc60c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#17 0xb6b73b6a in KIO::Job::result () from /usr/lib/libkio.so.4
#18 0xb6b5bbfc in KIO::Job::emitResult () from /usr/lib/libkio.so.4
#19 0xb6b5d25c in KIO::SimpleJob::slotFinished () from /usr/lib/libkio.so.4
#20 0xb6b662be in KIO::ListJob::slotFinished () from /usr/lib/libkio.so.4
#21 0xb6b770c3 in KIO::ListJob::qt_invoke () from /usr/lib/libkio.so.4
#22 0xb5fcc60c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#23 0xb5fcc434 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#24 0xb6b4f7ae in KIO::SlaveInterface::finished () from /usr/lib/libkio.so.4
#25 0xb6b4e311 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#26 0xb6b4d819 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#27 0xb6b4b06b in KIO::Slave::gotInput () from /usr/lib/libkio.so.4
#28 0xb6b4cd88 in KIO::Slave::qt_invoke () from /usr/lib/libkio.so.4
#29 0xb5fcc60c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#30 0xb5fcc76d in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#31 0xb62e42e2 in QSocketNotifier::activated () from /usr/lib/libqt-mt.so.3
#32 0xb5fe8a90 in QSocketNotifier::event () from /usr/lib/libqt-mt.so.3
#33 0xb5f7030f in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#34 0xb5f6f915 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#35 0xb6580495 in KApplication::notify () from /usr/lib/libkdecore.so.4
#36 0xb5f5fe1a in QEventLoop::activateSocketNotifiers ()
   from /usr/lib/libqt-mt.so.3
#37 0xb5f19003 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#38 0xb5f81bb8 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#39 0xb5f81a68 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#40 0xb5f70561 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#41 0x0804aa14 in main (argc=1, argv=0xbf8be554) at main.cpp:110
Comment 1 Craig Bradney 2005-12-01 11:00:36 UTC
I seem to have the same issue on Gentoo 2005.1. Most of my mail exists on IMAP servers, including a local one that I use so I can access mail across PCs. Turning off auto checking of mail seems to have given some stability.
Comment 2 Craig Bradney 2005-12-01 20:26:12 UTC
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
  (no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 9414)]
0xb60472c8 in waitpid () from /lib/libpthread.so.0
#0  0xb60472c8 in waitpid () from /lib/libpthread.so.0
#1  0xb6da69cc in ?? () from /usr/kde/3.5/lib/libkdecore.so.4
#2  0xb6cc77c6 in KCrash::defaultCrashHandler ()
   from /usr/kde/3.5/lib/libkdecore.so.4
#3  0x000024c6 in ?? ()
#4  0xb5f3ea00 in __malloc_initialize_hook () from /lib/libc.so.6
#5  0xb5f3ea4c in __malloc_initialize_hook () from /lib/libc.so.6
#6  0xb6048ff4 in ?? () from /lib/libpthread.so.0
#7  0x08c8d928 in ?? ()
#8  0xb6a40890 in vtable for QGArray () from /usr/qt/3/lib/libqt-mt.so.3
#9  0x00000000 in ?? ()
#10 0xb6a40890 in vtable for QGArray () from /usr/qt/3/lib/libqt-mt.so.3
#11 0x08c09560 in ?? ()
#12 0x00002505 in ?? ()
#13 0x00000400 in ?? ()
#14 0x00000400 in ?? ()
#15 0xb63f01c8 in ?? () from /usr/qt/3/lib/libqt-mt.so.3
#16 0xb6455455 in ?? () from /usr/qt/3/lib/libqt-mt.so.3
#17 0x08071dd0 in ?? ()
#18 0x08071dd0 in ?? ()
#19 0x08071dd0 in ?? ()
#20 0x00000000 in ?? ()
#21 0x00000000 in ?? ()
#22 0x0000457c in ?? ()
#23 0xb646dbb4 in ?? () from /usr/qt/3/lib/libqt-mt.so.3
#24 0x00000001 in ?? ()
#25 0x0137ada8 in ?? ()
#26 0x0806f8c0 in ?? ()
#27 0x00000000 in ?? ()
#28 0x00000000 in ?? ()
#29 0x00000000 in ?? ()
#30 0xb6044741 in __pthread_alt_lock () from /lib/libpthread.so.0
#31 0x00000001 in ?? ()
#32 0x01f3ea00 in ?? ()
#33 0x0806f8c0 in ?? ()
#34 0x00000000 in ?? ()
#35 0x00000001 in ?? ()
#36 0x01000000 in ?? ()
#37 0x0806f8c0 in ?? ()
#38 0x00000000 in ?? ()
#39 0x0809e280 in ?? ()
#40 0x00000000 in ?? ()
#41 0xb6044741 in __pthread_alt_lock () from /lib/libpthread.so.0
#42 0x0809ee80 in ?? ()
#43 0xb5f3ea00 in __malloc_initialize_hook () from /lib/libc.so.6
#44 0xb604488b in __pthread_alt_unlock () from /lib/libpthread.so.0


is my fairly useless trace. debug is set on kdelibs, kmail, kontact, kdepim-kioslaves, libkdepim, libkpimidentities
Comment 3 Craig Bradney 2005-12-01 20:27:05 UTC
Err, sorry about that line list of blank lines.. copy paste went funny.
Comment 4 Craig Bradney 2005-12-01 20:30:28 UTC
I get that crash when I run filters, checking mail, other times. I've turned off auto mail checking and have been able to move all mail from Local Folders into the Courier IMAP server I have. I can read it fine with Thunderbird there. Kontact/Kmail from KDE 3.4.3 could read, filter, whatever fine in the IMAP server (apart from the new capabilities that 3.5 is supposed to bring of course).
Comment 5 Craig Bradney 2005-12-01 22:24:07 UTC
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 23116)]
[KCrash handler]
#5  0xb55b851d in KMFilterActionExtFilter::processAsync (this=0x8be9580, 
    aMsg=0x8bfd2d0) at kmfilteraction.cpp:1700
#6  0xb55783bb in KMail::ActionScheduler::actionMessage (this=0x8c26918, 
    res=KMFilterAction::GoOn) at actionscheduler.cpp:611
#7  0xb56313be in KMail::ActionScheduler::filterMessage (this=0x8c26918)
    at actionscheduler.cpp:587
#8  0xb5631654 in KMail::ActionScheduler::qt_invoke (this=0x8c26918, _id=16, 
    _o=0xbfa4fc10) at actionscheduler.moc:207
#9  0xb6595e74 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#10 0xb6596592 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#11 0xb68ea5d9 in QTimer::timeout () from /usr/qt/3/lib/libqt-mt.so.3
#12 0xb65b7b2e in QTimer::event () from /usr/qt/3/lib/libqt-mt.so.3
#13 0xb653322f in QApplication::internalNotify ()
   from /usr/qt/3/lib/libqt-mt.so.3
#14 0xb65333cc in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#15 0xb6cb636b in KApplication::notify (this=0xbfa502c0, receiver=0x8c14100, 
    event=0xbfa50050) at kapplication.cpp:550
#16 0xb65269dc in QEventLoop::activateTimers ()
   from /usr/qt/3/lib/libqt-mt.so.3
#17 0xb64dfb71 in QEventLoop::processEvents ()
   from /usr/qt/3/lib/libqt-mt.so.3
#18 0xb6549930 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
#19 0xb6549886 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3
#20 0xb65323df in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3
#21 0x0806179f in ?? ()
#22 0xbfa502c0 in ?? ()
#23 0x0806b58e in typeinfo name for QPtrList<KParts::Part> ()
#24 0x00000000 in ?? ()
#25 0x00000000 in ?? ()
#26 0x00000000 in ?? ()
#27 0x00000001 in ?? ()
#28 0x0806be64 in typeinfo name for QPtrList<KParts::Part> ()
#29 0x00000000 in ?? ()
#30 0x0806ad88 in typeinfo name for QPtrList<KParts::Part> ()
#31 0x0806b3e2 in typeinfo name for QPtrList<KParts::Part> ()
#32 0xbfa502c8 in ?? ()
#33 0xb5e51cb1 in malloc () from /lib/libc.so.6
#34 0xb5e023b3 in __libc_start_main () from /lib/libc.so.6
#35 0x08059851 in ?? ()
Comment 6 Craig Bradney 2005-12-01 22:44:01 UTC
Ok, when I remove the clamav and spamassassin filters it seems to run ok. Putting the spamd or spamassassin via perl back brings back the crash.
Comment 7 Craig Bradney 2005-12-01 22:45:09 UTC
So, as this is now not 100% related to the above bug, Ill make a new one.
Comment 8 Andreas Gungl 2005-12-05 23:06:54 UTC
The filter problem is solved in the 3.5 branch in SVN. PLease, let us kno wif you can reproduce the first problem with the newest version.
Comment 9 Craig Bradney 2005-12-05 23:16:18 UTC
The first problem is gone, gentoo has a -r1 release of kmail 3.5.0. I can run a filter again, EXCEPT, if I run it on a known spam mail, it still sig11s, as per my note on 113730. Unfortunately, I get no trace worth pasting. When I remove the spam filters again, filtering is ok in general again.
Comment 10 Andreas Gungl 2005-12-06 08:30:38 UTC
Elan, does the crash still happen to you?
Comment 11 Elan Ruusamäe 2005-12-07 17:19:56 UTC
I updated code to svn revision 486057 of kdebase, kdelibs, kdepim (as you didn't specify which module to update from svn).

now it doesn't crash when fetching mail, but i got this partly resolved with older code already when i recreated the problematic imap account and disabled fulltext search. (unfortunately shared folders weren't visible when i recreated imap account, but this is another bug i guess)

so i can't really know what fixed the problem, but right now it works, ie can't reproduce the original problem :)
Comment 12 Andreas Gungl 2005-12-07 20:59:00 UTC
Thanks for your feedback. Closing then.