Subject: gphoto2: Fails to initialize CanonPowerShot G5 after upgrade from stable

From: Helge Kreutzmann <[email-masked]>
Date: Sun, 31 Aug 2014 20:18:44 +0200

Package: gphoto2
Version: 2.5.4-1
Severity: important

After update from stable gphoto2 is unable to access pictures from the
camera. It is detected, but still not usable. (Log is attached).
Rebuilding the version from stable 2.4.14-1 in current testing and
replacing 2.5.4-1 by the rebuild 2.4.14-1 makes everything functional
as before in stable. (I.e. a regression from stable)

Please tell me which further other information I can provide to help
you (strace, gdb, …)

Now the full trace for the non-functional 2.5.4-1 from testing:

0.000158 main(2): BITTE IMMER FOLGENDE ZEILE EINFÜGEN WENN DEBUG MESSAGES AN DIE MAILINGLISTE GESCHICKT WERDEN:
0.000274 main(2): gphoto2 2.5.4
0.000302 main(2): gphoto2 wurde mit den folgenden Optionen übersetzt:
0.000317 main(2):  + gcc (C compiler used)
0.000331 main(2):  + popt (mandatory, for handling command-line parameters)
0.000344 main(2):  + exif (for displaying EXIF information)
0.000358 main(2):  + cdk (for accessing configuration options)
0.000371 main(2):  + aa (for displaying live previews)
0.000384 main(2):  + jpeg (for displaying live previews in JPEG format)
0.000397 main(2):  + readline (for easy navigation in the shell)
0.000423 main(2): libgphoto2 2.5.4
0.000440 main(2): libgphoto2 wurde mit den folgenden Optionen übersetzt:
0.000453 main(2):  + all camlibs
0.000467 main(2):  + gcc (C compiler used)
0.000480 main(2):  + ltdl (for portable loading of camlibs)
0.000493 main(2):  + EXIF (for special handling of EXIF files)
0.000510 main(2): libgphoto2_port 0.10.0
0.000525 main(2): libgphoto2_port wurde mit den folgenden Optionen übersetzt:
0.000538 main(2):  + gcc (C compiler used)
0.000551 main(2):  + ltdl (for portable loading of camlibs)
0.000564 main(2):  + USB (libusb1, for USB cameras)
0.000577 main(2):  + serial (for serial cameras)
0.000590 main(2):  + no resmgr (serial port access and locking)
0.000603 main(2):  + no ttylock (serial port locking)
0.000615 main(2):  + no lockdev (serial port locking)
0.000634 main(2): CAMLIBS env var not set, using compile-time default instead
0.000647 main(2): IOLIBS env var not set, using compile-time default instead
0.000660 main(2): invoked with following arguments:
0.000674 main(2):   --debug
0.000686 main(2):   --debug-logfile=my-logfile.txt
0.000699 main(2):   -L
0.000792 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto
0.000941 setting/gphoto2-setting.c(2): Loading settings from file "/home/helge/.gphoto/settings"
0.001512 main(2): The user has not specified both a model and a port. Try to figure them out.
0.001574 gphoto2-port-info-list(2): Benutze ltdl um I/O Treiber von '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0' zu laden...
0.001856 gphoto2-port-info-list(2): Aufgerufen für »/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/disk«.
0.002421 gphoto2-port/disk(2): found fstab fsname proc
0.002464 gphoto2-port/disk(2): found fstab fsname UUID=d177edaa-ecb6-4c8a-b08d-7e8eb95ec8d3
0.002515 gphoto2-port/disk(2): found fstab fsname UUID=f4e83039-83ca-4cbc-bd67-79d1f7a215e3
0.002558 gphoto2-port/disk(2): found fstab fsname /dev/mapper/system_vg-home_vg
0.002601 gphoto2-port/disk(2): found fstab fsname /dev/mapper/system_vg-tmp_lv
0.002643 gphoto2-port/disk(2): found fstab fsname /dev/mapper/system_vg-usr_vg
0.002683 gphoto2-port/disk(2): found fstab fsname /dev/mapper/system_vg-var_vg
0.002723 gphoto2-port/disk(2): found fstab fsname tmpfs
0.002769 gphoto2-port/disk(2): found fstab fsname /dev/mapper/system_vg-swap_vg
0.002810 gphoto2-port/disk(2): found fstab fsname /dev/sr0
0.002850 gphoto2-port/disk(2): found fstab fsname /dev/sdb1
0.002888 gphoto2-port/disk(2): found fstab fsname /dev/mapper/system_vg-build_lv
0.002931 gphoto2-port/disk(2): found fstab fsname /dev/mapper/system_vg-mirror_lv
0.002971 gphoto2-port/disk(2): found fstab fsname /dev/mapper/system_vg-cache_lv
0.003013 gphoto2-port/disk(2): found fstab fsname /dev/mapper/system_vg-media_lv
0.003053 gphoto2-port/disk(2): found fstab fsname /dev/mapper/system_vg-video_lv
0.003117 gphoto2-port/disk(2): found fstab fsname /dev/mapper/system_vg-aptcache_lv
0.003346 gphoto2-port/disk(2): found mtab fsname rootfs
0.003388 gphoto2-port/disk(2): found mtab fsname /dev/root
0.003422 gphoto2-port/disk(2): found mtab fsname devtmpfs
0.003445 gphoto2-port/disk(2): found mtab fsname sysfs
0.003467 gphoto2-port/disk(2): found mtab fsname tmpfs
0.003506 gphoto2-port/disk(2): found mtab fsname tmpfs
0.003547 gphoto2-port/disk(2): found mtab fsname proc
0.003568 gphoto2-port/disk(2): found mtab fsname tmpfs
0.003607 gphoto2-port/disk(2): found mtab fsname devpts
0.003629 gphoto2-port/disk(2): found mtab fsname fusectl
0.003674 gphoto2-port/disk(2): found mtab fsname /dev/sda2
0.003712 gphoto2-port/disk(2): found mtab fsname /dev/mapper/system_vg-home_vg
0.003753 gphoto2-port/disk(2): found mtab fsname /dev/mapper/system_vg-tmp_lv
0.003839 gphoto2-port/disk(2): found mtab fsname /dev/mapper/system_vg-usr_vg
0.003879 gphoto2-port/disk(2): found mtab fsname /dev/mapper/system_vg-var_vg
0.003917 gphoto2-port/disk(2): found mtab fsname /dev/mapper/system_vg-build_lv
0.003958 gphoto2-port/disk(2): found mtab fsname /dev/mapper/system_vg-mirror_lv
0.003999 gphoto2-port/disk(2): found mtab fsname /dev/mapper/system_vg-cache_lv
0.004039 gphoto2-port/disk(2): found mtab fsname /dev/mapper/system_vg-media_lv
0.004079 gphoto2-port/disk(2): found mtab fsname /dev/mapper/system_vg-aptcache_lv
0.004122 gphoto2-port/disk(2): found mtab fsname binfmt_misc
0.004178 gphoto2-port/disk(2): found mtab fsname /dev/mapper/system_vg-video_lv
0.004339 gphoto2-port-info-list(2): Konnte Port Treiberliste»Unspezifizierter Fehler« nicht laden.
0.004371 gphoto2-port-info-list(2): Habe '' ('^disk:') von '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/disk' geladen.
0.004391 gphoto2-port-info-list(2): Aufgerufen für »/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/ptpip«.
0.004687 gphoto2-port-info-list(2): Habe 'PTP/IP Connection' ('ptpip:') von '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/ptpip' geladen.
0.004711 gphoto2-port-info-list(2): Habe '' ('^ptpip:') von '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/ptpip' geladen.
0.004729 gphoto2-port-info-list(2): Aufgerufen für »/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/serial«.
0.005300 gphoto2-port-info-list(2): Habe 'Serieller Port 0' ('serial:/dev/ttyS0') von '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/serial' geladen.
0.005324 gphoto2-port-info-list(2): Habe 'Serieller Port 1' ('serial:/dev/ttyS1') von '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/serial' geladen.
0.005342 gphoto2-port-info-list(2): Habe 'Serieller Port 2' ('serial:/dev/ttyS2') von '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/serial' geladen.
0.005359 gphoto2-port-info-list(2): Habe 'Serieller Port 3' ('serial:/dev/ttyS3') von '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/serial' geladen.
0.005376 gphoto2-port-info-list(2): Habe '' ('^serial:') von '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/serial' geladen.
0.005394 gphoto2-port-info-list(2): Aufgerufen für »/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/usb1«.
0.008161 gphoto2-port-info-list(2): Habe '' ('^usb:') von '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/usb1' geladen.
0.008199 gphoto2-port-info-list(2): Habe 'Universal Serial Bus' ('usb:') von '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/usb1' geladen.
0.008220 gphoto2-port-info-list(2): Aufgerufen für »/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/usbdiskdirect«.
0.008568 gphoto2-port-info-list(2): Aufgerufen für »/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/usbscsi«.
0.008888 gphoto2-port-info-list(2): Counting entries (10 available)...
0.008916 gphoto2-port-info-list(2): 6 regular entries available.
0.008963 gphoto2-abilities-list(2): Using ltdl to load camera libraries from '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4'...
0.009501 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/adc65'.
0.009534 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/agfa_cl20'.
0.009552 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/aox'.
0.009568 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/ax203'.
0.009585 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/barbie'.
0.009601 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/canon'.
0.009617 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/casio_qv'.
0.009633 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/clicksmart310'.
0.009649 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/digigr8'.
0.009691 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/digita'.
0.009708 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/dimagev'.
0.009724 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/dimera3500'.
0.009741 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/directory'.
0.009756 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/enigma13'.
0.009772 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/fuji'.
0.009788 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/gsmart300'.
0.009805 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/hp215'.
0.009821 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/iclick'.
0.009837 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/jamcam'.
0.009853 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/jd11'.
0.009868 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/jl2005a'.
0.009884 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/jl2005c'.
0.009900 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/kodak_dc120'.
0.009916 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/kodak_dc210'.
0.009932 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/kodak_dc240'.
0.009947 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/kodak_dc3200'.
0.009963 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/kodak_ez200'.
0.009979 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/konica'.
0.009995 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/konica_qm150'.
0.010011 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/largan'.
0.010026 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/lg_gsm'.
0.010042 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/mars'.
0.010058 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/mustek'.
0.010075 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/panasonic_coolshot'.
0.010091 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/panasonic_dc1000'.
0.010107 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/panasonic_dc1580'.
0.010123 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/panasonic_l859'.
0.010139 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/pccam300'.
0.010155 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/pccam600'.
0.010171 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/pentax'.
0.010187 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/polaroid_pdc320'.
0.010203 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/polaroid_pdc640'.
0.010219 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/polaroid_pdc700'.
0.010235 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/ptp2'.
0.010250 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/ricoh'.
0.010266 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/ricoh_g3'.
0.010282 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/samsung'.
0.010298 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/sierra'.
0.010313 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/sipix_blink2'.
0.010329 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/sipix_web2'.
0.010345 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/smal'.
0.010376 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/sonix'.
0.010393 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/sony_dscf1'.
0.010409 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/sony_dscf55'.
0.010425 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/soundvision'.
0.010440 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/spca50x'.
0.010456 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/sq905'.
0.010472 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/st2205'.
0.010488 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/stv0674'.
0.010504 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/stv0680'.
0.010519 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/sx330z'.
0.010535 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/topfield'.
0.010551 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/toshiba_pdrm11'.
0.010567 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/tp6801'.
0.010595 gp-abilities-list(2): Found 64 camera drivers.
0.100856 gphoto2-port-info-list(2): Counting entries (10 available)...
0.100911 gphoto2-port-info-list(2): 6 regular entries available.
0.100937 gphoto2-port(2): Lege neues Gerät an...
0.100968 gphoto2-port-info-list(2): Getting info of entry 0 (10 available)...
0.101281 gphoto2-port(2): Setze Einstellungen...
0.101320 gphoto2-port-info-list(2): Getting info of entry 1 (10 available)...
0.101614 gphoto2-port(2): Setze Timeout auf 500 Millisekunden...
0.101636 gphoto2-port(2): Setze Einstellungen...
0.101659 gphoto2-port-info-list(2): Getting info of entry 2 (10 available)...
0.101923 gphoto2-port(2): Setze Timeout auf 500 Millisekunden...
0.101944 gphoto2-port(2): Setze Einstellungen...
0.101966 gphoto2-port-info-list(2): Getting info of entry 3 (10 available)...
0.102220 gphoto2-port(2): Setze Timeout auf 500 Millisekunden...
0.102241 gphoto2-port(2): Setze Einstellungen...
0.102263 gphoto2-port-info-list(2): Getting info of entry 4 (10 available)...
0.102513 gphoto2-port(2): Setze Timeout auf 500 Millisekunden...
0.102534 gphoto2-port(2): Setze Einstellungen...
0.102556 gphoto2-port-info-list(2): Getting info of entry 5 (10 available)...
0.104605 gphoto2-port(2): Setze Timeout auf 5000 Millisekunden...
0.104638 gphoto2-port(2): Setze Einstellungen...
0.104666 libusb1(2): gp_port_usb_update(old int=0, conf=-1, alt=-1) port usb:, (new int=0, conf=-1, alt=-1) port usb:
0.104683 gphoto2-abilities-list.c(1): Auto-detecting USB cameras...
0.117409 gphoto2-port(2): Lösche Port...
0.117448 gphoto2-port(2): Schließe Port...
0.117996 gphoto2-camera(2): Setting abilities ('Canon PowerShot G5 (PTP mode)')...
0.118027 gphoto2-setting(2): Setting key 'model' to value 'Canon PowerShot G5 (PTP mode)' (gphoto2)
0.118047 gphoto2-setting(2): Saving 2 setting(s) to file "/home/helge/.gphoto/settings"
0.118263 gphoto2-port-info-list(2): Looking for path 'usb:' (10 entries available)...
0.118300 gphoto2-port-info-list(2): Getting info of entry 5 (10 available)...
0.118322 gphoto2-camera(2): Setting port info for port 'Universal Serial Bus' at 'usb:'...
0.120261 gphoto2-port(2): Setze Timeout auf 5000 Millisekunden...
0.120295 gphoto2-port(2): Setze Einstellungen...
0.120323 libusb1(2): gp_port_usb_update(old int=0, conf=-1, alt=-1) port usb:, (new int=0, conf=-1, alt=-1) port usb:
0.120344 gphoto2-setting(2): Setting key 'port' to value 'usb:' (gphoto2)
0.120363 gphoto2-setting(2): Saving 2 setting(s) to file "/home/helge/.gphoto/settings"
0.120510 gphoto2-camera(2): Initializing camera...

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.61sneo.02-grsec (SMP w/6 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gphoto2 depends on:
ii  libaa1             1.4p5-43
ii  libc6              2.19-9
ii  libcdk5            5.0.20060507-4
ii  libexif12          0.6.21-2
ii  libgphoto2-6       2.5.4-1
ii  libgphoto2-port10  2.5.4-1
ii  libjpeg8           8d1-1
ii  libncurses5        5.9+20140712-2
ii  libpopt0           1.16-8
ii  libreadline6       6.3-8

gphoto2 recommends no packages.

Versions of packages gphoto2 suggests:
pn  gthumb  <none>
pn  gtkam   <none>

-- no debconf information
-- 
      Dr. Helge Kreutzmann                     [email-masked]
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/