Path: utzoo!utgpu!watmath!att!pacbell!ames!bionet!sdsu!usc!ucla-cs!uci-ics!erickson From: erickson@ics.uci.edu (Gary Erickson) Newsgroups: comp.sources.games.bugs Subject: Re: (Nethack 3.0) fix for SunOS 4.0 segmentation fault. Message-ID: <20535@paris.ics.uci.edu> Date: 7 Aug 89 21:34:45 GMT References: <19001@usc.edu> <20522@paris.ics.uci.edu> Sender: news@paris.ics.uci.edu Distribution: na Lines: 25 I've found the bug with SunOS 4.0 Sun 4 segmentation fault at quit. In end.c, the first action in done() is Strcpy(buf3, killer); If killer is NULL, we have problems. This line was *added* from the recent patches, and I don't quite know what an "official" fix may be. I simply did: if (killer) Strcpy(buf3,killer); As for the bus error I had earlier, that only happens if I compile with gcc. The cc version seems to work ok. So, I'll look into learning the gnu debugger. Happy Nethacking! Gary University of California Irvine | (714) 856-4222 Information & Computer Science Dept. | erickson@ics.uci.edu (Internet) Support Group | ucbvax!ucivax!erickson (UUCP) | saericks@uci (Bitnet) -- Gary Scott Erickson