Subject: pkg/17741: games/xdoom package fails to start.
To: None <>
From: None <>
List: netbsd-bugs
Date: 07/28/2002 22:08:23
>Number:         17741
>Category:       pkg
>Synopsis:       games/xdoom package fails to start.
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 28 06:09:00 PDT 2002
>Originator:     Curt Sampson
>Release:        NetBSD 1.6B
System: NetBSD 1.6B NetBSD 1.6B (ANGELIC2-$Revision: 1.1 $) #0: Wed Jul 3 11:38:08 JST 2002 i386
Architecture: i386
Machine: i386
When I install the xdoom package and attempt to start it, it coredumps:

                            DOOM Shareware Startup v1.10                           
V_Init: allocate screens.
M_LoadDefaults: Load system defaults.
Z_Init: Init zone memory allocation daemon. 
W_Init: Init WADfiles.
 adding /usr/pkg/share/doom/doom1.wad
M_Init: Init miscellaneous info.
R_Init: Init DOOM refresh daemon - Memory fault (core dumped) 

It seems it might be related to shared libs:

angelic $ gdb xdoom xdoom.core 
(gdb) bt
#0  0x8063aa3 in dladdr ()
#1  0x80641bb in dladdr ()
#2  0x806570b in dladdr ()
#3  0x804eae3 in dladdr ()
#4  0x806ee78 in dladdr ()
#5  0x8049a90 in vfprintf ()

    export DOOMWADDIR=/usr/pkg/share/doom