Unreal Tournament 2004 with cvs checked out on July 3 dies upon startup with a
SIGSEGV. I traced the problem to the definition of THREADS in glapi_x86.S:
undefining THREADS enables ut2004 to start without issue.
Pentium 4 2.53Ghz (no HT)
Soyo P4S 645DX Dragon Ultra
Debian Linux (sid)
GCC version 3.4.0 (Debian 3.4.0-4)
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1211938240 (LWP 32177)]
0xb56b52b5 in glVertex3fv () at glapi_x86.i:440
16; .globl glVertex3fv ; .type
glVertex3fv,@function; glVertex3fv: movl
_glapi_DispatchTSD, %eax ; testl %eax, %eax ; je
1f ; jmp * 4 * 137( %eax) ; 1:
call _glapi_get_dispatch ; jmp * 4 * 137( %eax)
Current language: auto; currently asm
#0 0xb56b52b5 in glVertex3fv () at glapi_x86.i:440
#1 0xb7f4e8be in X11_GL_Shutdown () from ./libSDL-1.2.so.0
#2 0xb7f4e975 in X11_GL_MakeCurrent () from ./libSDL-1.2.so.0
Signal: SIGSEGV [segmentation fault]
This problem seems to be fixed as of today. I'm marking it FIXED.