Bug 717545 - [abrt] cscope-15.7a-1.fc14: strchr: Process /usr/bin/cscope was killed by signal 11 (SIGSEGV)
Summary: [abrt] cscope-15.7a-1.fc14: strchr: Process /usr/bin/cscope was killed by sig...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cscope
Version: 14
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Neil Horman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:d90e9f77374a0e125071dfec67c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-29 07:59 UTC by Maciek Borzecki
Modified: 2011-07-16 07:34 UTC (History)
1 user (show)

Fixed In Version: cscope-15.7a-2.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-16 07:34:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (15.02 KB, text/plain)
2011-06-29 07:59 UTC, Maciek Borzecki
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.