From: SourceForge.net <no...@so...> - 2004-06-20 11:40:00
|
Bugs item #868878, was opened at 2004-01-02 02:02 Message generated for change (Comment added) made by yanyan_1337 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108874&aid=868878&group_id=8874 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Tobias Reif (tobi__r) Assigned to: Matthew Martin (mattmartin) Summary: Fuji MX-1200: segfault Initial Comment: Hi I sometimes get segfaults with downloading larger pictures from my Fujifilm MX-1200. I won't use the camera much, but I thought the bug report might be useful for you. I took two pics with different sizes: MX-1200: Setup: Quality: Fine File Size: 640X480 Took pic one. Set File Size: 1280X960 Took pic two. Couldn't reproduce now: tobi ~/data/mx1200 $ gphoto2 --port="/dev/ttyS0" --camera="Fuji MX-1200" --list-files There are 2 files in folder '/': #1 DSCF0001.JPG 154 KB #2 DSCF0002.JPG 544 KB tobi ~/data/mx1200 $ gphoto2 --port="/dev/ttyS0" --camera="Fuji MX-1200" --get-all-files Downloading 'DSCF0001.JPG' from folder '/'... Saving file as DSCF0001.JPG Downloading 'DSCF0002.JPG' from folder '/'... Saving file as DSCF0002.JPG Deleted both pics, later took a new one at the bigger size, the segfault occured: tobi ~/data/mx1200 $ gphoto2 --debug --port="/dev/ttyS0" --camera="Fuji MX-1200" --get-all-files 2>errorlog.txt Segmentation fault tobi ~/data/mx1200 $ gphoto2 --port="/dev/ttyS0" --camera="Fuji MX-1200" --list-files There is one file in folder '/': Segmentation fault errorlog.txt is over 60MB, below are some snippets: ---------------------------------------------------------------------- Comment By: adrianb (yanyan_1337) Date: 2004-06-20 19:39 Message: Logged In: YES user_id=1067112 hi, This bug also exists on 2.1.4, which i've very recently (a few hours ago) upgraded to. The segfault seems to always occur when malloc() is called when downloading big (1280x960, fine-quality) pics from the cam. adrian ---------------------------------------------------------------------- Comment By: Tobias Reif (tobi__r) Date: 2004-01-06 05:28 Message: Logged In: YES user_id=769974 Hi > 1/ can you upgrade to 2.1.3 ? Yes: tobi ~ $ gphoto2 2.1.2 --version gphoto2 2.1.2 [...] This version of gphoto2 is using the following software versions and options: gphoto2 2.1.2 gcc, popt, exif, cdk, aa, jpeg, readline libgphoto2 2.1.3cvshead2 gcc, EXIF, no ltdl, /proc/meminfo libgphoto2_port 0.5.1 gcc, USB, serial resmgr locking, no ltdl > 2/ if the crash is still there, Yes, unfortunately I still can't get the pictures from the camera: tobi ~/del/mx1200 $ gphoto2 --port="/dev/ttyS0" --camera="Fuji MX-1200" --get-all-files Downloading 'DSCF0001.JPG' from folder '/'... Segmentation fault > can you run gphoto2 under gdb and provide a stack trace ? I have no experience with gdb. What should I type after the below? tobi ~/del/mx1200 $ gdb --silent --args gphoto2 --port="/dev/ttyS0" --camera="Fuji MX-1200" --get-all-files (no debugging symbols found)...(gdb) run Starting program: /usr/bin/gphoto2 --port=/dev/ttyS0 --camera=Fuji\ MX-1200 --get-all-files (no debugging symbols found)...[...]...[New Thread 16384 (LWP 3284)] (no debugging symbols found)...[...] Loading camera drivers from '/usr/li... |-- | 10.4% \ 9.4% [...] Loading camera drivers from '/usr/li... |-------------------- | 93.8% 1s----------- \ 92.7% 1s (no debugging symbols found)...[...]...Downloading 'DSCF0001.JPG' from folder '/'... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 3284)] 0x4027a487 in _int_malloc () from /lib/i686/libc.so.6 (gdb) s Single stepping until exit from function _int_malloc, which has no line number information. Cannot find user-level thread for LWP 3284: generic error (gdb) bt #0 0x4027a487 in _int_malloc () from /lib/i686/libc.so.6 Error accessing memory address 0xbfffd2ec: No such process. (gdb) Tobi ---------------------------------------------------------------------- Comment By: Hubert Figuiere (hfiguiere) Date: 2004-01-02 19:05 Message: Logged In: YES user_id=27487 1/ can you upgrade to 2.1.3 ? 2/ if the crash is still there, can you run gphoto2 under gdb and provide a stack trace ? thanks. ---------------------------------------------------------------------- Comment By: Tobias Reif (tobi__r) Date: 2004-01-02 02:04 Message: Logged In: YES user_id=769974 " [...] 0.000424 main(2): gphoto2 2.1.2 0.000460 main(2): gphoto2 has been compiled with the following options: 0.000521 main(2): + gcc (C compiler used) 0.000552 main(2): + popt (for handling command-line parameters) 0.000582 main(2): + exif (for displaying EXIF information) 0.000613 main(2): + cdk (for accessing configuration options) 0.000643 main(2): + no aa (for displaying live previews) 0.000673 main(2): + jpeg (for displaying live previews in JPEG format) 0.000704 main(2): + readline (for easy navigation in the shell) 0.000754 main(2): libgphoto2 2.1.2 0.000786 main(2): libgphoto2 has been compiled with the following options: 0.000817 main(2): + gcc (C compiler used) 0.000848 main(2): + EXIF (for special handling of EXIF files) 0.000878 main(2): + no ltdl (working around buggy libltdl, eh? :-) 0.000909 main(2): + /proc/meminfo (adapts cache size to memory available) 0.000952 main(2): libgphoto2_port 0.5.1 0.000984 main(2): libgphoto2_port has been compiled with the following options: 0.001015 main(2): + gcc (C compiler used) 0.001045 main(2): + USB (for USB cameras) 0.001075 main(2): + serial (for serial cameras) 0.001105 main(2): + resmgr (serial port access and locking) 0.001136 main(2): + no baudboy (serial port locking) 0.001166 main(2): + no ttylock (serial port locking) 0.001196 main(2): + no lockdev (serial port locking) 0.001227 main(2): + no ltdl (working around buggy libltdl, eh? :-) 0.001321 main(2): Processing 'port' option ('/dev/ttyS0')... 0.001396 main(2): Ports must look like 'serial:/dev/ttyS0' or 'usb:', but '/dev/ttyS0' is missing a colon so I am going to guess what you mean. 0.001482 main(2): Guessed port name. Using port 'serial:/dev/ttyS0' from now on. 0.001559 gp-port-info-list(2): Loading io-drivers from '/usr/lib/gphoto2_port/0.5.1'... 0.002241 gphoto2-port-serial(2): Trying to lock '/dev/ttyS0'... [...] 0.064025 gphoto2-port-core(2): Loaded 'Serial Port 0' (serial:/dev/ttyS0) from 'libgphoto2_port_serial.so' [...] 0.064931 gphoto2-port-core(2): Loaded '' (^serial) from 'libgphoto2_port_serial.so' 0.065663 gphoto2-port-core(2): Loaded 'Universal Serial Bus' (usb:) from 'libgphoto2_port_usb.so' 0.065811 gphoto2-port-info-list(2): Looking for path 'serial:/dev/ttyS0' (26 entries available)... 0.065870 gphoto2-port-info-list(2): Getting info of entry 0 (26 available)... 0.065944 gphoto2-camera(2): Setting port info for port 'Serial Port 0' at 'serial:/dev/ttyS0'... 0.066263 gphoto2-port(2): Setting timeout to 500 millisecond(s)... 0.066319 gphoto2-port(2): Setting settings... 0.066372 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto 0.066625 setting/gphoto2-setting.c(2): Loading settings from file "/home/tobi/.gphoto/settings" 0.066704 gphoto2-setting(2): Setting key 'port' to value 'serial:/dev/ttyS0' (gphoto2) 0.066746 gphoto2-setting(2): Saving 2 setting(s) to file "/home/tobi/.gphoto/settings" 0.067118 main(2): Processing 'model' option ('Fuji MX-1200')... 0.067236 gphoto2-camera(2): Setting abilities ('Fuji MX-1200')... 0.067275 gphoto2-setting(2): Setting key 'model' to value 'Fuji MX-1200' (gphoto2) 0.067316 gphoto2-setting(2): Saving 2 setting(s) to file "/home/tobi/.gphoto/settings" 0.068499 gphoto2-camera(2): Listing files in '/'... 0.068684 gphoto2-camera(2): Initializing camera... 0.068730 gphoto2-camera(2): Loading '/usr/lib/gphoto2/2.1.2/libgphoto2_fuji.so'... 0.069243 gphoto2-port(2): Opening SERIAL port... 0.069353 gphoto2-port-serial(2): Trying to lock '/dev/ttyS0'... 0.071431 gphoto2-port(2): Setting timeout to 1000 millisecond(s)... 0.071640 gphoto2-port(2): Setting settings... 0.071675 gphoto2-port-serial(2): Setting baudrate to 9600... 0.071907 fuji/library.c(2): Initializing connection... 0.071958 fuji/fuji.c(2): Pinging camera... 0.072001 gphoto2-port(2): Reading 1=0x1 bytes from port... 1.071512 gphoto2-port(2): Writing 1=0x1 byte(s) to port... 1.071627 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 05 - . 1.073479 gphoto2-port(2): Reading 1=0x1 bytes from port... 1.079500 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 06 - . [...] 120.783521 gphoto2-port(2): Writing 1=0x1 byte(s) to port... 120.783553 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 06 - . 120.784484 fuji/fuji.c(2): Download of thumbnail completed. 120.784527 libgphoto2/gphoto2-filesys.c(2): Adding file 'DSCF0001.JPG' to folder '/' (type 0)... " IIRC, under Windows pictures of any size could be downloaded, so the issue doesn't seem to be with the cam. Tobi ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108874&aid=868878&group_id=8874 |