gtkam segmentation fault

Bug #1257108 reported by martywd on 2013-12-02
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gtkam (Ubuntu)

Bug Description

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
Description: Ubuntu 13.10 (64-bit liveDVD)
Release: 13.10
Description: Linux Mint 16 Petra (64-bit Clean Install)
Release: 16

2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
  Installed: 0.1.18-1ubuntu1
  Candidate: 0.1.18-1ubuntu1
  Version table:
 *** 0.1.18-1ubuntu1 0
        500 saucy/universe amd64 Packages
        100 /var/lib/dpkg/status

3) What you expected to happen
Click on 'Gtkam Digital Camera Browser' icon. 'gtkam' window launch.

4) What happened instead
  In Linux Mint: Nothing but syslog shows the following for each click of the icon:
Dec 2 16:50:36 triton kernel: [ 860.668343] gtkam[4173]: segfault at 47 ip 00007f86404ef100 sp 00007fff62400010 error 4 in[7f86404bd000+4f000]

And, LM 16 in a terminal window:
$ gtkam -d
gtkam-debug: Segmentation fault
With resulting entry in syslog:
Dec 2 16:53:57 xxxxx kernel: [ 1061.612912] gtkam[4465]: segfault at 0 ip 00007f85b96f87f2 sp 00007ffffdfc4340 error 4 in[7f85b96af000+1bd000]

Same occurs on the 13.10 liveDVD:
ubuntu@ubuntu:~$ gtkam -d
gtkam-debug: Segmentation fault (core dumped)

ubuntu@ubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy
ubuntu@ubuntu:~$ uname -a
Linux ubuntu 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Clicking 'Gtkam Digital Camera Browser' icon (3 trys):
Dec 2 22:26:58 ubuntu kernel: [ 875.475369] gtkam[7095]: segfault at 47 ip 00007ff85e1e2100 sp 00007fff34831740 error 4 in[7ff85e1b0000+4f000]
Dec 2 22:27:15 ubuntu kernel: [ 892.396831] gtkam[7126]: segfault at 47 ip 00007f29599b9100 sp 00007fffde5e9160 error 4 in[7f2959987000+4f000]
Dec 2 22:27:29 ubuntu kernel: [ 906.417416] gtkam[7165]: segfault at 47 ip 00007f17561eb100 sp 00007fffed438460 error 4 in[7f17561b9000+4f000]


martywd (martywd) on 2013-12-04
summary: - segfault prevents gtkam launch
+ gtkam segmentation fault
Launchpad Janitor (janitor) wrote :

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

Changed in gtkam (Ubuntu):
status: New → Confirmed
Chuck Ritola (cobra176) wrote :

This suddenly started happening recently after years of ok function. Segfaults immediately before spawning a window.

Segfaults regardless of whether there is a camera plugged in or not.

Deleting .gphoto did not resolve.

Full remove/reinstall did not resolve.

Run as root did not resolve.

I am still able to use gphoto2 from CLI.

Because the last working use was weeks ago, I cannot isolate what changed. Here are known aspects which stayed the same or changed:
Version stayed Ubuntu 13.10
No change in hard drives or directories.
Did add realtime permissions for my user.
Camera brand and configuration remained the same.
Motherboard, USB cable, processor remained the same.

Info about current state:
3.11.0-19-generic #33-Ubuntu SMP Tue Mar 11 18:48:34 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

tail syslog:
Apr 9 23:58:44 machine kernel: [318035.575749] gtkam[14150]: segfault at 0 ip 00007ff82ebac7f2 sp 00007fff002bdc90 error 4 in[7ff82eb63000+1bd000]

lsb_release -a
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy

gdb gtkam
GNU gdb (GDB) 7.6.1-ubuntu
Copyright (C) 2013 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/gtkam...Reading symbols from /usr/lib/debug/usr/bin/gtkam...done.
(gdb) run
Starting program: /usr/bin/gtkam
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/".
[New Thread 0x7fffde3a3700 (LWP 14205)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff714a100 in g_type_check_instance_cast ()
   from /usr/lib/x86_64-linux-gnu/
(gdb) backtrace
#0 0x00007ffff714a100 in g_type_check_instance_cast ()
   from /usr/lib/x86_64-linux-gnu/
#1 0x00000000004153a9 in start_func (c=<optimized out>, target=64,
    format=0x85bcf0 "Loading camera drivers from '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.2'...", args=0x83de60, data=0x47) at gtkam-status.c:165
#2 0x00007ffff6ba4f48 in gp_context_progress_start ()
   from /usr/lib/x86_64-linux-gnu/
#3 0x00007ffff6b9cc22 in gp_abilities_list_load_dir ()
   from /usr/lib/x86_64-linux-gnu/
#4 0x00007ffff6b9cee9 in gp_abilities_list_load ()
   from /usr/lib/x86_64-linux-gnu/
#5 0x000000000041865a in gtkam_tree_load (tree=0x786580) at gtkam-tree.c:1424
#6 0x000000000040a198 in main (argc=1, argv=0x7fffffffe088) at main.c:128

martywd (martywd) wrote :

I thought this was fixed in Linux Mint 17 (MATE 64-bit)? It's not. Since some camera's are not being presented with the mount option at all in LM17 (and Ubuntu 14.04 as well) was going to be my alternative.

~ # lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 17 Qiana
Release: 17
Codename: qiana

~ # uname -a
Linux triton 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

'gtkam' does not segfault at startup. Now it crashes after completing transfer of some images from the camera (Canon SX260) to the hard drive. The transfer completes successfully, but then when I click on another 'directory' which my camera creates month by month, gtkam then crashes.

Jun 19 11:50:46 jupiter kernel: [50139.433706] gtkam[25344]: segfault at 1d2e0ba0 ip 00007fd1581a2369 sp 00007fffede633c0 error 4 in[7fd158174000+106000]
Jun 19 11:54:22 jupiter kernel: [50356.412408] gtkam[25632]: segfault at 0 ip 00000000004133ec sp 00007fffc07885f0 error 4 in gtkam[400000+2a000]

The workaround at this point...? I'm using 'gphotofs' to mount and transfer files from the camera to the hard drive. Not as convenient as 'gtkam' though.

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

Other bug subscribers