On Thu, 22 Nov 2001, Roland McGrath wrote:

> Does your program use device_write or device_write_inband?  Try making both

Yes, it used device_write. I have changed it to use device_write_inband
with the result that my programm crashes:

 gauss:/mnt/newton/cache/hurd/oskit-mach-debug# ./xmit -r eth0 192.168.2.3             
                                      
 xmit: xmit-test.c:268: xmit_demuxer: Unexpected error: (os/device) invalid IO size.
 Aborted

Ah, before the recent bug fix (OSENV_NONBLOCKING), the program stopped 
here also. It seems that that my buggy program triggers many other bugs to.

> I suppose that could somehow be wrong and affect it.  Using only
> device_write_inband avoids that code, and so if your problem disappears 
> we'll know something.

... so device_write doesn't check correctly all passed parameters?

-- 
Daniel Wagner                              "use quit to exit"
email: [EMAIL PROTECTED]

GnuPG: 1024D/DCDE890A (public key available on any keyserver)

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to