[sane-devel] Unknown SANE status code -1081075667

Olaf Meeuwissen olaf.meeuwissen at avasys.jp
Mon Oct 19 23:05:25 UTC 2009


"m. allan noah" <kitno455 at gmail.com> writes:

> I had a similar problem with the fujitsu backend when I built 1.0.20
> on the slug a few months ago. The cross-compiler does not init vars to
> 0.

Eh, if you don't tell it to do so, yes.  Using variables before
initialisation has been undefined behaviour since as long as I
know.

> Get a log of the problem occurring, so we can track down which
> function is being called:

Compile the backend with gcc -Wall -Werror should give a cluebat.

> SANE_DEBUG_NET=10 xsane... 2>net.log
>
> Also, does it happen with scanimage too, or does it happen on the slug
> if you scan there with scanimage directly?
>
> allan
>
> On Mon, Oct 19, 2009 at 12:52 PM,  <carterbueford at gmx.net> wrote:
>> Hi,
>>
>> thanks for the reply.
>>
>> "Not initialising the status variable before returning it, most likely.
>> Meaning that this is probably a minor bug in the epson2 backend."
>>
>> How can I solve this?
>>
>> Regards
>> Oliver
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Olaf Meeuwissen [mailto:olaf.meeuwissen at avasys.jp]
>> Gesendet: Montag, 19. Oktober 2009 01:48
>> An: carterbueford at gmx.net
>> Cc: sane-devel at lists.alioth.debian.org
>> Betreff: Re: [sane-devel] Unknown SANE status code -1081075667
>>
>> <carterbueford at gmx.net> writes:
>>
>>> Hi,
>>>
>>> could anybody mention what is the reason for this??
>>>
>>> Sane:
>>> scanimage -L
>>> WARNING: Unhandled message: interface=org.freedesktop.DBus.Introspectable,
>>> path=/, member=Introspect
>>> device `net:192.168.1.1:epson2:libusb:003:003' is a Epson generic flatbed
>>> scanner
>>>
>>> XSane:
>>> Unknown SANE status code -1081075667
>>
>> Not initialising the status variable before returning it, most likely.
>> Meaning that this is probably a minor bug in the epson2 backend.
>>
>>> I am using a Epson all-in-one RX520 and the sane-backends optware package.
>>
>> Hope this helps,
>> --
>> Olaf Meeuwissen, LPIC-2           FLOSS Engineer -- AVASYS Corporation
>> FSF Associate Member #1962               Help support software freedom
>>                 http://www.fsf.org/jf?referrer=1962
>>
>>
>> --
>> sane-devel mailing list: sane-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>>             to sane-devel-request at lists.alioth.debian.org
>>

-- 
Olaf Meeuwissen, LPIC-2           FLOSS Engineer -- AVASYS Corporation
FSF Associate Member #1962               Help support software freedom
                 http://www.fsf.org/jf?referrer=1962



More information about the sane-devel mailing list