Bug#707681: gvfsd-gphoto2 dumps core

Felipe Reyes freyes at tty.cl
Tue Nov 5 19:31:29 UTC 2013


Package: gvfs-backends
Version: 1.16.3-1+b2
Followup-For: Bug #707681

Dear Maintainer,

   * What led up to the situation?
   I connected a Canon Rebel XT and I could not import my photos.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
     I tried running several photo programs, using gtkam I sucessfully
     imported my photos, but f-spot didn't work

The camera is detected properly according to lshal. Here is the syslog
relevant portion when I connected the camera:

kernel: [26918.032105] usb 1-2: new high-speed USB device number 8 using ehci_hcd
kernel: [26918.179284] usb 1-2: New USB device found, idVendor=04a9, idProduct=30ee
kernel: [26918.179299] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
kernel: [26918.179308] usb 1-2: Product: Canon Digital Camera
kernel: [26918.179316] usb 1-2: Manufacturer: Canon Inc.
mtp-probe: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:12.2/usb1/1-2"
mtp-probe: bus: 1, device: 8 was not an MTP device
colord: Device added: sysfs-Canon_Inc.-Canon_Digital_Camera
kernel: [26940.145465] gvfs-gphoto2-vo[10215]: segfault at 78 ip 00007ff89aa3c0d0 sp 00007ffffff22d48 error 4 in libusb-1.0.so.0.1.0[7ff89aa38000+16000]

As other people mentioned on the reported, the problem appears running
the program /usr/lib/gvfs/gvfs-gphoto2-volume-monitor. I executed it
using gdb and here it is the backtrace:

Program received signal SIGSEGV, Segmentation fault.
libusb_get_bus_number (dev=0x40) at ../../libusb/core.c:741
741	../../libusb/core.c: No such file or directory.
(gdb) thread apply bt full
(gdb) bt full
#0  libusb_get_bus_number (dev=0x40) at ../../libusb/core.c:741
No locals.
#1  0x00007ffff4ccda40 in ?? () from /usr/lib/x86_64-linux-gnu/libgphoto2_port/0.8.0/usb1.so
No symbol table info available.
#2  0x00007ffff7955f07 in gp_port_usb_find_device_by_class () from /usr/lib/x86_64-linux-gnu/libgphoto2_port.so.0
No symbol table info available.
#3  0x00007ffff7b61cb9 in gp_abilities_list_detect () from /usr/lib/x86_64-linux-gnu/libgphoto2.so.2
No symbol table info available.
#4  0x00007ffff7b64dff in gp_camera_init () from /usr/lib/x86_64-linux-gnu/libgphoto2.so.2
No symbol table info available.
#5  0x00000000004067af in get_stores_for_camera (bus_num=bus_num at entry=0x63d5b0 "001", device_num=device_num at entry=0x63d630 "007")
    at ggphoto2volumemonitor.c:636
        l = 0x0
        storage_info = 0x3000000002
        context = 0x63d030
        info = {type = GP_PORT_USB, name = "Universal Serial Bus\000Sc\000\000\000\000\000\367\227Ѝzx\333\340", '\000' <repeats 27 times>, 
          path = "usb:001,007\000\000\000\000\000\000\000\000\000\070Wc\000\000\000\000\000\257\001\235\303", '\000' <repeats 20 times>, "\240\323\377\377\377\177\000\000\377\377\377\377", 
          library_filename = "/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.8.0/usb1", '\000' <repeats 16 times>, "\360Yc\000\000\000\000\000pSc\000\000\000\000\000@\330c", '\000' <repeats 13 times>, "\020\322\377\377\377\177\000\000\002\000\000\000\000\000\000\000\230z\220\366\377\177\000\000&\220L\366\377\177\000\000\000\314\377\367\377\177\000\000\360\320\377\367\377\177\000\000`\320\377\367\377\177\000\000\000p\375\367\377\177\000\000\314#m\366\377\177\000\000\320\321\377\377\377\177\000\000\234C\237\366\377\177\000\000\002\000\000\000\377\177", '\000' <repeats 14 times>...}
        il = 0x0
        num_storage_info = 0
        n = <optimized out>
        rc = <optimized out>
        camera = 0x63d0c0
        port = 0x63d010 "usb:001,007"
        i = <optimized out>
#6  0x0000000000406976 in gudev_add_camera (monitor=0x628400, device=0x629320, do_emit=0) at ggphoto2volumemonitor.c:221
        volume = <optimized out>
        store_heads = <optimized out>
        usb_device_num = 0x63d630 "007"
        l = <optimized out>
        num_store_heads = <optimized out>
        usb_bus_num = 0x63d5b0 "001"
        do_emit = 0
        device = 0x629320
        monitor = 0x628400
#7  0x0000000000406ee8 in gudev_coldplug_cameras (monitor=0x628400) at ggphoto2volumemonitor.c:327
        d = 0x629320
        usb_devices = <optimized out>
        l = 0x624840
#8  g_gphoto2_volume_monitor_constructor (type=<optimized out>, n_construct_properties=<optimized out>, construct_properties=<optimized out>)
    at ggphoto2volumemonitor.c:386
        subsystems = {0x40ecb6 "usb", 0x0}
        object = 0x628400
        monitor = 0x628400
        klass = <optimized out>
        parent_class = <optimized out>
        construct_properties = <optimized out>
        n_construct_properties = <optimized out>
        type = <optimized out>
        object = <optimized out>
#9  0x00007ffff71b24d1 in g_object_newv (object_type=object_type at entry=6439376, n_parameters=n_parameters at entry=0, parameters=parameters at entry=0x0)
    at /tmp/buildd/glib2.0-2.36.4/./gobject/gobject.c:1638
        cparams = 0x0
        oparams = 0x0
        nqueue = 0x0
        object = <optimized out>
        class = 0x6280e0
        unref_class = 0x0
        slist = 0x0
        n_total_cparams = <optimized out>
        n_cparams = 0
        n_oparams = 0
        n_cvalues = <optimized out>
        cvalues = <optimized out>
        clist = <optimized out>
        newly_constructed = <optimized out>
        i = <optimized out>
        __PRETTY_FUNCTION__ = "g_object_newv"
#10 0x00007ffff71b2b2c in g_object_new (object_type=6439376, first_property_name=first_property_name at entry=0x0)
    at /tmp/buildd/glib2.0-2.36.4/./gobject/gobject.c:1548
        var_args = {{gp_offset = 4145676568, fp_offset = 32767, overflow_arg_area = 0x6280e0, reg_save_area = 0x0}}
        __PRETTY_FUNCTION__ = "g_object_new"
#11 0x0000000000409566 in monitor_try_create () at gvfsproxyvolumemonitordaemon.c:1886
        klass = 0x6280e0
        mounts = <optimized out>
        l = <optimized out>
#12 0x000000000040ab92 in g_vfs_proxy_volume_monitor_daemon_main (argc=<optimized out>, argv=<optimized out>, 
    dbus_name=0x40ea68 "org.gtk.Private.GPhoto2VolumeMonitor", volume_monitor_type=6439376) at gvfsproxyvolumemonitordaemon.c:1998
        name_owner_id = 0
#13 0x00007ffff68f6995 in __libc_start_main (main=0x4059a0 <main>, argc=1, ubp_av=0x7fffffffe2e8, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffffffe2d8) at libc-start.c:260
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 2244085398475151351, 4217293, 140737488347872, 0, 0, -2244085397541840905, 
                -2244064915019360265}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x40e9c0 <__libc_csu_init>, 0x7fffffffe2e8}, data = {
              prev = 0x0, cleanup = 0x0, canceltype = 4254144}}}
        not_first_call = <optimized out>
#14 0x00000000004059f6 in _start ()
No symbol table info available.



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gvfs-backends depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.16.1-1
ii  gvfs                                         1.16.3-1+b2
ii  gvfs-common                                  1.16.3-1
ii  gvfs-daemons                                 1.16.3-1+b2
ii  gvfs-libs                                    1.16.3-1+b2
ii  libarchive13                                 3.1.2-7
ii  libavahi-client3                             0.6.31-2
ii  libavahi-common3                             0.6.31-2
ii  libavahi-glib1                               0.6.31-2
ii  libbluetooth3                                4.101-3
ii  libc6                                        2.17-93
ii  libcdio-cdda1                                0.83-4
ii  libcdio-paranoia1                            0.83-4
ii  libcdio13                                    0.83-4
ii  libdbus-1-3                                  1.6.14-1
ii  libdbus-glib-1-2                             0.100.2-1
ii  libexpat1                                    2.1.0-4
ii  libgcrypt11                                  1.5.3-2
ii  libglib2.0-0                                 2.36.4-1
ii  libgoa-1.0-0                                 3.8.3-2
ii  libgphoto2-2                                 2.4.14-2.3
ii  libgphoto2-port0                             2.4.14-2.3
ii  libgtk-3-0                                   3.8.4-1
ii  libgudev-1.0-0                               175-7.2
ii  libimobiledevice4                            1.1.5-2
ii  libmtp9                                      1.1.6-20-g1b9f164-1
ii  libplist1                                    1.10-1
ii  libsmbclient                                 2:4.0.10+dfsg-4
ii  libsoup-gnome2.4-1                           2.42.2-6
ii  libsoup2.4-1                                 2.42.2-6
ii  libxml2                                      2.9.1+dfsg1-3
ii  psmisc                                       22.20-1

Versions of packages gvfs-backends recommends:
ii  gnome-keyring  3.8.2-2

Versions of packages gvfs-backends suggests:
ii  obex-data-server  0.4.5-1+b3
pn  samba-common      <none>

-- no debconf information



More information about the pkg-gnome-maintainers mailing list