Bug 867993

Summary: [abrt] ccache-3.1.7-1.fc17: args_strip: Process /usr/bin/ccache was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: Mengxuan Xia <xiamx2004>
Component: ccacheAssignee: Ville Skyttä <ville.skytta>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: joel, ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:2632edfc794675c1d974dd503491a2cee96ac042
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-20 16:17:37 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 Flags
File: core_backtrace
none
File: environ
none
File: limits
none
File: backtrace
none
File: cgroup
none
File: maps
none
File: dso_list
none
File: var_log_messages
none
File: open_fds none

Description Mengxuan Xia 2012-10-18 20:05:10 UTC
Version-Release number of selected component:
ccache-3.1.7-1.fc17

Additional info:
libreport version: 2.0.14
abrt_version:   2.0.13
backtrace_rating: 4
cmdline:        /usr/lib64/ccache/gcc -qversion
crash_function: args_strip
kernel:         3.5.6-1.fc17.x86_64

truncated backtrace:
:Thread no. 1 (3 frames)
: #0 args_strip at args.c:136
: #1 failed at ccache.c:216
: #2 ccache_main at ccache.c:2166

Comment 1 Mengxuan Xia 2012-10-18 20:05:13 UTC
Created attachment 629610 [details]
File: core_backtrace

Comment 2 Mengxuan Xia 2012-10-18 20:05:15 UTC
Created attachment 629611 [details]
File: environ

Comment 3 Mengxuan Xia 2012-10-18 20:05:16 UTC
Created attachment 629612 [details]
File: limits

Comment 4 Mengxuan Xia 2012-10-18 20:05:18 UTC
Created attachment 629613 [details]
File: backtrace

Comment 5 Mengxuan Xia 2012-10-18 20:05:20 UTC
Created attachment 629614 [details]
File: cgroup

Comment 6 Mengxuan Xia 2012-10-18 20:05:22 UTC
Created attachment 629615 [details]
File: maps

Comment 7 Mengxuan Xia 2012-10-18 20:05:23 UTC
Created attachment 629616 [details]
File: dso_list

Comment 8 Mengxuan Xia 2012-10-18 20:05:25 UTC
Created attachment 629617 [details]
File: var_log_messages

Comment 9 Mengxuan Xia 2012-10-18 20:05:28 UTC
Created attachment 629618 [details]
File: open_fds

Comment 10 Ville Skyttä 2012-10-19 06:47:23 UTC
Hmm, if I understand correctly, this should be reproducible just by invoking "/usr/lib64/ccache/gcc -qversion", but I cannot reproduce this doing so with ccache 3.1.6, 3.1.7, or 3.1.8.

Mengxuan: is there anything else you could tell us in order to reproduce the problem, e.g. a command to run? Does it always crash for you if you do "gcc -qversion" or something while ccache is installed?

Joel: Based on info already available, do you have ideas what might be causing this?

Comment 11 Mengxuan Xia 2012-10-19 14:36:16 UTC
Ville:

When I run $ /usr/lib64/ccache/gcc -qversion
gcc: error: unrecognized command line option ‘-qversion’
gcc: fatal error: no input files
compilation terminated.

Comment 12 Ville Skyttä 2012-10-20 08:13:02 UTC
Bummer, that means we'll need another way to reproduce this.

Comment 13 Joel Rosdahl 2012-10-20 11:06:51 UTC
(In reply to comment #10)
> Joel: Based on info already available, do you have ideas what might be
> causing this?

Yes, the crash happens when the current working directory has been removed. Fixed in 3.1.8. Here is the patch: https://git.samba.org/ccache.git/?p=ccache.git;a=commitdiff_plain;h=e74b07331ecc57ee9be68a5f09cdb6447215e56c

Comment 14 Ville Skyttä 2012-10-20 18:16:27 UTC
Ah, seems so indeed, thanks! We already have 3.1.8 in F-18+, will update F-17 as well.

Comment 15 Fedora Update System 2012-10-20 18:27:10 UTC
ccache-3.1.8-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/ccache-3.1.8-1.fc17

Comment 16 Fedora Update System 2012-10-22 02:06:08 UTC
Package ccache-3.1.8-1.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 ccache-3.1.8-1.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-16638/ccache-3.1.8-1.fc17
then log in and leave karma (feedback).

Comment 17 Fedora Update System 2012-12-20 16:17:39 UTC
ccache-3.1.8-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.