Bug 626199
Summary: | F12:gthumb core dumps at comments.c:749 when reading comment files from F13:gthumb | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tim Taiwanese Liim <tim.liim> | ||||
Component: | gthumb | Assignee: | Christian Krause <chkr> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 12 | CC: | chkr | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | gthumb-2.10.12-1.fc12 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-09-01 03:30: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
Tim Taiwanese Liim
2010-08-22 17:26:53 UTC
Created attachment 440234 [details] Proposed patch, version 1, so F12:gthumb can use comment files from F13. The fix in Comment #0 causes F12:gthumb to ignore comment files from F13:gthumb. But why should it? Many of the comment fields are similar, eg. place, note, time; but we have <Note>this is a test msg.</Note> # F12 <note>this is a test msg.</note> # F13 The only difference is in "Note" and "note". So F12:gthumb has no good reason to drop Note/Place field from F13. An update of gthumb to 2.10.12 in F12 is on its way. It will fix the issue that gthumb will crash when opening a file with comments generated by version 2.11.x. Please note, that it will not make help to actually read the new comments generated by 2.11.x. If you really need this feature, please file a bug report upstream ( https://bugzilla.gnome.org/enter_bug.cgi?product=gthumb ). gthumb-2.10.12-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/gthumb-2.10.12-1.fc12 Christian, Thanks for fast action! That's good, the core dump fixed. I'll file a bug upstream for reading comments from 2.11.x. Just checked the source code; the fix is good against core dump: if (format == NULL) return NULL; But now we have memory leak on 'doc' and 'data'. How about this? if (format == NULL) { xmlFreeDoc (doc); g_free (data); return NULL; } Thanks. gthumb-2.10.12-1.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update gthumb'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/gthumb-2.10.12-1.fc12 gthumb-2.10.12-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. For the record: I filed two bugs upstream for Comment #5 (628587) and Comment #1 (628626). 628587 memory leak at libgthumb/comments.c:750 628626 RFE: gthumb-2.10.x be able to read comments from 2.11.x https://bugzilla.gnome.org/show_bug.cgi?id=628587 https://bugzilla.gnome.org/show_bug.cgi?id=628626 Also I want to confirm that gthumb-2.10.12-1.fc12 solved this core dump (bug 626199). Christian, thanks! |