| Summary: | [abrt] claws-mail-3.7.9-2.fc14: clamd_create_config_automatic: Process /usr/bin/claws-mail was killed by signal 11 (SIGSEGV) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Neil Underwood <n.underwood78> | ||||
| Component: | claws-mail | Assignee: | Andreas Bierfert <andreas.bierfert> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 14 | CC: | andreas.bierfert, bugs.michael, tomspur | ||||
| Target Milestone: | --- | Keywords: | Triaged | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Unspecified | ||||||
| URL: | http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2434 | ||||||
| Whiteboard: | abrt_hash:b1154aeed0e2ccb6c537c76bccd8968a32a9c3bc | ||||||
| Fixed In Version: | claws-mail-plugins-3.7.9-3.fc15 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-06-21 17:06:49 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
Neil Underwood
2011-05-20 05:45:30 UTC
Created attachment 499998 [details]
File: backtrace
#0 0x00007f3ed05a7627 in clamd_create_config_automatic (path=0x24be280 "/etc/clamd.conf") at clamd-plugin.c:213
211 }
212 fclose(conf);
213 if (! Socket && (Socket->socket.port || Socket->socket.path)) {
214 /*g_error("%s: Not able to find required information", path);*/
215 alertpanel_error(_("%s: Not able to find required information\nclamd will be disabled"), path);
216 }
The if-expression is questionable. It should check whether
!Socket || (!Socket->socket.port && !Socket->socket.path)
(i.e. whether the Socket is not NULL or whether neither port and path are set), which can be converted into
! (Socket && (Socket->socket.port || Socket->socket.path))
and requires extra brackets due to operator precedence. Or else it would dereference a NULL Socket ptr.
I should add I had the ClamAV plugin loaded, but clamd was not running. Therefore -> socket = NULL I'm assuming. "Socket" here is just a pointer to a memory structure. The code allocates that memory depending on what options it finds in /etc/clamd.conf. In your case, I assume, it didn't find the options it searched for, and with a fixed if-expression would have shown the quoted error Not able to find required information clamd will be disabled instead of crashing. claws-mail-plugins-3.7.9-3.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/claws-mail-plugins-3.7.9-3.fc14 claws-mail-plugins-3.7.9-3.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/claws-mail-plugins-3.7.9-3.fc15 Package claws-mail-plugins-3.7.9-3.fc14: * should fix your issue, * was pushed to the Fedora 14 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing claws-mail-plugins-3.7.9-3.fc14' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/claws-mail-plugins-3.7.9-3.fc14 then log in and leave karma (feedback). claws-mail-plugins-3.7.9-3.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. claws-mail-plugins-3.7.9-3.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. |