project-navigation
Personal tools

Author Topic: Game crash  (Read 3534 times)

llamapimp

  • Guest
Game crash
« on: May 25, 2007, 07:07:04 pm »
On the fist mission of the standard campaign if I try to view spotted enemies (either by pressing space, or using the button in the GUI), or raise the camera up a level the game immediately crashes.  Here's the console output...
==== InitGame ====
------- Server Initialization -------
Created AI player (team 0)
Created AI player (team 7)
-------------------------------------
Map: farm08n
pics                                
images                              
Unnamed has joined team 0
Unnamed has taken control over team 1.
Starting the game...
(player 0) It's team 1's round
Received signal 11, exiting...

And here is the data from gdb

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1211869504 (LWP 7632)]
0xb3db269c in GL_DrawAliasShadow (e=0x94dc4f0, paliashdr=0xaa539004,
    posenum=190) at src/ref_gl/gl_shadows.c:196
196     src/ref_gl/gl_shadows.c: No such file or directory.
        in src/ref_gl/gl_shadows.c
(gdb) bt full
#0  0xb3db269c in GL_DrawAliasShadow (e=0x94dc4f0, paliashdr=0xaa539004,
    posenum=190) at src/ref_gl/gl_shadows.c:196
        verts = (dtrivertx_t *) 0xaa595a20
        order = (int *) 0xaa5eb4dc
        point = {0, 0, -36}
        height = -36
        lheight = 36
        alpha = 1
        count = 1069
        frame = (daliasframe_t *) 0xaa5959f8
#1  0xb3db3b30 in R_DrawShadow (e=0x94dc4f0) at src/ref_gl/gl_shadows.c:559
        end = {-112, 1008, -2012}
        paliashdr = (dmdl_t *) 0xaa539004
        frame = (daliasframe_t *) 0xaa5959f8
        oldframe = (daliasframe_t *) 0xaa595270
        v = (dtrivertx_t *) 0xaa595a20
        ov = (dtrivertx_t *) 0xaa595298
        verts = (dtrivertx_t *) 0xaa595a20
        order = (int *) 0xaa5eb4a8
        frontlerp = 0.0130000114
        move = {5.42659898e-19, 3.79342841e-26, -3.24111301e+35}
        delta = {0, 0, 0}
        vectors = {{1, 0, -0}, {0, -1, -0}, {0, 0, 1}}
---Type <return> to continue, or q <return> to quit---
        frontv = {202123.562, -1.36410163e-28, 4.01219431e-08}
        backv = {14555724, -1.04516597e-26, 0.000117027586}
        i = 3
        __PRETTY_FUNCTION__ = "R_DrawShadow"
#2  0xb3da5bce in R_CastShadow () at src/ref_gl/gl_rmain.c:193
        i = 36
#3  0xb3da8318 in R_RenderView (fd=0x14cdc574) at src/ref_gl/gl_rmain.c:938
No locals.
#4  0xb3da8548 in R_RenderFrame (fd=0x14cdc574) at src/ref_gl/gl_rmain.c:996
No locals.
#5  0x080a9074 in V_RenderView (stereo_separation=0)
    at src/client/cl_view.c:656
No locals.
#6  0x08099807 in SCR_UpdateScreen () at src/client/cl_scrn.c:728
        numframes = 1
        i = 0
        separation = {0, 0}
#7  0x08085fb0 in CL_Frame (msec=13) at src/client/cl_main.c:2339
        type = 0xbfb1ea48 "�걿��\v\b\r"
        name = 0xbfb1eb20 "\a"
        text = 0x167d9e48 "\020�#\201\t\b"
        extratime = 0
        lasttimecalled = 0
---Type <return> to continue, or q <return> to quit---
#8  0x080be9d4 in Qcommon_Frame (msec=15) at src/qcommon/common.c:1754
        frametime = 13
        s = 0x0
        wait = -13
        time_before = 0
        time_between = 0
        time_after = 0
        sv_timer = -98
        cl_timer = 0
#9  0x080e0d8f in main (argc=7, argv=0xbfb1eba4)
    at src/ports/linux/sys_linux.c:553
        time = 15
        oldtime = 101976
        newtime = 101991
        timescale = 1


I'm running it on Ubuntu 7.04
Any ideas on how to fix this?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Game crash
« Reply #1 on: May 25, 2007, 08:17:31 pm »
if this is reproduceable for you, could you please join our irc channel for further investigation? that would be very kind.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Game crash
« Reply #2 on: May 25, 2007, 08:36:08 pm »
as a workaround you can also set gl_shadows cvar to 0

i hope this will prevent the game from crashing

llamapimp

  • Guest
Game crash
« Reply #3 on: May 25, 2007, 08:52:27 pm »
I tried running the game with the gl_shadows cvar set to zero, I able to target aliens and move the camera level, however it's still crashing.  

From gdb:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1212700992 (LWP 8926)]
0xb7af6511 in ?? ()
(gdb) bt full
#0  0xb7af6511 in ?? ()
No symbol table info available.
#1  0xb32e548d in ?? () from /usr/lib/libGLcore.so.1
No symbol table info available.
#2  0x0219ae14 in ?? ()
No symbol table info available.
#3  0xb3d0ab60 in ?? () from ./ref_glx.so
No symbol table info available.
#4  0x00001170 in ?? ()
No symbol table info available.
#5  0x00000000 in ?? ()
No symbol table info available.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Game crash
« Reply #4 on: May 25, 2007, 08:55:52 pm »
for which action do you encouter this crash?

what is your gfx card? drivers?

btw which arch? amd64 or x86/i386?

llamapimp

  • Guest
Game crash
« Reply #5 on: May 25, 2007, 09:02:56 pm »
It's happening when I end my turn.

I'm running a geforce 6600gt with the 9755 drivers on x86/i386.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Game crash
« Reply #6 on: May 25, 2007, 09:50:58 pm »
did you compile yourself? or are you using the ubuntu packages?

llamapimp

  • Guest
Game crash
« Reply #7 on: May 25, 2007, 09:54:43 pm »
I'm using the ubuntu packages.  By the way, I really appreciate all your help.  :D

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Game crash
« Reply #8 on: May 25, 2007, 09:57:13 pm »
maybe you should try to compile it yourself - i'm using ubuntu 7.04, too - have a geforce and so on, too - no crash here

grab the source from svn or use the tar-ball: http://sourceforge.net/project/showfiles.php?group_id=157793&package_id=194208

there is a little step-by-step for debian based systems at: http://ufoai.ninex.info/wiki/index.php/Debian