project-navigation
Personal tools

Author Topic: Loading saved campaign crashes game.  (Read 1846 times)

madrsihands

  • Guest
Loading saved campaign crashes game.
« on: August 17, 2014, 06:48:34 pm »
(In order as requested here: http://ufoai.org/wiki/Bugs)

git clone -b master git://git.code.sf.net/p/ufoai/code ufoai (I believe I have version 2.5 but it looks like I got 2.6)

Linux Mint, 13 (maya) 32-bit, Kernel Linux 3.2.0-23-generic, GNOME 3.4.2

AMD Phenom(tm) 8750 Triple-Core Processor × 3
NVIDIA Corporation G94 [GeForce 9600 GSO 512]

i686

The bug can be reproduced.  I merely restart and load my save file.

I can start new games just fine.  I used to be able to reload my campaign file without incident, but now it just crashes the game upon loading.

madrsihands

  • Guest
Re: Loading saved campaign crashes game.
« Reply #1 on: August 18, 2014, 05:56:37 am »
All right, ran the debugger and here is what it reports after the crash.

Code: [Select]
#0  0x01bee44b in nv50_vertex_arrays_validate ()
   from /usr/lib/i386-linux-gnu/dri/nouveau_dri.so
No symbol table info available.
#1  0x01bed9f4 in nv50_state_validate ()
   from /usr/lib/i386-linux-gnu/dri/nouveau_dri.so
No symbol table info available.
#2  0x01beeb46 in nv50_draw_vbo ()
   from /usr/lib/i386-linux-gnu/dri/nouveau_dri.so
No symbol table info available.
#3  0x024323ca in st_draw_vbo () from /usr/lib/i386-linux-gnu/dri/libgallium.so
No symbol table info available.
#4  0x020543de in ?? () from /usr/lib/i386-linux-gnu/dri/libdricore.so
No symbol table info available.
#5  0x080e9467 in R_DrawAliasFrameLerp (mod=0x8d1a9f0, mesh=0xaeea980,
    backlerp=0, framenum=0, oldframenum=0, shellColor=0x8213874)
    at src/client/renderer/r_mesh.cpp:92
        __PRETTY_FUNCTION__ = "void R_DrawAliasFrameLerp(mAliasModel_t*, mAliasMesh_t*, float, int, int, const vec_t*)"
#6  0x080e9daa in R_DrawModelDirect (mi=0xbffff2d8, pmi=0x0, tagname=0x0)
    at src/client/renderer/r_mesh.cpp:379
        skin = 0x9bfe4ec
        mesh = 0xaeea980
        __PRETTY_FUNCTION__ = "void R_DrawModelDirect(modelInfo_t*, modelInfo_t*

Is there some script somewhere in the source I can sneak into and edit to allow my file to load?  Or am I just missing a library as all the "No symbol table info available" errors suggest?

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Loading saved campaign crashes game.
« Reply #2 on: August 18, 2014, 09:49:59 pm »
The master branch is 2.6-dev already.

Your savegame loads up fine. You can see from the stacttrace that it crashes in Noveau the open source Nvidia videocard driver.

I would suggest using the proprietary (closed source) driver from Nvidia, it is more stable.

If you can't, you can try disabling "Post-processing effects" or the entire "GLSL shaders" options in the (advanced) video settings. The game will look less fancy but you might be able to avoid crappy code of the driver that crashes.

-geever