system lockup

Dave Hammond daveh at marob.MASA.COM
Thu Feb 16 00:12:22 AEST 1989


In article <60 at estinc.UUCP> fnf at 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 at marob.masa.com



More information about the Comp.unix.xenix mailing list