Subject: bin/8247: monop(6) save/restore doesn't work.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <simonb@NetBSD.ORG>
List: netbsd-bugs
Date: 08/21/1999 01:50:50
>Number: 8247
>Category: bin
>Synopsis: monop(6) save/restore doesn't work
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Aug 21 01:50:00 1999
>Last-Modified:
>Originator: Simon Burge
>Organization:
IBM Global Services Australia
>Release: NetBSD-current 19990821
>Environment:
System: NetBSD simonpc 1.4J NetBSD 1.4J (SIMONPC) #22: Sun Aug 8 03:05:51 EST 1999 simonb@simonpc:/NetBSD/src/sys/arch/i386/compile/SIMONPC i386
>Description:
monop(6) saves and restores games by dumping all of memory
from the "start" symbol to the "end" symbol, and restores
by blindly reading in the same over the current data area.
This fails with a core dump on a -current pmax, i386 (elf)
and alpha, a 1.4.1 i386 and a 1.3.3 sparc. I'm curious to
know when (if ever) this acutally worked...
>How-To-Repeat:
From a shell prompt, type:
monop
1
fred
save
foo
restore
foo
>Fix:
Non-given. To be done properly it probably needs to worry
about the stack and misc. other things. I suggest writing
out game state in an ascii format...
>Audit-Trail:
>Unformatted: