Game Segfaults on Startup

Intended behaviour or bugs in other software.

Game Segfaults on Startup

Postby POLAX » 22 Oct 2006, 18:50

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 832 times
POLAX
Greenhorn
 
Posts: 7
Joined: 22 Oct 2006, 18:33

Re: Game Segfaults on Startup

Postby evadim » 23 Oct 2006, 00:32

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

run it in xterm & look error's
evadim
New user
 
Posts: 4
Joined: 01 Oct 2006, 20:42

Re: Game Segfaults on Startup

Postby POLAX » 23 Oct 2006, 02:18

...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
POLAX
Greenhorn
 
Posts: 7
Joined: 22 Oct 2006, 18:33

Re: Game Segfaults on Startup

Postby DevUrandom » 23 Oct 2006, 12:00

Could you provide a backtrace? This might help...
User avatar
DevUrandom
Regular
Regular
 
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: Game Segfaults on Startup

Postby POLAX » 24 Oct 2006, 02:35

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
POLAX
Greenhorn
 
Posts: 7
Joined: 22 Oct 2006, 18:33

Re: Game Segfaults on Startup

Postby cybersphinx » 24 Oct 2006, 13:42

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.
cybersphinx
Inactive
Inactive
 
Posts: 1670
Joined: 01 Sep 2006, 19:17

Re: Game Segfaults on Startup

Postby Suprano » 24 Oct 2006, 15:34

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

--Ano
Suprano
Rookie
Rookie
 
Posts: 31
Joined: 04 Aug 2006, 11:44
Location: Bavaria

Re: Game Segfaults on Startup

Postby evadim » 11 Nov 2006, 21:05

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.
evadim
New user
 
Posts: 4
Joined: 01 Oct 2006, 20:42

Re: Game Segfaults on Startup

Postby Kamaze » 22 Nov 2006, 10:42

Looks solved.

--> Not a Bug.
We all have the same heaven, but not the same horizon.
User avatar
Kamaze
Regular
Regular
 
Posts: 1017
Joined: 30 Jul 2006, 15:23
Location: Germany

Re: Game Segfaults on Startup

Postby The Shu Dragon Sniper » 09 May 2008, 16:42

This is completely offtopic, but are we allowed to post new threads? Because i have somje bugs i think id like to report...
The Shu Dragon Sniper
Greenhorn
 
Posts: 15
Joined: 07 May 2008, 04:04

Re: Game Segfaults on Startup

Postby Buginator » 13 May 2008, 07:29

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 - http://forums.wz2100.net/?topic=691.0


That is your best bet.

I thought Kamaze locked this section.
and it ends here.
User avatar
Buginator
Professional
Professional
 
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Game Segfaults on Startup

Postby The Shu Dragon Sniper » 13 May 2008, 08:45

kthxbai :D
The Shu Dragon Sniper
Greenhorn
 
Posts: 15
Joined: 07 May 2008, 04:04


Return to Not a bug

cron