Comment 2 for bug 1257108

Revision history for this message
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 libc-2.17.so[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 <http://gnu.org/licenses/gpl.html>
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:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/gtkam...Reading symbols from /usr/lib/debug/usr/bin/gtkam...done.
done.
(gdb) run
Starting program: /usr/bin/gtkam
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[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/libgobject-2.0.so.0
(gdb) backtrace
#0 0x00007ffff714a100 in g_type_check_instance_cast ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#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/libgphoto2.so.6
#3 0x00007ffff6b9cc22 in gp_abilities_list_load_dir ()
   from /usr/lib/x86_64-linux-gnu/libgphoto2.so.6
#4 0x00007ffff6b9cee9 in gp_abilities_list_load ()
   from /usr/lib/x86_64-linux-gnu/libgphoto2.so.6
#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