Bug 1126449
| Summary: | libcomps: segfault when parsing XML | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mikolaj Izdebski <mizdebsk> |
| Component: | libcomps | Assignee: | Jindrich Luza <jluza> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | jluza |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | libcomps-0.1.6-13.fc20 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-08-15 02:31:18 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
(In reply to Mikolaj Izdebski from comment #0) > Steps to Reproduce: > $ cat reproducer.py > import libcomps > comps = libcomps.Comps() > comps.fromxml_str("foo") And of course run the reproducer: $ python reproducer.py libcomps-0.1.6-13.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/libcomps-0.1.6-13.fc20 Package libcomps-0.1.6-13.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing libcomps-0.1.6-13.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-9197/libcomps-0.1.6-13.fc20 then log in and leave karma (feedback). libcomps-0.1.6-13.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: libcomps segfaults when trying to parse comps XML. Version-Release number of selected component (if applicable): 0.1.6-99.963.20140605gite8c2d8315b1d10e35461450235dac9da267ecb2d Steps to Reproduce: $ cat reproducer.py import libcomps comps = libcomps.Comps() comps.fromxml_str("foo") Actual results: Program received signal SIGSEGV, Segmentation fault. 0x00007ffff03d444f in __comps_after_parse () from /lib64/libcomps.so.0.1.6 Additional info: (gdb) bt #0 0x00007ffff03d444f in __comps_after_parse () from /lib64/libcomps.so.0.1.6 #1 0x00007ffff03d465e in comps_parse_str () from /lib64/libcomps.so.0.1.6 #2 0x00007ffff05ef9d8 in PyCOMPS_fromxml_str () from /usr/lib64/python2.7/site-packages/libcomps/_libpycomps.so #3 0x00007ffff7af7bd4 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0 #4 0x00007ffff7af91ed in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0 #5 0x00007ffff7af92f2 in PyEval_EvalCode () from /lib64/libpython2.7.so.1.0 #6 0x00007ffff7b1272f in ?? () from /lib64/libpython2.7.so.1.0 #7 0x00007ffff7b138ee in PyRun_FileExFlags () from /lib64/libpython2.7.so.1.0 #8 0x00007ffff7b14b79 in PyRun_SimpleFileExFlags () from /lib64/libpython2.7.so.1.0 #9 0x00007ffff7b25b9f in Py_Main () from /lib64/libpython2.7.so.1.0 #10 0x00007ffff6d4ed65 in __libc_start_main () from /lib64/libc.so.6 #11 0x0000000000400721 in _start ()