Hello, Julien
My new dll.conf is in the attachement.
Only mustek_pp is available in the dll.conf.
I executed the program "XSane" through gdb with the command: "gdb xsane".
After starting of the debugger, XSane was started with the command "run".
The program starts normal with the disclaimer.
During search of the scanners, XSane crash.
It is necessary to kill the process "xsane".
The last output of XSane is shown in the screenshot.
The screenshot is in the attachement.
If you need more information, let me know.
Kindly regards
Bernhard
[EMAIL PROTECTED]:~$ gdb xsane
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/xsane
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1219262784 (LWP 3526)]
Program received signal SIGINT, Interrupt.
[Switching to Thread -1219262784 (LWP 3526)]
0xb7fd8410 in ?? ()
(gdb) bt full
#0 0xb7fd8410 in ?? ()
No symbol table info available.
#1 0xbf8f7458 in ?? ()
No symbol table info available.
#2 0x00000001 in ?? ()
No symbol table info available.
#3 0xbf8f74ab in ?? ()
No symbol table info available.
#4 0xb7fb0803 in __read_nocancel () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#5 0xb7f08598 in ieee1284_open () from /usr/lib/libieee1284.so.3
No symbol table info available.
#6 0xb7f0922d in ieee1284_epp_read_data () from /usr/lib/libieee1284.so.3
No symbol table info available.
#7 0xb7239aa4 in sanei_pa4s2_readbyte (fd=0, val=0xbf8f750b "") at
sanei_pa4s2.c:560
No locals.
#8 0xb72338a0 in cis_attach (port=0x8112f98 "parport0", name=0x8179e58
"MD9890", attach=0xb722f3b0 <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 0xb722f8f6 in attach_device (driver=0xbf8f7a28, name=0xbf8f7a20,
port=0xbf8f7a24, option_ta=0xbf8f7a1c) at mustek_pp.c:661
found = 0
driver_no = 2
ports = (const char **) 0x816a698
#10 0xb722fc2d in sane_mustek_pp_init (version_code=0xbf8f7a68,
authorize=0x8058de0 <[EMAIL PROTECTED]>) at mustek_pp.c:994
optname = 0xb7fc5260 "dll"
optval = 0x0
fp = (FILE *) 0x8182400
config_line = "scanner MD9890 parport0
cis1200\000\000\0000+\000\0000\000\00000CP clone):\000\000now
of.\000\000.\000\000
black,\000\000..\000\000�l\016\b\020\000\000\000\001\000\000\000\001\000\000\000�\207\026\bT�f�tv\217�\001\000\000\000dv\217�\024\211\027\b",
'\0' <repeats 40 times>,
"\020\000\000\000�Ts�\000\000\023\001�\225\224�\220\210\027\b\224�\230�Hw\217��B\224�\001�f�\002\000\000\000�v\217�
%\030\b\000\000\000\000\232\231\231\231\231\231�?\000\000\000\000\224�\230�\021\000"...
config_line_ptr = 0xb723ba3f ""
line = 105
driver = 0x8139318 "cis1200"
port = 0x8112f98 "parport0"
name = 0x8179e58 "MD9890"
---Type <return> to continue, or q <return> to quit---
option_ta = 0x0
#11 0xb7fc407d in init (be=0x8135270) at dll.c:611
status = SANE_STATUS_GOOD
version = 16777229
#12 0xb7fc4363 in sane_dll_get_devices (device_list=0x80dab04, local_only=0) at
dll.c:1032
be_list = (const SANE_Device **) 0xb7fc42eb
be = (struct backend *) 0x8135270
status = <value optimized out>
full_name = 0x8105900 "\200%\020\b\001"
i = -1208214359
num_devs = 25
len = 3086770544
#13 0xb7fc48c4 in sane_get_devices (dl=0x80dab04, local=0) at dll-s.c:15
No locals.
#14 0x080aef20 in ?? ()
No symbol table info available.
#15 0x080dab04 in optind ()
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
[EMAIL PROTECTED]:~$
# /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.
#
mustek_pp
