Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!cmcl2!phri!marob!daveh From: daveh@marob.MASA.COM (Dave Hammond) Newsgroups: comp.unix.xenix Subject: Re: system lockup Keywords: bug? Message-ID: <555@marob.MASA.COM> Date: 15 Feb 89 14:12:22 GMT References: <60@estinc.UUCP> Reply-To: daveh@marob.masa.com (Dave Hammond) Organization: ESCC New York City Lines: 31 In article <60@estinc.UUCP> fnf@estinc.UUCP (Fred Fish) writes: >[...] >under SCO 386 Xenix Version 2.3.1, which was causing the system >to lock up (no response to any typing on any terminal). I finally >tracked it down. This simple program demonstrates the problem >on my system: > > static char buf [1024 * 1024]; > main () > { > write (0, buf, sizeof (buf)); > } I'm not offering confirmation, but I am quite curious why you are writing to file descriptor 0, normally associated with your standard input -- a *read* descriptor. Perhaps this is contributing to your problem? [inews fodder] [inews fodder] [inews fodder] [inews fodder] [inews fodder] [inews fodder] [inews fodder] [inews fodder] [inews fodder] [inews fodder] -- Dave Hammond daveh@marob.masa.com