|
Bugzilla – Full Text Bug Listing |
| Summary: | dirmngr uses 100% CPU with SMIME email | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.2 | Reporter: | Peter Nixon <nix> |
| Component: | Other | Assignee: | Petr Uzel <puzel> |
| Status: | RESOLVED INVALID | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Critical | ||
| Priority: | P5 - None | CC: | misch, nadvornik, peterph |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | 32bit | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | Sample mail that crashes dirmngr | ||
|
Description
Peter Nixon
2007-02-12 09:22:58 UTC
Lukas, I suggest to send it directly to you, since you are the dirmngr maintainer, If you don't mind. You can submit it directly to me, or mark the attachment as private (IIRC) *** Bug 253984 has been marked as a duplicate of this bug. *** I have sent the problem mail to Lukas. As far as I can see there is no way to attach something privately to bugzilla. Hi, I think the problem is more network related see my duplicate bug # 253984. Anyway, I can provide you with a mail since I can easily reproduce the problem. I should add that while kmail is unresponsive and dirmngr is at 100% cpu, if you kill the dirmngr process kmail comes back to life and displays the email. Created attachment 124548 [details]
Sample mail that crashes dirmngr
Please find attached a sample mail that crashes dirmngr. The mail is signed only, not encrypted.
If I build a new dirmngr RPM for you, would you be able to test if it fixes your problem? No problem. Just send it to my mail address. misch /the well known sign/ multinet.de Yep. Likewise. Just send it to the mail address linked with my bugzilla account or provide a download link. http://ktown.kde.org/~lukas/download/dirmngr-0.9.7-1.i586.rpm Please test and report if it fixes your problem :) # rpm -Uvh dirmngr-0.9.7-1.i586.rpm
error: Failed dependencies:
libpth.so.20 is needed by dirmngr-0.9.7-1.i586
:-(
sry, here it is :( http://ktown.kde.org/~lukas/download/pth-2.0.7-4.i586.rpm OK. That solves the problem for me. However, the CPU does still spike to 100% for 5-10 seconds and kmail is unresponsive during this time, after which the mail is shown properly and everything returns to normal.. Nice to hear, now I have to find out how to release an update since the required packages (pth, libassuan) changed quite a bit in factory (OpenSUSE 10.3) Hi, sorry, no fix for me. Still getting 100% CPU load. I am still having the problem: CRL Server sends tcp FIN package, mine answers with ACK, but does not send out the second FIN package to the server. The the tcp connection is still open in FIN wait state. OK, then you can report the bug directly to the aegypten developers project here, I'm sure they will be able to answer to this: http://intevation.de/roundup/aegypten/ Thanks new maintainer Leaving SUSE - reassigning to Vladimir. new maintainer This bug is really annoying. I'm getting more and more SMINE signed mails which causes 100% CPU load and stops me from working. IMHO also a DoS issue because KMAIL opens new mails in inbox automatically. Christopher, what version of dirmngr do you use? (from Michael Schwartzkopff) Hi, I am using dirmngr 0.9.5 on OpenSuSE10.2 # uname -a Linux mucnb003 2.6.18.8-0.9-default #1 SMP Sun Feb 10 22:48:05 UTC 2008 i686 i686 i386 GNU/Linux Greetings. I'm using dirmngr-0.9.5-30.1. Anything else you need? I can forward a SMIME signed mail if you need one. Some mail causing dirmngr to hang would be very helpful - I'm not able to reproduce the bug with the one from comment#7 in openSUSE 11.0 RC1. You can post it here as a private attachment or send it directly to me. Regarding dirmngr version: would you be able to test dirmngr in openSUSE 10.3 or even openSUSE 11.0 (Beta/RC) ? Thanks I can try to reproduce it with openSUSE 11.0 RCx next week. Maybe someone else is faster. ;-) I'm still not able to reproduce it - is there any better way than simply opening the mail in kmail (with S/MIME enabled)? Do you use any special S/MIME settings? Thanks Sorry for the late response. I did some debugging and found the problem. I installed openSUSE 11.0 and created a new KMail setup. Everything was working fine and I was not able to reproduce the bug. Then I copied my .gnupg dir from openSUSE 10.2 to openSUSE 11.0 and suddenly I noticed the 5-10 hang in kmail which was caused by 100% CPU load of dirmngr. So I looked into the .gnupg folder and noticed that dirmngr-cache.d/ has a size of 123MB! It contains a 81MB big DIR.txt and miscellaneous files DIR-tmp-$HOSTNAME-XXX.txt.tmp and crl-XXX.db (XXX are numbers/hex numbers). I removed all files within the dirmngr-cache.d folder and now the issue is gone. I guess dirmngr parsed one or all of these files which takes 5-10 seconds and causes the high load. Thanks for the info and debugging. As I can not reproduce it and it seems to work for you in 11.0, I incline to close this one as RESOLVED. Michael, what about you - do you still encounter any problems with dirmngr? Hi, I also found the huge files in .gnupg/dirmngr-cache.d/ After deleting these files the problem was gone. Thanks for your long-term support. Greetings, Michael. (In reply to comment #31 from Michael Schwartzkopff) > I also found the huge files in .gnupg/dirmngr-cache.d/ After deleting these > files the problem was gone. OK, so let's close this one. I have to close it as invalid as it is not related to any bug in dirmngr AFAIK. > Thanks for your long-term support. Well, I thank you and Christopher - you fixed it yourselves after all :) Regards, Petr |