[gphoto2] Erreur de segmentation (résolu)

Applications, problèmes de configuration réseau
ludovic815
Daikyu
Messages : 70
Inscription : mar. 20 sept. 2011, 18:55

[gphoto2] Erreur de segmentation (résolu)

Message par ludovic815 »

Bonjour !
Je voudrais prendre des photos avec mon appareil photo depuis mon pc.
J'ai donc installé gphoto2 et manque de bol, ça segfault…
Voici ce que je fais, avec le résultat :

Code : Tout sélectionner

gphoto2 --auto-detect
Modèle                        Port                                             
----------------------------------------------------------
Canon EOS 400D (PTP mode)      usb:001,004
Jusque là tout va bien, puis :

Code : Tout sélectionner

gphoto2 --capture-image
Erreur de segmentation
C'est vraiment pas cool comme erreur !
Est-ce que quelqu'un a une idée pour m'aider ?
Entangle me fait la même erreur…
Je joins le debug de gphoto2 :

Code : Tout sélectionner

0.000146 main(2): TOUJOURS FOURNIR LES LIGNES CI-DESSOUS LORS DE L'ENVOI DE MESSAGE(S) DE DÉBOGAGE À LA LISTE DE DIFFUSION :
0.000415 main(2): gphoto2 2.4.14
0.000694 main(2): gphoto2 a été compilé avec les options suivantes :
0.000737 main(2):  + gcc (C compiler used)
0.000777 main(2):  + popt (mandatory, for handling command-line parameters)
0.000818 main(2):  + exif (for displaying EXIF information)
0.000857 main(2):  + no cdk (for accessing configuration options)
0.000895 main(2):  + no aa (for displaying live previews)
0.000933 main(2):  + jpeg (for displaying live previews in JPEG format)
0.000972 main(2):  + readline (for easy navigation in the shell)
0.001021 main(2): libgphoto2 2.4.14
0.001068 main(2): libgphoto2 a été compilé avec les options suivantes :
0.001107 main(2):  + gcc (C compiler used)
0.001150 main(2):  + ltdl (for portable loading of camlibs)
0.001189 main(2):  + EXIF (for special handling of EXIF files)
0.001231 main(2): libgphoto2_port 0.8.0
0.001273 main(2): libgphoto2_port a été compilé avec les options suivantes :
0.001311 main(2):  + gcc (C compiler used)
0.001349 main(2):  + ltdl (for portable loading of camlibs)
0.001388 main(2):  + USB (libusb, for USB cameras)
0.001427 main(2):  + serial (for serial cameras)
0.001466 main(2):  + no resmgr (serial port access and locking)
0.001504 main(2):  + no ttylock (serial port locking)
0.001543 main(2):  + no lockdev (serial port locking)
0.001582 main(2): CAMLIBS env var not set, using compile-time default instead
0.001621 main(2): IOLIBS env var not set, using compile-time default instead
0.001715 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto
0.001903 setting/gphoto2-setting.c(2): Loading settings from file "/home/ludovic/.gphoto/settings"
0.002134 main(2): The user has not specified both a model and a port. Try to figure them out.
0.002217 gphoto2-port-info-list(2): Utilise la bibliothèque libtool pour charger les pilotes à partir de '/usr/lib/libgphoto2_port/0.8.0'...
0.002553 gphoto2-port-info-list(2): Appel du fichier '/usr/lib/libgphoto2_port/0.8.0/disk'.
0.006082 gphoto2-port/disk(2): found fstab fsname tmpfs
0.006220 gphoto2-port/disk(2): found fstab fsname /dev/sda3
0.006495 gphoto2-port/disk(2): found mtab fsname rootfs
0.006565 gphoto2-port/disk(2): found mtab fsname proc
0.006614 gphoto2-port/disk(2): found mtab fsname sys
0.006686 gphoto2-port/disk(2): found mtab fsname dev
0.006752 gphoto2-port/disk(2): found mtab fsname run
0.006817 gphoto2-port/disk(2): found mtab fsname /dev/sda3
0.006876 gphoto2-port/disk(2): found mtab fsname devpts
0.006926 gphoto2-port/disk(2): found mtab fsname shm
0.006990 gphoto2-port/disk(2): found mtab fsname tmpfs
0.007057 gphoto2-port/disk(2): found mtab fsname binfmt
0.007180 gphoto2-port/disk(2): found mtab fsname gvfs-fuse-daemon
0.007360 gphoto2-port-info-list(2): Impossible de charger la liste des pilotes du port: 'Erreur indéfinie'
0.007417 gphoto2-port-info-list(2): Appel du fichier '/usr/lib/libgphoto2_port/0.8.0/ptpip'.
0.007842 gphoto2-port-info-list(2): Charger 'PTP/IP Connection' ('ptpip:') à partir de '/usr/lib/libgphoto2_port/0.8.0/ptpip'.
0.007907 gphoto2-port-info-list(2): Charger '' ('^ptpip') à partir de '/usr/lib/libgphoto2_port/0.8.0/ptpip'.
0.007953 gphoto2-port-info-list(2): Appel du fichier '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.008623 gphoto2-port-info-list(2): Charger 'Port série 0' ('serial:/dev/ttyS0') à partir de '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.008682 gphoto2-port-info-list(2): Charger 'Port série 1' ('serial:/dev/ttyS1') à partir de '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.008726 gphoto2-port-info-list(2): Charger 'Port série 2' ('serial:/dev/ttyS2') à partir de '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.008769 gphoto2-port-info-list(2): Charger 'Port série 3' ('serial:/dev/ttyS3') à partir de '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.008812 gphoto2-port-info-list(2): Charger '' ('^serial') à partir de '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.008856 gphoto2-port-info-list(2): Appel du fichier '/usr/lib/libgphoto2_port/0.8.0/usb'.
0.364168 gphoto2-port-info-list(2): Charger '' ('^usb:') à partir de '/usr/lib/libgphoto2_port/0.8.0/usb'.
0.364318 gphoto2-port-info-list(2): Charger 'Universal Serial Bus' ('usb:001,004') à partir de '/usr/lib/libgphoto2_port/0.8.0/usb'.
0.364365 gphoto2-port-info-list(2): Appel du fichier '/usr/lib/libgphoto2_port/0.8.0/usb1'.
0.365094 gphoto2-port-info-list(2): '/usr/lib/libgphoto2_port/0.8.0/usb1' est déjà chargé
0.365241 gphoto2-port-info-list(2): Appel du fichier '/usr/lib/libgphoto2_port/0.8.0/usbdiskdirect'.
0.365894 gphoto2-port-info-list(2): Appel du fichier '/usr/lib/libgphoto2_port/0.8.0/usbscsi'.
0.366355 gphoto2-port-info-list(2): Counting entries (10 available)...
0.366422 gphoto2-port-info-list(2): 6 regular entries available.
0.367342 gphoto2-abilities-list(2): Using ltdl to load camera libraries from '/usr/lib/libgphoto2/2.4.14'...
0.369103 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/adc65'.
0.369180 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/agfa_cl20'.
0.369223 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/aox'.
0.369263 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/ax203'.
0.369304 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/barbie'.
0.369344 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/canon'.
0.369384 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/casio_qv'.
0.369423 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/clicksmart310'.
0.369462 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/digigr8'.
0.369502 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/digita'.
0.369542 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/dimagev'.
0.369581 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/dimera3500'.
0.369621 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/directory'.
0.369660 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/enigma13'.
0.369699 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/fuji'.
0.369738 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/gsmart300'.
0.369778 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/hp215'.
0.369818 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/iclick'.
0.369857 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/jamcam'.
0.369896 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/jd11'.
0.369936 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/jl2005a'.
0.369975 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/jl2005c'.
0.370016 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/kodak_dc120'.
0.370055 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/kodak_dc210'.
0.370094 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/kodak_dc240'.
0.370133 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/kodak_dc3200'.
0.370173 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/kodak_ez200'.
0.370214 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/konica'.
0.370254 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/konica_qm150'.
0.370293 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/largan'.
0.370332 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/lg_gsm'.
0.370372 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/mars'.
0.370412 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/mustek'.
0.370506 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/panasonic_coolshot'.
0.370548 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/panasonic_dc1000'.
0.370588 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/panasonic_dc1580'.
0.370629 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/panasonic_l859'.
0.370669 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/pccam300'.
0.370709 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/pccam600'.
0.370749 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/polaroid_pdc320'.
0.370820 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/polaroid_pdc640'.
0.370861 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/polaroid_pdc700'.
0.370901 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/ptp2'.
0.370941 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/ricoh'.
0.370980 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/ricoh_g3'.
0.371020 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/samsung'.
0.371059 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/sierra'.
0.371099 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/sipix_blink2'.
0.371139 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/sipix_web2'.
0.371179 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/smal'.
0.371218 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/sonix'.
0.371258 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/sony_dscf1'.
0.371297 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/sony_dscf55'.
0.371337 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/soundvision'.
0.371377 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/spca50x'.
0.371416 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/sq905'.
0.371456 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/st2205'.
0.371496 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/stv0674'.
0.371536 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/stv0680'.
0.371575 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/sx330z'.
0.371615 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/topfield'.
0.371654 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/toshiba_pdrm11'.
0.371694 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.14/tp6801'.
0.371748 gp-abilities-list(2): Found 63 camera drivers.
0.434996 gphoto2-port-info-list(2): Counting entries (10 available)...
0.435200 gphoto2-port-info-list(2): 6 regular entries available.
0.435256 gphoto2-port(2): Création d'un nouveau périphérique...
0.435322 gphoto2-port-info-list(2): Obtention des informations sur le port 0 (10 disponible)...
0.435899 gphoto2-port(2): Réglage des paramètres...
0.435963 gphoto2-port-info-list(2): Obtention des informations sur le port 1 (10 disponible)...
0.436364 gphoto2-port(2): Setting timeout to 500 milliseconds...
0.436421 gphoto2-port(2): Réglage des paramètres...
0.436471 gphoto2-port-info-list(2): Obtention des informations sur le port 2 (10 disponible)...
0.436837 gphoto2-port(2): Setting timeout to 500 milliseconds...
0.436894 gphoto2-port(2): Réglage des paramètres...
0.436941 gphoto2-port-info-list(2): Obtention des informations sur le port 3 (10 disponible)...
0.437332 gphoto2-port(2): Setting timeout to 500 milliseconds...
0.437392 gphoto2-port(2): Réglage des paramètres...
0.437443 gphoto2-port-info-list(2): Obtention des informations sur le port 4 (10 disponible)...
0.437797 gphoto2-port(2): Setting timeout to 500 milliseconds...
0.437852 gphoto2-port(2): Réglage des paramètres...
0.437899 gphoto2-port-info-list(2): Obtention des informations sur le port 5 (10 disponible)...
0.443726 gphoto2-port(2): Setting timeout to 5000 milliseconds...
0.443847 gphoto2-port(2): Réglage des paramètres...
0.443895 libusb(2): gp_port_usb_update(old int=0, conf=-1, alt=-1), (new int=0, conf=-1, alt=-1)
0.443950 gphoto2-abilities-list.c(1): Auto-detecting USB cameras...
0.444228 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x3110)... found.
0.444278 gphoto2-port-usb(2): inep to look for is 81
0.444320 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01
0.444367 gphoto2-abilities-list.c(2): Found 'Canon EOS 400D (PTP mode)' (0x4a9,0x3110)
0.444432 gphoto2-port(2): Libere le port ...
0.444488 gphoto2-port(2): Fermeture du port ...
0.444750 gphoto2-camera(2): Setting abilities ('Canon EOS 400D (PTP mode)')...
0.444837 gphoto2-setting(2): Setting key 'model' to value 'Canon EOS 400D (PTP mode)' (gphoto2)
0.444890 gphoto2-setting(2): Saving 14 setting(s) to file "/home/ludovic/.gphoto/settings"
0.445467 gphoto2-port-info-list(2): Looking for path 'usb:001,004' (10 entries available)...
0.445544 gphoto2-port-info-list(2): Obtention des informations sur le port 5 (10 disponible)...
0.445605 gphoto2-camera(2): Setting port info for port 'Universal Serial Bus' at 'usb:001,004'...
0.451361 gphoto2-port(2): Setting timeout to 5000 milliseconds...
0.451504 gphoto2-port(2): Réglage des paramètres...
0.451550 libusb(2): gp_port_usb_update(old int=0, conf=-1, alt=-1), (new int=0, conf=-1, alt=-1)
0.451603 gphoto2-setting(2): Setting key 'port' to value 'usb:001,004' (gphoto2)
0.451651 gphoto2-setting(2): Saving 14 setting(s) to file "/home/ludovic/.gphoto/settings"
0.452373 gphoto2-camera(2): Initializing camera...
0.452456 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x3110)... found.
0.452505 gphoto2-port-usb(2): inep to look for is 81
0.452547 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01
0.452598 gphoto2-camera(2): Loading '/usr/lib/libgphoto2/2.4.14/ptp2'...
0.453592 gphoto2-port(2): Ouverture du port USB ...
0.453684 libusb(2): gp_port_usb_open()
0.453927 libusb(2): claiming interface 0
0.454064 ptp2(2): maxpacketsize 512
0.459475 gphoto2-port(2): Setting timeout to 1500 milliseconds...
0.459640 ptp(2): PTP: Opening session
0.459705 gphoto2-port(2): Writing 16=0x10 bytes to port...
0.459760 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000  10 00 00 00 01 00 02 10-00 00 00 00 01 00 00 00  ................

0.459967 ptp2/ptp_usb_getresp(2): reading response
0.460023 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.460072 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.465604 gphoto2-port(2): Could only read 12 out of 512 bytes
0.465851 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 03 00 01 20-00 00 00 00              ....... ....    

0.465908 gphoto2-port(2): Setting timeout to 20000 milliseconds...
0.465957 gphoto2-port(2): Writing 12=0xc bytes to port...
0.466005 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 01 00 01 10-01 00 00 00              ............    

0.467565 ptp2/ptp_usb_getdata(2): reading data
0.467615 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.467661 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.479710 gphoto2-port(2): Could only read 305 out of 512 bytes
0.479841 gphoto2-port(3): Hexdump of 305 = 0x131 bytes follows:
0000  31 01 00 00 02 00 01 10-01 00 00 00 64 00 0b 00  1...........d...
0010  00 00 c8 00 00 00 00 38-00 00 00 14 10 16 10 15  .......8........
0020  10 01 10 02 10 03 10 13-90 04 10 05 10 06 10 07  ................
0030  10 08 10 0a 10 09 10 1b-10 0c 10 0d 10 0b 10 01  ................
0040  91 02 91 03 91 04 91 07-91 05 91 17 91 18 91 16  ................
0050  91 0f 91 15 91 10 91 14-91 13 91 06 91 0a 91 0b  ................
0060  91 0c 91 0e 91 1a 91 1b-91 1c 91 1d 91 08 91 1f  ................
0070  91 09 91 1e 91 20 91 21-91 0f 10 01 98 02 98 03  ..... .!........
0080  98 04 98 05 98 fe 91 ff-91 1f 90 04 00 00 00 09  ................
0090  40 04 40 05 40 01 c1 06-00 00 00 45 d0 02 d4 07  @.@.@......E....
00a0  d4 06 d4 49 d0 4a d0 01-00 00 00 01 38 09 00 00  ...I.J......8...
00b0  00 01 30 02 30 0a 30 08-30 01 38 01 b1 03 b1 02  ..0.0.0.0.8.....
00c0  bf 00 38 0b 43 00 61 00-6e 00 6f 00 6e 00 20 00  ..8.C.a.n.o.n. .
00d0  49 00 6e 00 63 00 2e 00-00 00 17 43 00 61 00 6e  I.n.c......C.a.n
00e0  00 6f 00 6e 00 20 00 45-00 4f 00 53 00 20 00 34  .o.n. .E.O.S. .4
00f0  00 30 00 30 00 44 00 20-00 44 00 49 00 47 00 49  .0.0.D. .D.I.G.I
0100  00 54 00 41 00 4c 00 00-00 08 33 00 2d 00 31 00  .T.A.L....3.-.1.
0110  2e 00 31 00 2e 00 31 00-00 00 0b 31 00 33 00 38  ..1...1....1.3.8
0120  00 30 00 38 00 31 00 35-00 38 00 38 00 38 00 00  .0.8.1.5.8.8.8..
0130  00                     -                         .               

0.479958 ptp2/ptp_usb_getresp(2): reading response
0.480002 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.480046 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.485461 gphoto2-port(2): Could only read 12 out of 512 bytes
0.485540 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 03 00 01 20-01 00 00 00              ....... ....    

0.485642 PTP2/ptp2/library.c(2): Device info:
0.485685 PTP2/ptp2/library.c(2): Manufacturer: Canon Inc.
0.485723 PTP2/ptp2/library.c(2):   Model: Canon EOS 400D DIGITAL
0.485762 PTP2/ptp2/library.c(2):   device version: 3-1.1.1
0.485800 PTP2/ptp2/library.c(2):   serial number: '1380815888'
0.485838 PTP2/ptp2/library.c(2): Vendor extension ID: 0x0000000b
0.485878 PTP2/ptp2/library.c(2): Vendor extension version: 200
0.485918 PTP2/ptp2/library.c(2): Vendor extension description: (null)
0.485963 PTP2/ptp2/library.c(2): Functional Mode: 0x0000
0.486003 PTP2/ptp2/library.c(2): PTP Standard Version: 100
0.486042 PTP2/ptp2/library.c(2): Supported operations:
0.486080 PTP2/ptp2/library.c(2):   0x1014
0.486119 PTP2/ptp2/library.c(2):   0x1016
0.486158 PTP2/ptp2/library.c(2):   0x1015
0.486197 PTP2/ptp2/library.c(2):   0x1001
0.486235 PTP2/ptp2/library.c(2):   0x1002
0.486274 PTP2/ptp2/library.c(2):   0x1003
0.486313 PTP2/ptp2/library.c(2):   0x9013
0.486352 PTP2/ptp2/library.c(2):   0x1004
0.486391 PTP2/ptp2/library.c(2):   0x1005
0.486430 PTP2/ptp2/library.c(2):   0x1006
0.486468 PTP2/ptp2/library.c(2):   0x1007
0.486508 PTP2/ptp2/library.c(2):   0x1008
0.486546 PTP2/ptp2/library.c(2):   0x100a
0.486585 PTP2/ptp2/library.c(2):   0x1009
0.486624 PTP2/ptp2/library.c(2):   0x101b
0.486663 PTP2/ptp2/library.c(2):   0x100c
0.486703 PTP2/ptp2/library.c(2):   0x100d
0.486741 PTP2/ptp2/library.c(2):   0x100b
0.486780 PTP2/ptp2/library.c(2):   0x9101
0.486819 PTP2/ptp2/library.c(2):   0x9102
0.486858 PTP2/ptp2/library.c(2):   0x9103
0.486897 PTP2/ptp2/library.c(2):   0x9104
0.486935 PTP2/ptp2/library.c(2):   0x9107
0.486974 PTP2/ptp2/library.c(2):   0x9105
0.487013 PTP2/ptp2/library.c(2):   0x9117
0.487052 PTP2/ptp2/library.c(2):   0x9118
0.487091 PTP2/ptp2/library.c(2):   0x9116
0.487167 PTP2/ptp2/library.c(2):   0x910f
0.487205 PTP2/ptp2/library.c(2):   0x9115
0.487244 PTP2/ptp2/library.c(2):   0x9110
0.487282 PTP2/ptp2/library.c(2):   0x9114
0.487321 PTP2/ptp2/library.c(2):   0x9113
0.487360 PTP2/ptp2/library.c(2):   0x9106
0.487399 PTP2/ptp2/library.c(2):   0x910a
0.487437 PTP2/ptp2/library.c(2):   0x910b
0.487476 PTP2/ptp2/library.c(2):   0x910c
0.487515 PTP2/ptp2/library.c(2):   0x910e
0.487554 PTP2/ptp2/library.c(2):   0x911a
0.487592 PTP2/ptp2/library.c(2):   0x911b
0.487631 PTP2/ptp2/library.c(2):   0x911c
0.487669 PTP2/ptp2/library.c(2):   0x911d
0.487708 PTP2/ptp2/library.c(2):   0x9108
0.487747 PTP2/ptp2/library.c(2):   0x911f
0.487786 PTP2/ptp2/library.c(2):   0x9109
0.487824 PTP2/ptp2/library.c(2):   0x911e
0.487863 PTP2/ptp2/library.c(2):   0x9120
0.487901 PTP2/ptp2/library.c(2):   0x9121
0.487940 PTP2/ptp2/library.c(2):   0x100f
0.487979 PTP2/ptp2/library.c(2):   0x9801
0.488017 PTP2/ptp2/library.c(2):   0x9802
0.488056 PTP2/ptp2/library.c(2):   0x9803
0.488095 PTP2/ptp2/library.c(2):   0x9804
0.488133 PTP2/ptp2/library.c(2):   0x9805
0.488172 PTP2/ptp2/library.c(2):   0x91fe
0.488210 PTP2/ptp2/library.c(2):   0x91ff
0.488249 PTP2/ptp2/library.c(2):   0x901f
0.488288 PTP2/ptp2/library.c(2): Events Supported:
0.488325 PTP2/ptp2/library.c(2):   0x4009
0.488364 PTP2/ptp2/library.c(2):   0x4004
0.488403 PTP2/ptp2/library.c(2):   0x4005
0.488441 PTP2/ptp2/library.c(2):   0xc101
0.488480 PTP2/ptp2/library.c(2): Device Properties Supported:
0.488517 PTP2/ptp2/library.c(2):   0xd045
0.488556 PTP2/ptp2/library.c(2):   0xd402
0.488595 PTP2/ptp2/library.c(2):   0xd407
0.488633 PTP2/ptp2/library.c(2):   0xd406
0.488671 PTP2/ptp2/library.c(2):   0xd049
0.488710 PTP2/ptp2/library.c(2):   0xd04a
0.488758 gphoto2-port(2): Writing 16=0x10 bytes to port...
0.488805 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000  10 00 00 00 01 00 14 91-02 00 00 00 01 00 00 00  ................

0.489060 ptp2/ptp_usb_getresp(2): reading response
0.489106 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.489152 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.498865 gphoto2-port(2): Could only read 12 out of 512 bytes
0.498985 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 03 00 01 20-02 00 00 00              ....... ....    

0.499082 gphoto2-port(2): Writing 12=0xc bytes to port...
0.499135 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 01 00 04 10-03 00 00 00              ............    

0.499951 ptp2/ptp_usb_getdata(2): reading data
0.500003 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.500054 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.505714 gphoto2-port(2): Could only read 20 out of 512 bytes
0.505787 gphoto2-port(3): Hexdump of 20 = 0x14 bytes follows:
0000  14 00 00 00 02 00 04 10-03 00 00 00 01 00 00 00  ................
0010  00 00 01 00            -                         ....            

0.505838 ptp2/ptp_usb_getresp(2): reading response
0.505878 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.505921 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.508072 gphoto2-port(2): Could only read 12 out of 512 bytes
0.508130 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 03 00 01 20-03 00 00 00              ....... ....    

0.508184 ptp2/eos_directory(2): reading root directory of 0x00010000
0.508248 gphoto2-port(2): Writing 24=0x18 bytes to port...
0.508297 gphoto2-port(3): Hexdump of 24 = 0x18 bytes follows:
0000  18 00 00 00 01 00 09 91-04 00 00 00 00 00 01 00  ................
0010  ff ff ff ff 00 00 10 00-                         ........        

0.509572 ptp2/ptp_usb_getdata(2): reading data
0.509622 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.509679 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.521790 gphoto2-port(2): Could only read 12 out of 512 bytes
0.521984 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 02 00 09 91-04 00 00 00              ............    

0.522038 ptp2/ptp_usb_getresp(2): reading response
0.522079 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.522125 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.524349 gphoto2-port(2): Could only read 20 out of 512 bytes
0.524422 gphoto2-port(3): Hexdump of 20 = 0x14 bytes follows:
0000  14 00 00 00 03 00 01 20-04 00 00 00 02 00 00 00  ....... ........
0010  00 00 00 00            -                         ....            

Erreur de segmentation
Merci !
Dernière modification par ludovic815 le sam. 15 sept. 2012, 11:28, modifié 1 fois.
PC 1 : Intel core I5 3570k + SSD crucial M4 + gtx 550 -> Archlinux
PC 2 : Intel core I5 2500k + SSD crucial M4 -> Archlinux
PC 3 : Intel Atom n330 + SSD ocz onyx + quelques to de hdd + 2go ddr3 (serveur NAS, sftp, météo etc ...) -> Debian 6
PC 4 : AMD turion 64 x2 + SSD gskill falcon + HDD 500 go -> Archlinux (pc portable)
PC 5 : AMD athlon II x2 + 2go ddr3 + SSD ocz onyx -> Debian 7 (xbmc standalone)
ludovic815
Daikyu
Messages : 70
Inscription : mar. 20 sept. 2011, 18:55

Re: [gphoto2] Erreur de segmentation

Message par ludovic815 »

Probème trouvé !! Il suffit de mettre une carte mémoire dans l'appareil photo et ça fonctionne !!
Par contre c'est pas le top, quand je prend une photo, elle est écrite sur la carte mémoire puis téléchargée sur le pc, ça le fait pas trop niveau usure de la mémoire flash… Sous windows la photo est récupérée directement sans passer par la carte mémoire !
PC 1 : Intel core I5 3570k + SSD crucial M4 + gtx 550 -> Archlinux
PC 2 : Intel core I5 2500k + SSD crucial M4 -> Archlinux
PC 3 : Intel Atom n330 + SSD ocz onyx + quelques to de hdd + 2go ddr3 (serveur NAS, sftp, météo etc ...) -> Debian 6
PC 4 : AMD turion 64 x2 + SSD gskill falcon + HDD 500 go -> Archlinux (pc portable)
PC 5 : AMD athlon II x2 + 2go ddr3 + SSD ocz onyx -> Debian 7 (xbmc standalone)
Répondre