Bug 1227819
Summary: | [abrt] ccache: exit(): ccache killed by SIGSEGV | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dawid Zamirski <dzrudy> | ||||||||||||||||||||||||
Component: | ccache | Assignee: | Ville Skyttä <ville.skytta> | ||||||||||||||||||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||
Priority: | unspecified | ||||||||||||||||||||||||||
Version: | 22 | CC: | joel, ville.skytta | ||||||||||||||||||||||||
Target Milestone: | --- | ||||||||||||||||||||||||||
Target Release: | --- | ||||||||||||||||||||||||||
Hardware: | x86_64 | ||||||||||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||||||||||
URL: | https://retrace.fedoraproject.org/faf/reports/bthash/aa4ea7237c0e62e986f4e4cd8799884f9c7f0162 | ||||||||||||||||||||||||||
Whiteboard: | abrt_hash:c9a522f6eb0d71f251cc776a1e2c809ca20b09e6 | ||||||||||||||||||||||||||
Fixed In Version: | 3.2.3-1.fc23 ccache-3.2.3-1.fc22 | Doc Type: | Bug Fix | ||||||||||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||||||||||
Clone Of: | Environment: | ||||||||||||||||||||||||||
Last Closed: | 2015-09-03 10:04:34 UTC | Type: | --- | ||||||||||||||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||||||||||||||
Documentation: | --- | CRM: | |||||||||||||||||||||||||
Verified Versions: | Category: | --- | |||||||||||||||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||||||||
Embargoed: | |||||||||||||||||||||||||||
Attachments: |
|
Description
Dawid Zamirski
2015-06-03 14:45:18 UTC
Created attachment 1034366 [details]
File: backtrace
Created attachment 1034367 [details]
File: cgroup
Created attachment 1034368 [details]
File: core_backtrace
Created attachment 1034369 [details]
File: dso_list
Created attachment 1034370 [details]
File: environ
Created attachment 1034371 [details]
File: limits
Created attachment 1034372 [details]
File: maps
Created attachment 1034373 [details]
File: mountinfo
Created attachment 1034374 [details]
File: namespaces
Created attachment 1034375 [details]
File: open_fds
Created attachment 1034376 [details]
File: proc_pid_status
Something wrong with error handling? From the backtrace: #4 0x0000000000408d19 in fatal (format=format@entry=0x413462 "Failed to create file %s: %s") at util.c:201 [...] msg = "Failed to create file /home/dzamirski/.ccache/3/stats.tmp.dawid-fedora.24221.BTyN3P: Too many open files[...] #5 0x0000000000409ca7 in create_tmp_fd (fname=fname@entry=0x7ffc6749be80) at util.c:1200 The problem seems to be that exit() is called inside an exit handler. This does not lead to a recursive call to the exit handler function (or a crash) on my system, but apparently it does in your case, and it's indeed not portable to assume that it works. Proposed fix: https://git.samba.org/?p=ccache.git;a=patch;h=94085e8a219c0015acc27fff99df16ee8ebe60c3;hp=0220de9c8ebfb18caae2ac1aa163d060e98ceade I tried to provoke the crash with unmodified ccache 3.2.2 on Fedora 22 x86_64 by clearing my ~/.ccache, then making it read only, then trying to build something but did not get any crashes, just the expected "ccache: error: Failed to create file [...]: Permission denied" error messages. Can you suggest a better recipe to try out? ccache-3.2.3-1.fc23 has been submitted as an update for Fedora 23. https://admin.fedoraproject.org/updates/ccache-3.2.3-1.fc23 ccache-3.2.3-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/ccache-3.2.3-1.fc22 Package ccache-3.2.3-1.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ccache-3.2.3-1.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-13702/ccache-3.2.3-1.fc22 then log in and leave karma (feedback). ccache-3.2.3-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. ccache-3.2.3-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |