Project

General

Profile

Bug #334

segfault on Linux-AMD64

Added by scen over 17 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
2006-08-07
% Done:

100%


Description

Hello, this is my first bug report! :)

I can't run doomsday-1.9.0_beta4 on my Gentoo Linux
AMD64 system, it exits with a "Segmentation Fault
(SDL Parachute Deployed)" error. It runs without
problem, instead, on a 32bit chroot environment, on
the same machine.

I'm using xorg 7.0 on a Nvidia Geforce 6800, with
proprietary Nvidia driver 1.0.8762.

$ jdoom -file /usr/share/games/doom-data/doom.wad
LoadPlugin: /usr/games/lib/libdpdehread
LoadPlugin: /usr/games/lib/libdpmapload
Z_Create: New 32.0 MB memory volume.
Con_Init: Initializing the console.
SW_Init: Startup message window opened.
Executable: Version 1.9.0-beta4 Aug 7 2006 (DGL).
G_PreInit: Registering Bind Classes...
Parsing configuration files.
W_Init: Init WADfiles.
W_AddFile: /usr/share/games/doom-data/doom.wad
IWAD identification: 00cdce4c
W_AddFile: Data/Doomsday.pk3
W_AddFile: Data/jDoom/jDoom.wad
IWAD identification: 00056533
Reading definition file: Defs/Doomsday.ded
Reading definition file: Defs/jDoom/jDoom.ded
138 sprite names
974 states
140 things
8 lights
112 sound effects
68 songs
351 text strings
27 particle generators
22 animation groups
49 surface decorations
37 map infos
6 finales
Sys_Init: Setting up machine state.
Sys_Init: Initializing keyboard, mouse and joystick.
I_InitJoystick: No joysticks found
Sys_InitTimer.
Sfx_Init: Initializing SDL_mixer...
S_Init: OK.
R_Init: Init the refresh daemon.
Fatal signal: Segmentation Fault (SDL Parachute
Deployed)

This is a backtrace (i've recompiled the package with
debug symbols), i hope it will be useful:

$ gdb /usr/games/bin/doomsday
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General
Public License, and you are
welcome to change it and/or distribute copies of it
under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show
warranty" for details.
This GDB was configured
as "x86_64-pc-linux-gnu"...Using host libthread_db
library "/lib/tls/libthread_db.so.1".

(gdb) run -game
jdoom -userdir /home/davide/.doomsday/jdoom -file /usr/share/games/doom-data/doom.wad
Starting program: /usr/games/bin/doomsday -game
jdoom -userdir /home/davide/.doomsday/jdoom -file /usr/share/games/doom-data/doom.wad
[Thread debugging using libthread_db enabled]
[New Thread 47017195966240 (LWP 2955)]
LoadPlugin: /usr/games/lib/libdpdehread
LoadPlugin: /usr/games/lib/libdpmapload
[New Thread 1082141024 (LWP 2958)]
Z_Create: New 32.0 MB memory volume.
Con_Init: Initializing the console.
SW_Init: Startup message window opened.
Executable: Version 1.9.0-beta4 Aug 7 2006 (DGL).
G_PreInit: Registering Bind Classes...
Parsing configuration files.
W_Init: Init WADfiles.
W_AddFile: /usr/share/games/doom-data/doom.wad
IWAD identification: 00cdce4c
W_AddFile: Data/Doomsday.pk3
W_AddFile: Data/jDoom/jDoom.wad
IWAD identification: 00056533
Reading definition file: Defs/Doomsday.ded
Reading definition file: Defs/jDoom/jDoom.ded
138 sprite names
974 states
140 things
8 lights
112 sound effects
68 songs
351 text strings
27 particle generators
22 animation groups
49 surface decorations
37 map infos
6 finales
Sys_Init: Setting up machine state.
Sys_Init: Initializing keyboard, mouse and joystick.
I_InitJoystick: No joysticks found
Sys_InitTimer.
Sfx_Init: Initializing SDL_mixer...
[New Thread 1090533728 (LWP 2959)]
[New Thread 1098926432 (LWP 2960)]
S_Init: OK.
R_Init: Init the refresh daemon.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47017195966240 (LWP 2955)]
Z_FreeTags (lowTag=20, highTag=20) at dd_zone.c:534
534 dd_zone.c: No such file or directory.
in dd_zone.c
(gdb) bt
#0 Z_FreeTags (lowTag=20, highTag=20) at
dd_zone.c:534
#1 0x000000000049c7a3 in R_InitSprites () at
r_things.c:410
#2 0x00000000004983c1 in R_Init () at r_main.c:175
#3 0x000000000043972d in DD_Main () at dd_main.c:512
#4 0x00000000004b747c in main (argc=7,
argv=0x7fffa08157e8) at dd_uinit.c:307
(gdb)

Labels: Startup

History

#1 Updated by danij over 17 years ago

Logged In: YES
user_id=849456

It is not currently possible to build a working Doomsday for
an x86_64 system without a 32bit chroot environment. It is a
known issue and we are working on it.

See exisiting report here:
https://sourceforge.net/tracker/index.php?func=detail&aid=1116075&group_id=74815&atid=542099

I will close this as duplicate.

Also available in: Atom PDF