From: SourceForge.net <no...@so...> - 2007-05-22 21:11:40
|
Bugs item #1722666, was opened at 2007-05-21 13:44 Message generated for change (Comment added) made by marcusmeissner You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108874&aid=1722666&group_id=8874 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: NoR234 (nor234) Assigned to: Nobody/Anonymous (nobody) Summary: Fuji 2900MX don't work Initial Comment: Hello, when i was using gphoto2 the following error occured I use an open SUSE Distribution with the supported Fuji MX-2900 camera. I think it could be a bug in gphoto2 and so I posted it into the bugtracker... The following error occurs if you want to list the files. (The first german sentence means that the program has already fifteen files found (correct)) Es gibt 15 Dateien im Verzeichnis »/«. *** glibc detected *** gphoto2: malloc(): memory corruption: 0x080d1040 *** ======= Backtrace: ========= /lib/libc.so.6[0xb7cc16e1] /lib/libc.so.6[0xb7cc3671] /lib/libc.so.6(__libc_malloc+0x85)[0xb7cc50c5] /usr/lib/libgphoto2_port.so.0(gp_log_data+0x5b)[0xb7df794b] /usr/lib/libgphoto2_port.so.0(gp_port_read+0xf6)[0xb7df9506] /usr/lib/libgphoto2/2.2.1.5.trunk/fuji.so[0xb7b25b16] /usr/lib/libgphoto2/2.2.1.5.trunk/fuji.so[0xb7b2695f] /usr/lib/libgphoto2/2.2.1.5.trunk/fuji.so[0xb7b241ce] /usr/lib/libgphoto2.so.2[0xb7e12542] /usr/lib/libgphoto2.so.2(gp_filesystem_get_file+0x24f)[0xb7e1294f] /usr/lib/libgphoto2.so.2[0xb7e12b8e] /usr/lib/libgphoto2.so.2(gp_filesystem_get_info+0x1dd)[0xb7e1148d] /usr/lib/libgphoto2.so.2(gp_camera_file_get_info+0x102)[0xb7e07832] gphoto2[0x804f307] gphoto2[0x804fa86] gphoto2[0x805138e] gphoto2[0x8055f12] /usr/lib/libpopt.so.0[0xb7d8d017] /usr/lib/libpopt.so.0[0xb7d8d052] /usr/lib/libpopt.so.0(poptGetNextOpt+0x3ae)[0xb7d8de1e] gphoto2[0x8054bd3] /lib/libc.so.6(__libc_start_main+0xdc)[0xb7c72f9c] gphoto2[0x804b981] ======= Memory map: ======== 08048000-0805c000 r-xp 00000000 03:06 2573844 /usr/bin/gphoto2 0805c000-0805e000 rw-p 00013000 03:06 2573844 /usr/bin/gphoto2 0805e000-0812f000 rw-p 0805e000 00:00 0 [heap] b7600000-b7621000 rw-p b7600000 00:00 0 b7621000-b7700000 ---p b7621000 00:00 0 b7720000-b790e000 rw-p b7a24000 00:00 0 b7a86000-b7a87000 rw-p b7a86000 00:00 0 b7a87000-b7aa9000 r--p 00000000 03:06 4526347 /usr/share/locale/de/LC_MESSAGES/libgphoto2-2.mo b7ac4000-b7ac9000 r-xp 00000000 03:06 557155 /lib/libresmgr.so.1.0.0 b7ac9000-b7acb000 rw-p 00004000 03:06 557155 /lib/libresmgr.so.1.0.0 b7af1000-b7afb000 r-xp 00000000 03:06 557119 /lib/libgcc_s.so.1 b7afb000-b7afd000 rw-p 00009000 03:06 557119 /lib/libgcc_s.so.1 b7b1c000-b7b23000 r--p 00000000 03:06 4526526 /usr/share/locale/de/LC_MESSAGES/gphoto2.mo b7b23000-b7b28000 r-xp 00000000 03:06 5062934 /usr/lib/libgphoto2/2.2.1.5.trunk/fuji.so b7b28000-b7b2a000 rw-p 00004000 03:06 5062934 /usr/lib/libgphoto2/2.2.1.5.trunk/fuji.so b7b2a000-b7b2b000 rw-p b7b2a000 00:00 0 b7b2b000-b7b4a000 r--p 00000000 03:06 4524094 /usr/share/locale/de/LC_MESSAGES/libc.mo b7b4a000-b7b85000 r--p 00000000 03:06 4606282 /usr/lib/locale/de_DE.utf8/LC_CTYPE b7b85000-b7c5c000 r--p 00000000 03:06 4620750 /usr/lib/locale/de_DE.utf8/LC_COLLATE b7c5c000-b7c5d000 rw-p b7c5c000 00:00 0 b7c5d000-b7d85000 r-xp 00000000 03:06 557075 /lib/libc-2.5.so b7d85000-b7d86000 r--p 00128000 03:06 557075 /lib/libc-2.5.so b7d86000-b7d88000 rw-p 00129000 03:06 557075 /lib/libc-2.5.so b7d88000-b7d8b000 rw-p b7d88000 00:00 0 b7d8b000-b7d92000 r-xp 00000000 03:06 4543151 /usr/lib/libpopt.so.0.0.0 b7d92000-b7d94000 rw-p 00006000 03:06 4543151 /usr/lib/libpopt.so.0.0.0 b7d94000-b7d95000 rw-p b7d94000 00:00 0 b7d95000-b7d9b000 r-xp 00000000 03:06 4544450 /usr/lib/libusb-0.1.so.4.4.4 b7d9b000-b7d9e000 rw-p 00005000 03:06 4544450 /usr/lib/libusb-0.1.so.4.4.4 b7d9e000-b7dc2000 r-xp 00000000 03:06 557083 /lib/libm-2.5.so b7dc2000-b7dc4000 rw-p 00023000 03:06 557083 /lib/libm-2.5.so b7dc4000-b7de3000 r-xp 00000000 03:06 4543030 /usr/lib/libexif.so.12.0.1 b7de3000-b7de8000 r--p 0001f000 03:06 4543030 /usr/lib/libexif.so.12.0.1 b7de8000-b7dea000 rw-p 00024000 03:06 4543030 /usr/lib/libexif.so.12.0.1 b7dea000-b7dec000 r-xp 00000000 03:06 557081 /lib/libdl-2.5.so b7dec000-b7dee000 rw-p 00001000 03:06 557081 /lib/libdl-2.5.so b7dee000-b7df3000 r-xp 00000000 03:06 4543084 /usr/lib/libltdl.so.3.1.4 b7df3000-b7df5000 rw-p 00004000 03:06 4543084 /usr/lib/libltdl.so.3.1.4 b7df5000-b7dfc000 r-xp 00000000 03:06 2704335 /usr/lib/libgphoto2_port.so.0.7.0 b7dfc000-b7dfe000 rw-p 00006000 03:06 2704335 /usr/lib/libgphoto2_port.so.0.7.0 b7dfe000-b7dff000 rw-p b7dfe000 00:00 0 b7dff000-b7e18000 r-xp 00000000 03:06 2704333 /usr/lib/libgphoto2.so.2.2.0 b7e18000-b7e1a000 rw-p 00019000 03:06 2704333 /usr/lib/libgphoto2.so.2.2.0Abgebrochen As you can see the precompiled libgphoto version 2.2.1.5.trunk and the gphoto 2.2.1.4.trunk ---------------------------------------------------------------------- >Comment By: Marcus Meissner (marcusmeissner) Date: 2007-05-22 21:11 Message: Logged In: YES user_id=48092 Originator: NO we download more data than we have buffer allocated for in fuji_pic_get_thumb the port from gphoto 0.4 was probably incorrect. ---------------------------------------------------------------------- Comment By: NoR234 (nor234) Date: 2007-05-22 09:41 Message: Logged In: YES user_id=1798131 Originator: YES File Added: logfile.tar.gz ---------------------------------------------------------------------- Comment By: Marcus Meissner (marcusmeissner) Date: 2007-05-22 07:18 Message: Logged In: YES user_id=48092 Originator: NO the fuji_pic_get() and fuji_pic_get_thumb(0 functions look fishy. They pass in buf_size to fuji_transmit, but it gets overwritten pretty soon. Can you please run: gphoto2 --debug -L > logfile 2>&1 and attach the logfile here? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108874&aid=1722666&group_id=8874 |