gthumb segfaults on some pictures

Bug #979938 reported by Oleg Gritsak on 2012-04-12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gthumb (Ubuntu)

Bug Description

On some pictures program segfaults. Did not find any workaround for this. Except for editing+resaving photo.

The same bug happen on both my PCs. Both were Ubuntu 11.10, recently upgraded to 12.04. Platform is x64, CPU Core2Duo. 4GB RAM. Desktop environment - xorg+Windowmaker. Otherwise both PCs are rock stable. Before upgrade to Precise, files opened fine. Tried another user account on both PCs - problem persists.

I have many such photos. Here is an example (5MB).

Used gdb on core file and it said:

Core was generated by `gthumb /home/ftp/img/2009_07_buryatia/rok/'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f1ff6277810 in g_markup_escape_text () from /lib/x86_64-linux-gnu/

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gthumb 3:2.14.3-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-22.35-generic 3.2.14
Uname: Linux 3.2.0-22-generic x86_64
ApportVersion: 2.0.1-0ubuntu2
Architecture: amd64
Date: Thu Apr 12 22:40:31 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
SourcePackage: gthumb
UpgradeStatus: Upgraded to precise on 2011-10-14 (181 days ago)

Oleg Gritsak (m-go-s) wrote :
FiX (fix-kowalski) wrote :

Possibly the same problem here.

- also an amd64 machine
- when importing photos from ~/Dropbox/Camera\ Uploads
- auto-tagging
- auto-folder using a custom filter (that wrked for years).
- same final backtrace frame

gthumb version:

ii gthumb 3:2.14.3-0ubuntu1 image viewer and browser
ii gthumb-data 3:2.14.3-0ubuntu1 image viewer and browser - arch-independent files

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffc3fff700 (LWP 6301)]
0x00007ffff56d9850 in g_markup_escape_text () from /lib/x86_64-linux-gnu/
(gdb) bt
#0 0x00007ffff56d9850 in g_markup_escape_text () from /lib/x86_64-linux-gnu/
#1 0x00000000004462fb in ?? ()
#2 0x0000000000445366 in ?? ()
#3 0x000000000044551f in ?? ()
#4 0x0000000000445366 in ?? ()
#5 0x000000000044551f in ?? ()
#6 0x0000000000445366 in ?? ()
#7 0x000000000044551f in ?? ()
#8 0x0000000000445366 in ?? ()
#9 0x0000000000446c3f in dom_document_dump ()
#10 0x00007fffdeb72694 in gth_comment_to_data () from /usr/lib/gthumb/extensions/
#11 0x00007fffdeb73465 in ?? () from /usr/lib/gthumb/extensions/
#12 0x00000000004a259c in gth_metadata_provider_write ()
#13 0x00000000004a2b02 in ?? ()
#14 0x00007ffff5c3de7c in ?? () from /usr/lib/x86_64-linux-gnu/
#15 0x00007ffff5c2d15e in ?? () from /usr/lib/x86_64-linux-gnu/
#16 0x00007ffff56f7248 in ?? () from /lib/x86_64-linux-gnu/
#17 0x00007ffff56f69e5 in ?? () from /lib/x86_64-linux-gnu/
#18 0x00007ffff4f61e9a in start_thread (arg=0x7fffc3fff700) at pthread_create.c:308
#19 0x00007ffff4c8ecbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Mantas Kriaučiūnas (mantas) wrote :

Ghtumb package in Ubuntu 12.04 LTS is very old (ver. 2.14) while latest upstream version is 3.1.2 - please install latest Ghtumb 3.1.2 package from webupd8team repository ppa:webupd8team/gthumb ( ), check if crash still persist and write comment here :)

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gthumb (Ubuntu):
status: New → Confirmed
FiX (fix-kowalski) wrote :

Problem fixed without upgrading gthumb to the ppa level. The error was likely fixed by a dependency library that was updated via usual Ubuntu updates. I believe that this bug can be closed.

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

Other bug subscribers