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

Jochen Eisinger jochen.eisinger at gmx.de
Sat Sep 8 18:02:31 BST 2001


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

Hi!

Ok, here we go... a modified version of sanei_wire.c. Could please try
this one? with sane_debug_sanei_wire=4...

regards
- -- jochen

Jochen Eisinger wrote:
| -----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-----
| net.c.gz
|
| Content-Type:
|
| application/octet-stream
| Content-Encoding:
|
| base64
|
|


- --
~  [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

iD8DBQE7mk8j8OF76YrreuMRAgzAAKCPkbr1JNzaXBo76TmP7A7if5TfxgCdFCkk
2MBoDYhItSe+NqvU1c6ep+E=
=lqOY
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sanei_wire.c.gz
Type: application/octet-stream
Size: 3906 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20010908/c7dfd4d4/attachment.obj>


More information about the sane-devel mailing list