Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107290 - ut2004-demo segfaults on startup
Summary: ut2004-demo segfaults on startup
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-26 08:17 UTC by Volker Hemmann
Modified: 2005-09-26 09:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Hemmann 2005-09-26 08:17:11 UTC
Hi, 
when I try to start ut2004-demo, it crashs with a segfault everytime shortly after displaying 
the splash screen: 
 
cat UT2004.log 
Log: Log file open, Mon Sep 26 17:10:59 2005 
Init: Name subsystem initialized 
Init: Version: 3334 (128.29) 
Init: Compiled: Sep 24 2004 05:25:18 
Init: Command line: 
Init: (This is Linux64 patch version 3334.0) 
Init: Character set: Unicode 
Init: Base directory: /opt/ut2004-demo/System/ 
Init: Ini:UT2004.ini   UserIni:User.ini 
Init: Build label: UT2004 Build UT2004_Build_[2004-09-21_19.13] 
Init: Object subsystem initialized 
Log: Your ini had WinDrv...Forcing use of SDLDrv instead. 
Log: Your ini had D3DDrv...Forcing use of OpenGLDrv instead. 
Warning: Missing Class Class Editor.TransBuffer 
Warning: Missing Texture Texture UCGeneric.DetailTextures.detail25 
Warning: Missing Package Package CubeMaps.testenv 
Warning: Missing TexEnvMap TexEnvMap CubeMaps.testenv.testcubeTexEnv 
Warning: Missing Package Package CubeMaps.testenv 
Warning: Missing Texture Texture UCGeneric.DetailTextures.detail41 
Warning: Missing Texture Texture PlayerSkins.MercFemaleCBodyA 
Warning: Missing Texture Texture PlayerSkins.MercFemaleCHeadA 
Warning: Missing Texture Texture PlayerSkins.MercFemaleBBodyA 
Warning: Missing Texture Texture PlayerSkins.MercFemaleBHeadA 
Warning: Missing Texture Texture PlayerSkins.NightFemaleBBodyA_0 
Warning: Missing Texture Texture PlayerSkins.NightFemaleBHeadA 
Warning: Missing Texture Texture PlayerSkins.NightFemaleABodyA 
Warning: Missing Texture Texture PlayerSkins.NightFemaleAHeadA 
Warning: Missing Texture Texture PlayerSkins.Human_Skeleton 
Warning: Missing Texture Texture PlayerSkins.EgyptFemaleABodyA 
Warning: Missing Texture Texture PlayerSkins.EgyptFemaleAHeadA 
Warning: Missing Texture Texture PlayerSkins.EgyptFemaleBBodyA 
Warning: Missing Texture Texture PlayerSkins.EgyptFemaleBHeadA 
Warning: Missing Texture Texture PlayerSkins.MercFemaleABodyA 
Warning: Missing Texture Texture PlayerSkins.MercFemaleAHeadA 
Warning: Missing Texture Texture PlayerSkins.EgyptMaleBBodyA 
Warning: Missing Texture Texture PlayerSkins.EgyptMaleBHeadA 
Warning: Missing Texture Texture PlayerSkins.NightMaleBBodyA 
Warning: Missing Texture Texture PlayerSkins.NightMaleBHeadA 
Warning: Missing Texture Texture PlayerSkins.MercMaleABodyA 
Warning: Missing Texture Texture PlayerSkins.MercMaleAHeadA 
Warning: Missing Texture Texture PlayerSkins.MercMaleCBodyA 
Warning: Missing Texture Texture PlayerSkins.MercMaleCHeadA 
Warning: Missing Texture Texture PlayerSkins.MercMaleDBodyA 
Warning: Missing Texture Texture PlayerSkins.MercMaleDHeadA 
Warning: Missing Texture Texture PlayerSkins.EgyptMaleABodyA 
Warning: Missing Texture Texture PlayerSkins.EgyptMaleAHeadA 
Warning: Missing Texture Texture PlayerSkins.MercMaleBBodyA 
Warning: Missing Texture Texture PlayerSkins.MercMaleBHeadA 
Warning: Missing Texture Texture PlayerSkins.Human_Skeleton 
Warning: Missing Texture Texture PlayerSkins.NightMaleABodyA 
Warning: Missing Texture Texture PlayerSkins.NightMaleAHeadA 
Warning: Missing Texture Texture WeaponSkins.Skins.TransLauncherTex0 
Warning: Missing Texture Texture WeaponSkins.Skins.TransBeaconTex0 
Warning: Missing Texture Texture H_E_L_Ltx.Shaders.cp_caustics4water 
Warning: Missing TexPanner TexPanner FireEngine.Liquids.water04AR-texpanner 
Warning: Missing TexEnvMap TexEnvMap CubeMaps.Anubis.Anubis-texenv 
Warning: Missing Texture Texture FireEngine.Liquids.water04AR 
Warning: Missing Shader Shader Egypt_tech_Epic.Shaders.toptarpalpha 
Log: Initializing OpenGLDrv... 
Log: binding libGL.so.1 
Log: Game class is 'GameInfo' 
Log: Bringing Level Entry.myLevel up for play (0) appSeconds: 6.342389... 
ScriptLog: GameInfo::InitGame : bEnableStatLogging False 
Log: Browse: NvidiaLogo.ut2?Name=Player?Class=Engine.Pawn?Character=Jakob?team=255 
Log: Collecting garbage 
Log: Purging garbage 
Log: Garbage: objects: 33478->33477; refs: 347091 
Log: Game class is 'CinematicGame' 
Log: Bringing Level NvidiaLogo.myLevel up for play (0) appSeconds: 8.252431... 
ScriptLog: GameInfo::InitGame : bEnableStatLogging False 
Log: Created and initialized a new SDL viewport. 
Log: 
Developer Backtrace: 
Log: [ 1]  ./ut2004-bin [0xad52fd] 
Log: [ 2]  /lib/tls/libpthread.so.0 [0x2aaaaacd1270] 
Log: [ 3]  /usr/lib/libasound.so(__snd_pcm_hw_params_get_buffer_size+0x21) 
[0x2aaab0575131] 
Log: [ 4]  ./openal.so(set_write_alsa+0x1ae) [0x2aaab0396d4e] 
Log: [ 5]  ./openal.so(set_write_audiodevice+0x64) [0x2aaab0395684] 
Log: [ 6]  ./openal.so(_alcDeviceSet+0x2c) [0x2aaab039a35c] 
Log: [ 7]  ./openal.so [0x2aaab039937a] 
Log: [ 8]  ./openal.so(alcMakeContextCurrent+0x87) [0x2aaab03981c7] 
Log: [ 9]  ./ut2004-bin(_ZN17UALAudioSubsystem4InitEv+0x22b) [0xce674b] 
Log: [10]  ./ut2004-bin(_ZN7UEngine9InitAudioEv+0xd5) [0x641ae5] 
Log: [11]  ./ut2004-bin(_ZN11UGameEngine4InitEv+0xe39) [0x65c029] 
Log: [12]  ./ut2004-bin [0x519274] 
Log: [13]  ./ut2004-bin(main+0x29cf) [0x514b4f] 
Log: [14]  /lib/tls/libc.so.6(__libc_start_main+0xe4) [0x2aaaab3be674] 
Log: [15]  ./ut2004-bin(strcat+0x9a) [0x511faa] 
Log: Unreal Call Stack: alcMakeContextCurrent <- UALAudioSubsystem::Init <- 
UEngine::InitAudio <- UGameEngine::Init <- InitEngine 
Exit: Exiting. 
Log: FileManager: Reading 0 GByte 53 MByte 310 KByte 476 Bytes from HD took 2.827181 
seconds (0.146271 reading, 2.680910 seeking). 
Log: FileManager: 0.000000 seconds spent with misc. duties 
Uninitialized: Name subsystem shut down 
Uninitialized: Allocation checking disabled 
Uninitialized: Log file closed, Mon Sep 26 17:11:07 2005 
 

Reproducible: Always
Steps to Reproduce:
1.have a pretty actual amd64 system 
2.emerge ut2004-demo 
3.start ut2004-demo 
 



Portage 2.0.52-r1 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-gentoo-r2  
x86_64)  
=================================================================  
System uname: 2.6.13-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+  
Gentoo Base System version 1.12.0_pre8  
dev-lang/python:     2.3.5, 2.4.1-r1  
sys-apps/sandbox:    1.2.13  
sys-devel/autoconf:  2.13, 2.59-r7  
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6  
sys-devel/binutils:  2.16.1  
sys-devel/libtool:   1.5.20  
virtual/os-headers:  2.6.11-r2  
ACCEPT_KEYWORDS="amd64 ~amd64"  
AUTOCLEAN="yes"  
CBUILD="x86_64-pc-linux-gnu"  
CFLAGS="-march=k8 -O2 -fweb -ftracer -fpeel-loops -msse3 -pipe"  
CHOST="x86_64-pc-linux-gnu"  
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"  
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"  
CXXFLAGS="-march=k8 -O2 -fweb -ftracer -fpeel-loops -msse3 -pipe"  
DISTDIR="/usr/portage/distfiles"  
FEATURES="autoconfig distlocks sandbox sfperms strict"  
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"  
LC_ALL="de_DE@euro"  
LINGUAS="de"  
MAKEOPTS="-j2"  
PKGDIR="/usr/portage/packages"  
PORTAGE_TMPDIR="/var/tmp"  
PORTDIR="/usr/portage"  
SYNC="rsync://rsync.gentoo.org/gentoo-portage"  
USE="amd64 S3TC X acpi alsa audiofile avi bash-completion berkdb bitmap-fonts bluetooth  
bzip2 cdparanoia cdr cpudetection crypt curl debug dvd dvdr dvdread eds emboss encode fam  
ffmpeg fftw foomaticdb fortran ftp gif glut gpm gstreamer gtk gtk2 icq imagemagick imlib ipv6  
jabber java javascrip jp2 jpeg jpeg2k kde kdeenablefinal kdepim lesstif lm_sensors lzo lzw  
lzw-tiff mad matroska mmap mng motif mp3 mpeg mplayer mysql ncurses nls no-old-linux  
nptl nvidia offensive ogg openal opengl oscar pam pdflib perl png posix python qt quicktime rar  
readline reiserfs scanner sdl sockets spell ssl svg tcpd theora tiff transcode truetype  
truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd videos vorbis xine xml xml2  
xpm xrandr xv xvid xvmc zlib linguas_de userland_GNU kernel_linux elibc_glibc"  
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, PORTDIR_OVERLAY  
  
 media-video/nvidia-glx  
      Latest version available: 1.0.7676-r1  
      Latest version installed: 1.0.7676-r1  
  
media-video/nvidia-kernel  
      Latest version available: 1.0.7676  
      Latest version installed: 1.0.7676  
  
x11-base/xorg-x11  
      Latest version available: 6.8.2-r5  
      Latest version installed: 6.8.2-r5  
  
  media-libs/libsdl  
      Latest version available: 1.2.9  
      Latest version installed: 1.2.9  
  
cat /proc/cpuinfo  
processor       : 0  
vendor_id       : AuthenticAMD  
cpu family      : 15  
model           : 47  
model name      : AMD Athlon(tm) 64 Processor 3200+  
stepping        : 2  
cpu MHz         : 1000.058  
cache size      : 512 KB  
fpu             : yes  
fpu_exception   : yes  
cpuid level     : 1  
wp              : yes  
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36  
clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm  
bogomips        : 2002.31  
TLB size        : 1024 4K pages  
clflush size    : 64  
cache_alignment : 64  
address sizes   : 40 bits physical, 48 bits virtual  
power management: ts fid vid ttp tm stc
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-09-26 08:34:24 UTC
A few things to note.  First, try removing your ~/.ut2004demo directory.  It
looks like your config file is for a Windows version of the game.  Did you copy
it from a Windows box?  Also, you have -msse3 in your CFLAGS, but you also
posted a /proc/cpuinfo that plainly shows that your CPU does *not* support SSE3,
which is also confirmed by checking AMD's site.  I'd suggest turning off that
flag and recompiling your system.  The libSDL version doesn't matter, as
ut2004-demo uses its own internal version, unless you've done something bad... ;]

If after fixing these things, you're still having a problem, feel free to REOPEN
this bug.
Comment 2 Volker Hemmann 2005-09-26 08:45:35 UTC
Hi,  
the first thing after the segfaults was removing the ~/.ut2004demo directory.  
  
Nothing changed.  
  
In fact, this 'windows' messages were not there when I tried with the old  
~/ut2004demo directory from my earlier 32bit installation.  
  
Second, have a look at my cpuinfo: pni  
  
that IS sse3  
  
I also downloaded the test-programm from here:  
http://www.ussg.iu.edu/hypermail/linux/kernel/0504.3/1027.html  
  
test_pni  
cpuid(0) returns 1 (AuthenticAMD)  
cpuid(1) returns 00020ff2 00000800 00000001 078bfbff  
Result is 496498219533200  
  
If I had not sse3, it should have thrown an 'illeagal instruction' error. 
 
And for the third point, my CPU has this OPN: 
ADA4200DAA4BW, which is an E6 stepping CPU - and this are the ones with sse3 
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-09-26 09:05:38 UTC
Your missing textures tells me that the installation is corrupted.  I'd try
reinstalling it.  Also, since this is a commercial game, and the problem is the
game itself and not the ebuild, you're going to need to get support via the
proper channels.

https://bugzilla.icculus.org/enter_bug.cgi?product=Unreal%20Tournament%202004

Comment 4 Volker Hemmann 2005-09-26 09:19:58 UTC
Hi,  
well there is a 3334 related bugreport on they bugzilla - and they say that 3355  
should be tried - but 3355 is only for the full version, not the demo. 
Comment 5 Volker Hemmann 2005-09-26 09:23:19 UTC
oh, and I removed the installation, made sure, that no traces are left in /opt and 
re-emerged it - same error as before.