[sane-devel] [dev] net backend and timing problems? (pretty weird)

Jochen Eisinger jochen.eisinger at gmx.de
Sat Sep 8 01:54:49 BST 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

The problem here is, my net backend just doesn't crash, no matter what i
do :(


I'd say this is the old "scan over localhost" problem. Anyway, I've
rewritten parts of the net backend (basically adding lot's of DBG, some
checks again NULL pointers and I've changed parts of the auth functions
to avoid information leaks)

Please try this backend with SANE_DEBUG_NET=128 and send me the output...

regards
- -- jochen

mh wrote:
| mh, Fre, 07 Sep 2001:
| ...
|
|>BTW, maybe someone else with the same problem can try to add a sleep()
too?
|>AFAIR, there were a couple of reports about problems with the net
backend/saned
|>on the localhost.
|>
|
| Just some additional infos: (I hope, this doesn't get boring)
| I've just made some modifications in the net backend (net.c):
| I've replaced all calls to do_cancel(s) in the function sane_read() with
| calls to sane_cancel(s) .
| Now the net backend works just fine (at least on the localhost). I did 500
| scans with the pnm backend and 50 with my Plustek (using quiteinsane).
There
| wasn't a single problem. The other frontends work without problems too.
| Any explanation for this ?
|
| Michael
| _______________________________________________
| Sane-devel mailing list
| Sane-devel at www.mostang.com
| http://www.mostang.com/mailman/listinfo/sane-devel
|


- --
~  [This is a signature virus, please copy me into your signature file!]

~  GnuGP public key for jochen.eisinger at gmx.de:
~      http://home.nexgo.de/jochen.eisinger/pubkey.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7mWxW8OF76YrreuMRAo7bAJ4yKLu/RkO15GyrX7/tpSVCmEIAvACgy5y4
3Sck7rzVEK/mZKsu1kvk8jo=
=2eZe
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: net.c.gz
Type: application/octet-stream
Size: 8948 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20010908/7864a6cc/attachment.obj>


More information about the sane-devel mailing list