[sane-devel] old Agfa DuoScan / Floating point exception

Daniel Bauer linux at daniel-bauer.com
Sun Apr 16 11:15:49 UTC 2006


Am Sonntag, 16. April 2006 13:11 schrieb Frank Zago:
> Hello Daniel,
>
Hi Frank
thanks for looking at my problem! 

> As indicated by the trace you provided, the crash happenned at line 4017
> in microtek.c:
>   s->max_scsi_lines = SCSI_BUFF_SIZE / (s->pixel_bpl + s->header_bpl);
>
I now get a first idea of what all those messages mean...

> So this is a division by 0. Which probably means that both s->pixel_bpl
> and s->header_bpl are 0.
>  Looking at the other traces, it looks like your scanner could be 
> supported. But you'll have to recompile the microtek backend to add more
> traces to understand why these values are not set. Do you know how to do
> that ? 

Unfortunately not. 

> Do you know a bit of C ? 

No, but I'm not afraid of it. I am willing to learn and try, but I guess I'd 
need quite a lot of guiding thru the necessary steps. So, if you feel up to 
help me, I'll be glad to take the opportunity, of course...

(I have some programming skills from earlier times (COBOL) and know some 
script languages (php4, JavaScript), however no object oriented languages, 
but at least the "basic understandings" are given, I guess.)

Daniel




More information about the sane-devel mailing list