gthumb crashes if it doesn't like format/content of XML files in .comments folder

Bug #659318 reported by ADFH on 2010-10-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gthumb (Ubuntu)

Bug Description

Binary package hint: gthumb

$ gdb --args gthumb .
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /usr/bin/gthumb...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/gthumb .
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffe82b3710 (LWP 13329)]
[New Thread 0x7fffe70df710 (LWP 13330)]
[New Thread 0x7fffe63ea710 (LWP 13331)]
[New Thread 0x7fffe5be9710 (LWP 13332)]
[New Thread 0x7fffe53e8710 (LWP 13333)]
[New Thread 0x7fffe4be7710 (LWP 13334)]
[New Thread 0x7fffe43e6710 (LWP 13335)]
[New Thread 0x7fffe4365710 (LWP 13336)]
[New Thread 0x7fffe42e4710 (LWP 13337)]
[New Thread 0x7fffdff3f710 (LWP 13338)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7843ce8 in comments_load_comment () from /usr/lib/gthumb/

It appears when certain .xml files are in the .comments subfolder, gthumb will crash.

The attached XML file was not created manually by me, but by some process, possibly in a previous linux install, and was situated in the .comments subdirectory of a folder containing images.

When I emptied the .comments folder, gthumb started without fault.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gthumb
ProcVersionSignature: Ubuntu 2.6.32-25.44-generic
Uname: Linux 2.6.32-25-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Wed Oct 13 02:54:23 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Release Candidate amd64 (20100419.1)
SourcePackage: gthumb
Architecture: amd64
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Release Candidate amd64 (20100419.1)
NonfreeKernelModules: nvidia
Package: gthumb
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 2.6.32-26.47-generic
Tags: lucid
Uname: Linux 2.6.32-26-generic x86_64
UserGroups: adm admin audio cdrom dialout libvirtd lpadmin plugdev sambashare vboxusers

ADFH (adfh) wrote :
ADFH (adfh) wrote :

To test further, I took the attached XML file from this report and replaced an XML file I created by adding a comment through gthumb. gthumb segfaulted again.

I removed the XML file from the folder (leaving other XML files in place) and gthumb did not crash.

It therefore does seem that certain XML file contents will cause segfaults. An app shouldn't crash because a file contains unexpected data.

tags: added: apport-collected
description: updated
ADFH (adfh) wrote : Dependencies.txt

apport information

summary: - gthumb crashes upon opening a folder with a .comments subfolder
+ gthumb crashes if it doesn't like format/content of XML files in
+ .comments folder
mjc (mjc-avtechpulse) wrote :

This is fixed upstream - try upgrading to gThumb 2.12.0 or 2.12.1.

- Mike

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers