| Summary: | [abrt] mail-notification-5.4-53.fc17: __GI_raise: Process /usr/bin/mail-notification was killed by signal 6 (SIGABRT) | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jonathan Kamens <jik> | ||||||||
| Component: | mail-notification | Assignee: | Erik van Pienbroek <erik-fedora> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 17 | CC: | dmitry, erik-fedora, ortizsantini | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | abrt_hash:7be6a88cbfa44fa194534aa02966889c9a34567c | ||||||||||
| Fixed In Version: | mail-notification-5.4-54.fc17 | Doc Type: | Bug Fix | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2012-04-12 03:17:19 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Attachments: |
|
||||||||||
|
Description
Jonathan Kamens
2012-04-05 02:15:12 UTC
Created attachment 575256 [details]
File: backtrace
Created attachment 575257 [details]
File: maps
Created attachment 575258 [details]
File: dso_list
Tried to update mail count after restart of system. backtrace_rating: 4 Package: mail-notification-5.4-53.fc17 OS Release: Fedora release 17 (Beefy Miracle) This abrt report looks much more interesting than the other ones we've received for mail-notification lately. This is because of this error: :*** stack smashing detected ***: mail-notification terminated :mail-notification[0x448446] :mail-notification(mn_client_session_enable_ssl+0x192)[0x4485da] Investigating.. It turned out to be a stack overflow in the verify_ssl_certificate function. Only IMAP and POP3 mailboxes which are using a SSL connection should be affected. A patched version of mail-notification is now being built mail-notification-5.4-54.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/mail-notification-5.4-54.fc17 (In reply to comment #5) > This abrt report looks much more interesting than the other ones we've received > for mail-notification lately. This is because of this error: > > :*** stack smashing detected ***: mail-notification terminated > :mail-notification[0x448446] > :mail-notification(mn_client_session_enable_ssl+0x192)[0x4485da] Yeah, I thought you'd like that. :-) (In reply to comment #6) > It turned out to be a stack overflow in the verify_ssl_certificate function. > Only IMAP and POP3 mailboxes which are using a SSL connection should be > affected. A patched version of mail-notification is now being built I tried myself to figure out where the overflow was happening but at first glance wasn't successful. Just out of curiosity, how did you figure it out? Package mail-notification-5.4-54.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mail-notification-5.4-54.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-5351/mail-notification-5.4-54.fc17 then log in and leave karma (feedback). Thanks to gcc's stack smash protection feature it was quite easy. The backtrace file contains these lines: #4 0x0000003e17b09720 in __stack_chk_fail () at stack_chk_fail.c:29 No locals. #5 0x0000000000448446 in verify_ssl_certificate (session=0x7fd1fd64fab0) at src/mn-client-session.c:715 This indicates that something inside the verify_ssl_certificate function was doing something nasty. As this function is reasonable small it was quite easy to find out the real cause Ah, so you actually read the code. :-) I looked at line 715 of mn-client-session.c and saw that it was the end of the function, and concluded that I should run the code under valgrind to try to catch when the problem was actually occurring. I suppose eyeballing the code would have worked better... Thanks. I have some issues with my password for Fedora Project so I can't leave karma for the time being, but I hereby confirm the fix seems to be working as expected. Good job. Ok, I was able to fix my login issue and already left good karma. mail-notification-5.4-54.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |