[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: Crash caused by unusual from: field (?)
From: Eugene Kuznetsov <divx () euro ! ru>
Date: 2001-11-22 4:10:49
[Download RAW message or body]
Hello,
I use KMail 1.3.1 from KDE 2.2.1, build with Qt 2.3.2. Today I have received
an e-mail that caused KMail to 'disappear' without any warnings or messages.
When I tried to launch it again, I discovered that I am no longer able to
access folder with that email - KMail would immediately crash.
I played a little with it and discovered that I can enter the folder after
removing relevant ~/Mail/.xxx.index file. Now it crashes upon exit. Here is
the output of gdb ( I recompiled kmail with -g option to get it ):
khtml (memory): KHTMLPart::clear() this = 0x8202800
khtml (memory): KHTMLPart::clear(): dereferencing the document
khtml (memory): KHTMLPart::clear(): dereferencing done..
khtml: KHTMLFactory::~KHTMLFactory
kparts: Part::~Part 0x8202800
kparts: deleting widget [KHTMLView pointer (0x8208df8) to widget khtml,
geometry=841x335+0+0] khtml
kmail: trash clean-up done.
Program received signal SIGSEGV, Segmentation fault.
0x811957d in KMMsgBase::syncIndexString (this=0x81e8788) at kmmsgbase.cpp:739
739 if(!dirty())
(gdb) bt
#0 0x811957d in KMMsgBase::syncIndexString (this=0x81e8788)
at kmmsgbase.cpp:739
#1 0x80db42d in KMFolder::close (this=0x81e6f68, aForced=true)
at kmfolder.cpp:318
#2 0x813666f in KMKernel::cleanup (this=0xbffff6b8) at kmkernel.cpp:634
#3 0x8138511 in main (argc=1, argv=0xbffff8a4) at main.cpp:263
#4 0x410dd2e7 in __libc_start_main (main=0x8137ea4 <main>, argc=1,
argv=0xbffff8a4, init=0x8068f58 <_init>, fini=0x816de20 <_fini>,
rtld_fini=0x40009f00 <_dl_fini>, stack_end=0xbffff89c)
at ../sysdeps/generic/libc-start.c:90
(gdb) f 1
#1 0x80db42d in KMFolder::close (this=0x81e6f68, aForced=true)
at kmfolder.cpp:318
318 dirty = !mMsgList[i]->syncIndexString();
(gdb) f 0
#0 0x811957d in KMMsgBase::syncIndexString (this=0x81e8788)
at kmmsgbase.cpp:739
739 if(!dirty())
(gdb) x/40xc this
0x81e8788: 0 '\000' 111 'o' 0 '\000' 107 'k' 0 '\000'
64 '@' 0 '\000' 97 'a'
0x81e8790: 0 '\000' 117 'u' 0 '\000' 46 '.' 0 '\000'
114 'r' 0 '\000' 117 'u'
0x81e8798: 0 '\000' 62 '>' 0 '\000' 44 ',' 0 '\000'
60 '<' 0 '\000' 115 's'
0x81e87a0: 0 '\000' 99 'c' 0 '\000' 97 'a' 0 '\000'
114 'r' 0 '\000' 97 'a'
0x81e87a8: 0 '\000' 98 'b' 0 '\000' 64 '@' 0 '\000'
99 'c' 0 '\000' 104 'h'
You can see that 'this' object is overwritten by something that looks like an
email header. I took a look at the mailbox, and discovered that I've got an
email with rather unusual To: header:
Message-ID: <006e01c17231$c6f20bc0$0200a8c0@EC>
From: "3" <sefrva@rambler.ru>
To: <maxes@chat.ru>,
<guestbook@chat.ru>,
<vtaits@chat.ru>,
<vasja@chat.ru>,
<mybox@chat.ru>,
<ivan.ivanov@chat.ru>,
<super_pupkin@chat.ru>,
<super_pupkin@mail.ru>,
<abuse@chat.ru>,
<kaply_rosi@chat.ru>,
<grek@nm.ru>,
<ovesh@chat.ru>,
<mikie@nettaxi.com>,
<alia_san@chat.ru>,
<potok@au.ru>,
<scarab@chat.ru>,
etc., total 901 addresses.
KMail seems to crash shortly after it writes info about this email into
.index file.
Is it a known issue? If not, I can provide any additional information
needed to fix this bug.
--
Best regards,
Eugene
_______________________________________________
kmail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic