Bug 717545

Summary: [abrt] cscope-15.7a-1.fc14: strchr: Process /usr/bin/cscope was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: Maciek Borzecki <maciek.borzecki>
Component: cscopeAssignee: Neil Horman <nhorman>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: nhorman
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:d90e9f77374a0e125071dfec67ce0f1abe610627
Fixed In Version: cscope-15.7a-2.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-16 07:34:55 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 Flags
File: backtrace none

Description Maciek Borzecki 2011-06-29 07:59:49 UTC
abrt version: 1.1.18
architecture: i686
Attached file: backtrace, 15381 bytes
cmdline: cscope -buvk
comment: I think that find might have picked up some binary files and that's why cscope crashed. Anyway, it would make sense for cscope to somehow skip binary files
component: cscope
Attached file: coredump, 905216 bytes
crash_function: strchr
executable: /usr/bin/cscope
kernel: 2.6.35.13-92.fc14.i686.PAE
package: cscope-15.7a-1.fc14
rating: 4
reason: Process /usr/bin/cscope was killed by signal 11 (SIGSEGV)
release: Fedora release 14 (Laughlin)
time: 1309333338
uid: 500

How to reproduce
-----
1. find . -type f > cscope.files
2. cscope -buvk
3.

Comment 1 Maciek Borzecki 2011-06-29 07:59:52 UTC
Created attachment 510409 [details]
File: backtrace

Comment 2 Neil Horman 2011-06-29 15:38:22 UTC
looks like the parser assumes that strpbrk will return a non-null value.  F14 will require a few upstream backports, but no big, should be easy to fix.  Thanks for the report

Comment 3 Fedora Update System 2011-06-29 17:12:44 UTC
cscope-15.7a-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/cscope-15.7a-2.fc14

Comment 4 Fedora Update System 2011-06-29 21:54:44 UTC
Package cscope-15.7a-2.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 cscope-15.7a-2.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/cscope-15.7a-2.fc14
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2011-07-16 07:34:50 UTC
cscope-15.7a-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.