Game Segfaults on Startup

Intended behaviour or bugs in other software.
Locked
POLAX
Greenhorn
Posts: 7
Joined: 22 Oct 2006, 18:33

Game Segfaults on Startup

Post by POLAX »

Warzone versions (2.0.4 and 2.0.5-rc1) segfault on startup right after opening a window or grabbing the full screen.

I am running it on Gentoo Linux with a 2.6.17 kernel, Pentium4 (no HT) Processor (82845 Intel Mainboard chipset), and ATI Radeon 9800Pro video card with the open-source R300 drivers.  Below is more detailed info and attached is an strace dump from when I run the game (it's actually just a gzipped file, not whatever I had to pretend to make it in order to be allowed to attach it):
physfs = 1.0.1
libmad = 0.15.1b
libjpeg (http://www.ijg.org) = 6b-r4
libogg = 1.1.2
libpng = 0.6.4
libsdl = 1.2.8-r1
libvorbis = 1.1.0
openal = 0.0.8
sdl-net = 1.2.5
glut = 1.0
opengl = 7.0

IMHO - The file extension restrictions for these posts is a brain-dead idea.
Attachments
warzone2100.pdf
(129.21 KiB) Downloaded 1492 times
evadim
New user
Posts: 4
Joined: 01 Oct 2006, 20:42
Contact:

Re: Game Segfaults on Startup

Post by evadim »

I had a same problem,
solved:
emerge ati-drivers

run it in xterm & look error's
POLAX
Greenhorn
Posts: 7
Joined: 22 Oct 2006, 18:33

Re: Game Segfaults on Startup

Post by POLAX »

...I'm glad to know that worked for you and that you can confirm it's a driver issue.  However, that's hardly a solution unless games are your first priority in life and your computer is a dedicated "Warzone Gaming Platform".  I need open drivers to guarantee zero funny business, in other words I don't agree with ATI's TOS (Terms of Service) for those drivers.

At least we know that the issue is that the game doesn't work with the open and easier-to-debug with drivers so that needs to be addressed.  The driver info and version I'm using is:
parm:          no_wb:Disable AGP writeback for scratch registers
parmtype:      no_wb:int
author:        Gareth Hughes, Keith Whitwell, others.
description:    ATI Radeon
license:        GPL and additional rights
vermagic:      2.6.17-gentoo-r8-82845P4 mod_unload PENTIUM4 REGPARM gcc-3.4
depends:        drm

Xorg 7.1.1 radeon_drv version 4.2.0
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: Game Segfaults on Startup

Post by DevUrandom »

Could you provide a backtrace? This might help...
POLAX
Greenhorn
Posts: 7
Joined: 22 Oct 2006, 18:33

Re: Game Segfaults on Startup

Post by POLAX »

DevUrandom wrote: Could you provide a backtrace? This might help...
The PDF file I attached on my original post is actually a gzipped text file (gz) with the backtrace.  Just rename it to warzone2100.strace.gz
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: Game Segfaults on Startup

Post by cybersphinx »

That's an strace, not a backtrace. To get a backtrace, run Warzone (ideally a debug version) in gdb (in a terminal window):

Code: Select all

$ gdb warzone2100
> r --window --viewport 800x600
[windowed, because otherwise you can't get at the gdb window, and small enough to fit your screen windowed]
[crash]
> bt
> bt full
We want information... information... information.
Suprano
Rookie
Rookie
Posts: 31
Joined: 04 Aug 2006, 11:44
Location: Bavaria
Contact:

Re: Game Segfaults on Startup

Post by Suprano »

hm i think only 'bt full' is enough..

--Ano
evadim
New user
Posts: 4
Joined: 01 Oct 2006, 20:42
Contact:

Re: Game Segfaults on Startup

Post by evadim »

I'm back to open source radeon driver (old driver don't compile on kernel-2.6.18, new driver don't support my card (radeon 9200)) - game work fine.
Kamaze
Regular
Regular
Posts: 1017
Joined: 30 Jul 2006, 15:23

Re: Game Segfaults on Startup

Post by Kamaze »

Looks solved.

--> Not a Bug.
We all have the same heaven, but not the same horizon.
The Shu Dragon Sniper
Greenhorn
Posts: 15
Joined: 07 May 2008, 04:04

Re: Game Segfaults on Startup

Post by The Shu Dragon Sniper »

This is completely offtopic, but are we allowed to post new threads? Because i have somje bugs i think id like to report...
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Game Segfaults on Startup

Post by Buginator »

The Shu Dragon Sniper wrote: This is completely offtopic, but are we allowed to post new threads? Because i have somje bugs i think id like to report...
please read this topic - ?topic=691.0


That is your best bet.

I thought Kamaze locked this section.
and it ends here.
The Shu Dragon Sniper
Greenhorn
Posts: 15
Joined: 07 May 2008, 04:04

Re: Game Segfaults on Startup

Post by The Shu Dragon Sniper »

kthxbai :D
Locked