Hello, Julien First: I have installed the current stable release "etch". The bug report was done at the time where "etch" was testing. But, the behavior is the same.
Executed the program "scanimage" through gdb with the command: "gdb scanimage" After starting, the command "run" was entered. After about 10sec execution time, the program was terminated with Ctrl+C. After termination, the backtrace was stored with the command "bt full". The complete output can found in the attachement. My current SANE configuration is in the attachement, too. If you need more information, let me know. Regards Bernhard
RBG-NB:/home/bernhard# gdb scanimage GNU gdb 6.4.90-debian Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i486-linux-gnu"...(no debugging symbols found) Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) run Starting program: /usr/bin/scanimage Failed to read a valid object file image from memory. [Thread debugging using libthread_db enabled] [New Thread -1210341152 (LWP 3462)] Program received signal SIGINT, Interrupt. [Switching to Thread -1210341152 (LWP 3462)] 0xb7fda410 in ?? () (gdb) bt full #0 0xb7fda410 in ?? () No symbol table info available. #1 0xbf931c68 in ?? () No symbol table info available. #2 0x00000001 in ?? () No symbol table info available. #3 0xbf931cbb in ?? () No symbol table info available. #4 0xb7fae803 in __read_nocancel () from /lib/tls/i686/cmov/libpthread.so.0 No symbol table info available. #5 0xb7dc0598 in ieee1284_open () from /usr/lib/libieee1284.so.3 No symbol table info available. #6 0xb7dc122d in ieee1284_epp_read_data () from /usr/lib/libieee1284.so.3 No symbol table info available. #7 0xb7a5aaa4 in sanei_pa4s2_readbyte (fd=0, val=0xbf931d1b "") at sanei_pa4s2.c:560 No locals. #8 0xb7a548a0 in cis_attach (port=0x8072228 "parport0", name=0x8072218 "MD9890", attach=0xb7a503b0 <sane_attach>, driverNo=2, info=2) at mustek_pp_cis.c:2237 altStatus = <value optimized out> altPort = <value optimized out> fd = 0 status = SANE_STATUS_GOOD asic = <value optimized out> #9 0xb7a508f6 in attach_device (driver=0xbf932238, name=0xbf932230, port=0xbf932234, option_ta=0xbf93222c) at mustek_pp.c:661 found = 0 driver_no = 2 ports = (const char **) 0x8072248 #10 0xb7a50c2d in sane_mustek_pp_init (version_code=0xbf932278, authorize=0x804ae20 <[EMAIL PROTECTED]>) at mustek_pp.c:994 optname = 0xb7fc7260 "dll" optval = 0x0 fp = (FILE *) 0x80720b0 config_line = "scanner MD9890 parport0 cis1200\000\000\0000+\000\0000\000\00000CP clone):\000\000now of.\000\000.\000\000 black,\000\000..", '\0' <repeats 586 times>, "�4��� \223��'��m:[EMAIL PROTECTED] \223��&��\n����ߨ��3��$:���ڨ����\004�ߨ�\225��\000\v\000\000\000�\024\a\b\020ը�0ި��娷\000\000\000m0���� \223�ip��"... config_line_ptr = 0xb7a5ca3f "" line = 105 driver = 0x8072238 "cis1200" port = 0x8072228 "parport0" name = 0x8072218 "MD9890" option_ta = 0x0 ---Type <return> to continue, or q <return> to quit--- #11 0xb7fc607d in init (be=0x8052b18) at dll.c:611 status = SANE_STATUS_GOOD version = 16777229 #12 0xb7fc6363 in sane_dll_get_devices (device_list=0xbf93340c, local_only=0) at dll.c:1032 be_list = (const SANE_Device **) 0x8071e10 be = (struct backend *) 0x8052b18 status = <value optimized out> full_name = 0x0 i = -1208206167 num_devs = 0 len = 3086778736 #13 0xb7fc68c4 in sane_get_devices (dl=0xbf93340c, local=0) at dll-s.c:15 No locals. #14 0x0804bdcc in ?? () No symbol table info available. #15 0xbf93340c in ?? () No symbol table info available. #16 0x00000000 in ?? () No symbol table info available. (gdb) quit The program is running. Exit anyway? (y or n) y RBG-NB:/home/bernhard#
# /etc/sane.d/dll.conf - Configuration file for the SANE dynamic backend loader # # On Debian systems, the dll backend will also look for pieces of configuration # in the /etc/sane.d/dll.d directory -- packages providing backends should drop # a config file similar to dll.conf in this directory. # # enable the next line if you want to allow access through the network: net abaton agfafocus apple avision artec artec_eplus48u as6e bh canon canon630u #canon_pp coolscan coolscan2 #dc25 #dc210 #dc240 dell1600n_net dmc epson fujitsu #gphoto2 genesys gt68xx hp hpsj5s hp3500 hp4200 hp5400 ibm leo lexmark ma1509 matsushita microtek microtek2 mustek mustek_pp mustek_usb mustek_usb2 nec niash pie pixma plustek #plustek_pp #pnm qcam ricoh s9036 sceptre sharp sm3600 sm3840 snapscan sp15c #st400 #stv680 tamarack teco1 teco2 teco3 #test u12 umax #umax_pp umax1220u v4l
# For documentation see sane-mustek_pp(5) # Global options: # =============== # # option no_epp # # Disable parallel port mode EPP: works around a known bug in # the Linux parport code. Enable this option, if the backend # hangs when trying to access the parallel port in EPP mode: # # # SANE_DEBUG_SANEI_PA4S2=128 scanimage -L # ... # hangs here -> [sanei_pa4s2] sanei_pa4s2_readbyte: read in EPP mode # # Scanner definition template: # ============================ # # scanner <name> <port> <type> # option <optname> <optval>? # option <optname> <optval>? # ... # # where: # # <name> is an arbitrary name for the scanner (eg. Mustek-1200CP) # # <port> is the parallel port to which the scanner is connected # Possible values are 0x378, 0x278, and 0x3bc. For Linux, the # mapping between ports an numbers is different for kernel # version 2.2 and 2.4. Port 0x378 corresponds to lp0 on 2.4 kernel. # If you are using libieee1284, you can as well use parport0, etc.. # If you use the magic value * the port is probed. # # <type> is an identification of the scanner type. # Possible values are: # - cis600 (for Mustek 600CP & OEM versions), # - cis1200 (for Mustek 1200CP & OEM versions), # - cis1200+ (for Mustek 1200CP+ & OEM versions), # - ccd300 (for Mustek 600 III EPP & OEM versions) # - ... more types will be added in the future # # <optname> is a name of an option, and <optval> an optional value # for the option. # Currently available options for *CIS* type scanners are: # - top_adjust <value>: # Vertical adjustment of origin, in millimeter. # Values between -5.0 and +5.0 mm are possible # (floating point). # Default: 0.0 # - slow_skip: # Boolean option. Disables fast skipping to the start # of the scan region. May be necessary in case fast # skipping results in inaccuracies. # Default: fast skipping enabled # - bw <value>: # Black/white discrimination value for lineart scans. # Pixel values below that value are considered black, # others are considered white. Range: 0-255. # Default: 127 # # Currently available options for *CCD* type scanners are: # - wait_bank <value> # usecs to wait for a bank change. Positive integer # values are possible. You shouldn't mess with this # parameter. # Default: 700 # - bw <value> # Black/white discrimination value for lineart scans. # Pixel values below that value are considered black, # others are considered white. Range: 0-255. # Default: 127 # - top <value> # Scanlines to skip to the top area. Positive integer # values are possible. 47 and 56 are values I know of. # Default: 47 # # # Example for a LifeTec LT9350 (Mustek 1200CP clone): # # scanner LT9350 0x378 cis1200 # option top_adjust 0 # option bw 127 # # Example for Mustek 6000P # # scanner 6000P 0x378 ccd300 # option top 56 # # # Uncomment/customize to your needs # # scanner Mustek-600CP 0x378 cis600 # scanner Mustek-1200CP 0x378 cis1200 # scanner Mustek-1200CP+ 0x378 cis1200+ # scanner Mustek-600-IIIEP 0x378 ccd300 # # auto probing: # # scanner mustek-cis600 * cis600 # scanner mustek-cis1200 * cis1200 # scanner mustek-cis1200+ * cis1200+ # scanner mustek-ccd300 * ccd300 scanner MD9890 parport0 cis1200