Bug 852101
| Summary: | [abrt] ctags-5.8-7.fc17: parseCssLine: Process /usr/bin/ctags was killed by signal 11 (SIGSEGV) | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Peng Huang <shawn.p.huang> | ||||||||
| Component: | ctags | Assignee: | Than Ngo <than> | ||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 17 | CC: | Blue.Dog.Archolite, hvtaifwkbgefbaei, mstahl, than | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | abrt_hash:81d2d3e05d7d27681a4cf16545d6d08188229b6c | ||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2012-11-24 03:27:07 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
Peng Huang
2012-08-27 15:48:33 UTC
Created attachment 607243 [details]
File: environ
Created attachment 607244 [details]
File: backtrace
This issue only happens in ctags-5.8-7.fc17.x86_64. ctags-5.8-4.fc17.x86_64 does not have this issue. Created attachment 614417 [details]
css file causes the cash
Below change can fix the issues. please check it. thanks.
$ diff -u css.c.old css.c
--- css.c.old 2012-09-19 11:53:06.301463638 -0400
+++ css.c 2012-09-19 11:58:14.588538427 -0400
@@ -73,10 +73,11 @@
{
if( (int) *cp == '\0' )
{
+ // assign position to the end of line.
+ *position = cp;
cp = fileReadLine ();
if( cp == NULL ){
makeCssSimpleTag(name, kind, TRUE);
- *position = cp;
return P_STATE_AT_END;
}
}
i've got the same crash on a CSS file here, the patch from comment #5 seems to fix it. Ngo Than, kindly ping. Peng, i will build new package with this fix for f17 and f18. Many thanks for the fix! it's fixed in ctags-5.8-9.fc17 *** Bug 851648 has been marked as a duplicate of this bug. *** ctags-5.8-9.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/ctags-5.8-9.fc16 ctags-5.8-9.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/ctags-5.8-9.fc17 ctags-5.8-9.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/ctags-5.8-9.fc18 Package ctags-5.8-9.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ctags-5.8-9.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-18268/ctags-5.8-9.fc18 then log in and leave karma (feedback). ctags-5.8-9.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. ctags-5.8-9.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. ctags-5.8-9.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |