Bug 1715882
| Summary: | GIMP crashes on an svg file | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | udayb <udayreddy> | ||||
| Component: | gimp | Assignee: | Josef Ridky <jridky> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 30 | CC: | alex.ploumistos, caillon+fedoraproject, gnome-sig, igor.raits, john.j5live, jridky, klember, mclasen, nphilipp, phracek, rhughes, rstrode, sandmann, tcallawa, zdohnal | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | gimp-2.10.12-2.fc30 gimp-2.10.12-2.fc29 gimp-2.10-2920190806121754.6c81f848 gimp-2.10-3020190806121754.a5b0195c | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2019-08-03 01:17:01 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: | |||||||
| Attachments: |
|
||||||
|
Description
udayb
2019-05-31 13:58:23 UTC
I haven't tried other SVG files, nor this file on another system. But this clearly looks like a bug. I have tried that with different SVG file and GIMP crashed as well, so it looks like general SVG file reading issue. From further investigation, this issue is caused by librsvg2 package. When is used librsvg2-2.45.6-1.fc30, gimp plugin crashes with following backtrace: ---- START ---- loading menu '/usr/share/gimp/2.0/menus/image-menu.xml' for /image-menubar (file-svg:20920): librsvg-WARNING **: 09:51:17.437: Handle is still loading; call rsvg_handle_close() first thread '<unnamed>' panicked at 'Handle is not loaded', rsvg_internals/src/c_api.rs:656:13 stack backtrace: 0: <unknown> 1: <unknown> 2: <unknown> 3: <unknown> 4: <unknown> 5: <unknown> 6: <unknown> 7: <unknown> 8: <unknown> 9: gimp_main 10: __libc_start_main 11: <unknown> fatal runtime error: failed to initiate panic, error 5 /usr/lib64/gimp/2.0/plug-ins/file-svg/file-svg: fatal error: Aborted Terminating plug-in: '/usr/lib64/gimp/2.0/plug-ins/file-svg/file-svg' ---- END ---- When is used librsvg2-2.45.5-3.fc30, all works as expected. Moving this issue to librsvg2 package. I think this is gimp doing something wrong with RsvgHandle (not closing?). Older librsvg seemed to just warn about it, but newer version also crashes. I filed an upstream issue about that at https://gitlab.gnome.org/GNOME/librsvg/issues/486 As per librsvg https://gitlab.gnome.org/GNOME/librsvg/issues/486, librsvg upstream considers this a gimp bug: https://gitlab.gnome.org/GNOME/gimp/issues/2561 Moving the ticket back to gimp. Created attachment 1594380 [details] Fix for SVG size computation issue in how gimp was calling librsvg Taken from https://gitlab.gnome.org/GNOME/gimp/commit/38e87c2d16d0e519b35be9b2cdc9e5e28dbfab54 Confirmed that it resolves the issue for me. FEDORA-2019-1939456421 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-1939456421 FEDORA-2019-a9479d664d has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-a9479d664d gimp-2.10.12-2.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-1939456421 gimp-2.10.12-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-a9479d664d gimp-2.10.12-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. FEDORA-MODULAR-2019-371c062595 has been submitted as an update to Fedora 29 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2019-371c062595 FEDORA-MODULAR-2019-f5cc9ea786 has been submitted as an update to Fedora 30 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2019-f5cc9ea786 gimp-2.10-3020190806121754.a5b0195c has been pushed to the Fedora 30 Modular testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2019-f5cc9ea786 gimp-2.10-2920190806121754.6c81f848 has been pushed to the Fedora 29 Modular testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2019-371c062595 gimp-2.10.12-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. gimp-2.10-2920190806121754.6c81f848 has been pushed to the Fedora 29 Modular stable repository. If problems still persist, please make note of it in this bug report. gimp-2.10-3020190806121754.a5b0195c has been pushed to the Fedora 30 Modular stable repository. If problems still persist, please make note of it in this bug report. |