Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!att!dptg!ulysses!andante!alice!jmk From: jmk@alice.UUCP (Jim McKie) Newsgroups: comp.sys.mips Subject: RISC/os 4.50 - poll(2) crashes system Message-ID: <11053@alice.UUCP> Date: 16 Jul 90 04:40:50 GMT Organization: AT&T Bell Laboratories, Murray Hill NJ Lines: 65 MIPS Bug Report Form Synopsis: The poll(2) system call causes the system to panic User severity: Severe. We are unable to proceed with installation of our software on a newly purchased RC6280 or to upgrade our existing M/2000 and M/120's to RISC/os 4.50. Description: The following short C programme will crash RISC/os 4.50: #include #include main(int argc, char *argv[]) { struct pollfd pollfd; int n; pollfd.events = POLLIN; pollfd.fd = 0; n = poll(&pollfd, 1, 5000); printf("poll returns %d\n", n); exit(0); } PC: 0x8005E4A8 RA: 0x8005E418 EXC code: 16, `Read Address Error ' Bad addr: 0x1A, cause: 0x30000010, sr: 0xFF34 FID: 0xF85F FAR: 0x216D4 PANIC: K_TRAP, proc = 80108A38 dbx shows this PC to be [poll:241, 0x8005e4a8] lw r25,24(r3) Package/Version: OS: RISC/os 4.50 Configuration: RC6280, 96Mb M/120, 16Mb Suggested workaround: none known Report Date: Submitter name: July 16, 1990 Jim McKie Organization: Bell Laboratories Submitter address: Room 2C-419, 600 Mountain Avenue, Murray Hill, NJ 07974 Electronic address: Phone: jmk@research.att.com (201)-582-3482