[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: oskit-mach: vm_map_copyout crash

From: Daniel Wagner
Subject: Re: oskit-mach: vm_map_copyout crash
Date: Fri, 23 Nov 2001 01:08:16 +0100
User-agent: Mutt/1.2.5i

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      
 xmit: xmit-test.c:268: xmit_demuxer: Unexpected error: (os/device) invalid IO 

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: wagi@gmx.ch

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]