[sane-devel] GPL driver for Samsung SCX-4200 MFP

Julien BLACHE jb at jblache.org
Sun Feb 1 10:41:50 UTC 2009


ABC <abc at telekom.ru> wrote:

Hi,

>> I've just tested xerox_mfp on the 1815dn, and it works very well,
>> although I've had two segfaults with XSane. It could be related to
>> SANE 1.1, though. A color scan from the ADF will segfault midway;
>> although the backtrace seems to indicate it's an XSane issue, it also
>> looks like the stack is broken.
>
> You may send valgrind log file to me for analysis.

Actually the issue is that XSane is making gamma tables for a gray
scan even though I select a color scan. Consequently, it segfaults
when receiving the color data and trying to apply gamma correction
with NULL gamma tables.

It looks like it's a problem with the preview in XSane. If I try to do
a color scan right away (without doing a preview first) and the
preview has gray data from a previous gray scan, then XSane goes with
a gray gamma table instead of a color one.

So, if preview mode != scan mode and you try to scan without doing a
preview first -> KABOOM.

Oliver, this is XSane 0.996.

Otherwise, the backend is working just *FINE* with this device, it's
fast, the scans are sharp and all. Great work!

JB.

-- 
Julien BLACHE                                   <http://www.jblache.org> 
<jb at jblache.org>                                  GPG KeyID 0xF5D65169



More information about the sane-devel mailing list