Subject: bin/12459: battlestar segfault on typo
To: None <gnats-bugs@gnats.netbsd.org>
From: John Hawkinson <jhawk@mit.edu>
List: netbsd-bugs
Date: 03/23/2001 09:11:07
>Number:         12459
>Category:       bin
>Synopsis:       battlestar segfault on typo
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 23 13:38:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     John Hawkinson
>Release:        NetBSD 1.5 release
>Organization:
MIT
>Environment:
	
System: NetBSD zorkmid.mit.edu 1.5R NetBSD 1.5R (ZORKMID-$Revision: 1.7 $) #90: Sun Feb 11 10:27:59 EST 2001 jhawk@zorkmid.mit.edu:/usr/local/netbsd-current/src/sys/arch/i386/compile/ZORKMID i386


>Description:
	battlestar segfaulted when I gave it a typo-induced instruction
>How-To-Repeat:
	
Version 4.2, fall 1984.
First Adventure game written by His Lordship, the honorable
Admiral D.W. Riggle


        This is a luxurious stateroom.
The floor is carpeted with a soft animal fur and the great wooden furniture
is inlaid with strips of platinum and gold.  Electronic equipment built
into the walls and ceiling is flashing wildly.  The floor shudders and
the sounds of dull explosions rumble though the room.  From a window in
the wall ahead comes a view of darkest space.  There is a small adjoining
room behind you, and a doorway right.

>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:
 >-: r
 
         These are the executive suites of the battlestar.
 Luxurious staterooms carpeted with crushed velvet and adorned with beaten
 gold open onto this parlor. A wide staircase with ivory banisters leads
 up or down. This parlor leads into a hallway left. The bridal suite is right.
 Other rooms lie ahead and behind you.
 
 >-: r
 
         You are in what was once an elegant stateroom.
 Whoever lived in this stateroom, he and his female companion
 were mercilessly slain in their sleep. Clothes, trinkets and personal
 belongings are scattered all across the floor. Through a hole in the
 collapsed floor I can see a hallway below.  A door is behind you.
 
 There is a strange golden amulet on the floor here.
 >-: wear mulet
 Segmentation fault (core dumped)
 
 
 gdb reports:
 (gdb) where
 #0  0x8049f6b in dladdr ()
 #1  0x804e765 in dladdr ()
 #2  0x80495a5 in dladdr ()
 #3  0x8049105 in free ()
 
 to which I say "feh."