[sane-devel] Unknown SANE status code -1081075667
carterbueford at gmx.net
carterbueford at gmx.net
Tue Oct 20 06:49:01 UTC 2009
Hi,
@allan: I do not run xsane on the same mashine like the sane-server, so I do not understand how to write the log you want me to.
"xsane... 2>net.log"
sanimage on the mashine where the sane-server runs, works fine.
@Olaf:"Compile the backend with gcc -Wall -Werror should give a cluebat." What is meant by that?
I'm using the optware package, so it is not compiled on my router. I am maintainer of the package, so I can patch it to be compiled in a different way, but how?
Regards
Oliver
-----Ursprüngliche Nachricht-----
Von: Olaf Meeuwissen [mailto:olaf.meeuwissen at avasys.jp]
Gesendet: Dienstag, 20. Oktober 2009 01:05
An: m. allan noah
Cc: carterbueford at gmx.net; sane-devel at lists.alioth.debian.org
Betreff: Re: [sane-devel] Unknown SANE status code -1081075667
"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