[net.games.hack] Bug report

mann@Shasta.ARPA (08/20/85)

Thought I'd pass on this bug report, to see if anyone else has seen this
problem, and perhaps fixed it.

-----
Date: 19 Aug 1985 2158-PDT (Monday)
From: Lance Berc <lance>
To: mann
Subject: Hack crash

Hack crashed after I went down from a level that had a shop keeper
looking for me. It was in onbill.

The stack dump is:

inshop+?
obfree+14
useup+42
doread+FC4
rhack+23C
main+A02
TeamRoot+264

I was in the process of reading a scroll at the time.

Needless to say, I was in the middle of a great game (many rings,
thousands of gold pieces, 59 hit points, etc.)

Oh well.

lance
----------

The crash was in the first call to onbill() in obfree() -- the one in the
initializer for "bp".  Not sure exactly where in onbill it crashed, but the
cause was dereferencing a null or garbage pointer.

	--Tim

mendell@utai.UUCP (Mark Mendell) (08/23/85)

That crash has occurred running on SUN 68010 systems here.  The problem is
that the billcnt field in the shopkeepers record gets trashed to very large
value (>> BILLSZ).  I was not able to figure out what part of the program was
doing the trashing.
-- 
Mark Mendell
	    Computer Systems Research Institute    University of Toronto
	    Usenet:	{linus, ihnp4, allegra, decvax, floyd}!utcsri!mendell
	    CSNET:	mendell@Toronto
	    ARPA:	mendell%Toronto@CSNet-Relay