[sane-devel] xsane Segmentation fault

Claus Boje claus at egehuset.dk
Sat May 5 22:52:55 UTC 2007


Working on a patch for the epson perfection 4990 scanner for the epson2.c 
driver (not in any stabel version of sane yet) I found after heavy debugging 
that xsane makes a "Segmentation fault"  when i get data bigger than 32K from 
sane_read. When the sane_read is called the max_length == 65536.
I am getting the error after return from sane_read.

In a shellbox I got this message
*** glibc detected *** malloc(): memory corruption (fast): 0x08423648 ***
Segmentation fault

Claus Boje

More information about the sane-devel mailing list