From owner-freebsd-questions Wed Feb 12 6:31:25 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78C2337B401 for ; Wed, 12 Feb 2003 06:31:22 -0800 (PST) Received: from mx1.lphp.org (APastourelles-107-1-11-110.abo.wanadoo.fr [217.128.154.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF9EC43FB1 for ; Wed, 12 Feb 2003 06:31:20 -0800 (PST) (envelope-from ajacoutot@lphp.org) Received: from sta01 (sta01.lphp.org.local [192.168.0.4]) by mx1.lphp.org (8.12.6/8.12.6) with ESMTP id h1CEVItg051501 for ; Wed, 12 Feb 2003 15:31:18 +0100 (CET) (envelope-from ajacoutot@lphp.org) From: Antoine Jacoutot To: Subject: gphoto2 Segmentation fault (core dumped) Date: Wed, 12 Feb 2003 15:31:18 +0100 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200302121531.18396.ajacoutot@lphp.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi ! I can't get gPhoto2 working under FreeBSD-4.7-STABLE, I always get segmentation faults. Here is the debug output, if anyone has an idea. Thanks in advance. Antoine $ gphoto2 --port=usb: --camera="Canon Digital IXUS 300" -l --debug 0.000261 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST: 0.001441 main(2): gphoto2 2.1.1 0.002097 main(2): gphoto2 has been compiled with the following options: 0.002715 main(2): + cc (C compiler used) 0.003275 main(2): + popt (for handling command-line parameters) 0.004079 main(2): + exif (for displaying EXIF information) 0.004808 main(2): + no cdk (for accessing configuration options) 0.005412 main(2): + aa (for displaying live previews) 0.005994 main(2): + jpeg (for displaying live previews in JPEG format) 0.006599 main(2): + no readline (for easy navigation in the shell) 0.007218 main(2): libgphoto2 2.1.1 0.007784 main(2): libgphoto2 has been compiled with the following options: 0.008931 main(2): + cc (C compiler used) 0.009639 main(2): + EXIF (for special handling of EXIF files) 0.010257 main(2): + no ltdl (working around bugg libltdl, eh? :-) 0.010858 main(2): + no /proc/meminfo (adapts cache size to memory available) 0.011484 main(2): libgphoto2_port 0.5.1 0.012061 main(2): libgphoto2_port has been compiled with the following options: 0.012674 main(2): + cc (C compiler used) 0.013226 main(2): + USB (for USB cameras) 0.013784 main(2): + serial (for serial cameras) 0.014620 main(2): + no baudboy (serial port locking) 0.015213 main(2): + no ttylock (serial port locking) 0.016088 main(2): + no lockdev (serial port locking) 0.016680 main(2): + no ltdl (working around bugg libltdl, eh? :-) 0.017359 main(2): Processing 'port' option ('usb:')... 0.018066 gp-port-info-list(2): Loading io-drivers from '/usr/local/lib/gphoto2_port/0.5.1'... 0.019262 gphoto2-port-serial(2): Trying to lock '/dev/cuaa0'... 0.031182 gphoto2-port-serial(2): Trying to lock '/dev/cuaa1'... 0.032852 gphoto2-port-serial(2): Trying to lock '/dev/cuaa2'... 0.033695 gphoto2-port-serial(2): Trying to lock '/dev/cuaa3'... 0.034823 gphoto2-port-serial(2): Trying to lock '/dev/cuaa4'... 0.035563 gphoto2-port-serial(2): Trying to lock '/dev/cuaa5'... 0.043075 gphoto2-port-serial(2): Trying to lock '/dev/cuaa6'... 0.044405 gphoto2-port-serial(2): Trying to lock '/dev/cuaa7'... 0.045116 gphoto2-port-serial(2): Trying to lock '/dev/cuaa8'... 0.045804 gphoto2-port-serial(2): Trying to lock '/dev/cuaa9'... 0.046496 gphoto2-port-serial(2): Trying to lock '/dev/cuaaa'... 0.047183 gphoto2-port-serial(2): Trying to lock '/dev/cuaab'... 0.047891 gphoto2-port-serial(2): Trying to lock '/dev/cuaac'... 0.048585 gphoto2-port-serial(2): Trying to lock '/dev/cuaad'... 0.049278 gphoto2-port-serial(2): Trying to lock '/dev/cuaae'... 0.049971 gphoto2-port-serial(2): Trying to lock '/dev/cuaaf'... 0.050941 gphoto2-port-core(2): Loaded 'Serial Port 0' (serial:/dev/cuaa0) from 'libgphoto2_port_serial.so' 0.051716 gphoto2-port-core(2): Loaded 'Serial Port 1' (serial:/dev/cuaa1) from 'libgphoto2_port_serial.so' 0.052414 gphoto2-port-core(2): Loaded '' (^serial) from 'libgphoto2_port_serial.so' 0.053730 gphoto2-port-core(2): Loaded 'Universal Serial Bus' (usb:) from 'libgphoto2_port_usb.so' 0.055601 gphoto2-port-info-list(2): Looking for path 'usb:' (4 entries available)... 0.056484 gphoto2-port-info-list(2): Getting info of entry 2 (4 available)... 0.057197 gphoto2-camera(2): Setting port info for port 'Universal Serial Bus' at 'usb:'... 0.059034 gphoto2-port(2): Setting timeout to 5000 millisecond(s)... 0.059935 gphoto2-port(2): Setting settings... 0.060560 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto 0.062408 setting/gphoto2-setting.c(2): Loading settings from file "/home/ajacoutot/.gphoto/settings" 0.063657 gphoto2-setting(2): Setting key 'port' to value 'usb:' (gphoto2) 0.065705 gphoto2-setting(2): Saving 2 setting(s) to file "/home/ajacoutot/.gphoto/settings" 0.067950 main(2): Processing 'model' option ('Canon Digital IXUS 300')... 0.068893 gphoto2-camera(2): Setting abilities ('Canon Digital IXUS 300')... 0.069584 gphoto2-setting(2): Setting key 'model' to value 'Canon Digital IXUS 300' (gphoto2) 0.070259 gphoto2-setting(2): Saving 2 setting(s) to file "/home/ajacoutot/.gphoto/settings" 0.072642 foreach(2): Executing action 'List Folders' for folder '/'. 0.073751 gphoto2-camera(2): Listing folders in '/'... Segmentation fault (core dumped) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message