[sane-devel] xsane Segmentation fault
Oliver Rauch
Oliver.Rauch at Rauch-Domain.DE
Sun May 6 12:15:11 UTC 2007
Am Sonntag, den 06.05.2007, 00:52 +0200 schrieb Claus Boje:
> Hi
>
> 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
>
> Best
> Claus Boje
>
Please do
export XSANE_DEBUG=12
(and enable debugging of the backend)
xsane 2>debug.log
start the scan
gzip debug.log
and send debug.log.gz to me
best regards
Oliver
More information about the sane-devel
mailing list