[sane-devel] sigsegv with avision

Franz Bakan Franz Bakan" <fbakan@gmx.net
Tue, 06 May 2003 02:05:34 +0200 (CEST)


Hi,
when I compile the current CVS with avision backend included in backend/makefile
I get a coredump when executing scanimage or scanimage -L  (on OS/2)

Following the output from the debugger:
...
 Breakpoint 3, sanei_config_read (str=0x283f4f0 "", n=1024, stream=0x0) at sanei_config.c:177
 (gdb)
 Program received signal SIGSEGV, Segmentation fault.
 0x1de26c6b in ?? ()
 (gdb) bt
 #0  0x1de26c6b in ?? ()
 #1  0x283f4f0 in ?? ()
 #2  0x122d8 in sanei_config_read (str--0x283f4f0 "", n--1024, stream=0x0) at sanei_config.c:177
 #3  0x24d5a in sane_avision_init (version_code=0x283f920, authorize=0x1448c <auth_callback>) at avision.c:4292
 #4  0x26bbd in init (be=0x309d0) at dll.c:501
 #5  0x27312 in sane_dll_get_devices (device_list=0x283f9ec, local_only=0) at dll.c:813
 #6  0x18d32 in main (argc--1, argv--0x283ffb8) at scanimage.c:1701

Bye
Franz