project-navigation
Personal tools

Author Topic: Crashes during start  (Read 5647 times)

Taku

  • Guest
Crashes during start
« on: June 04, 2006, 02:30:13 am »
The game creates a an empty window and crashes within a few seconds. No futher responses from the game. Are there any log files to post?

Installed with the 0.12beta and all revisions (none worked).

WinXP pro SP2
Matrox G400
AMD K7/750

Unbehandelte Ausnahme bei 0x00000000 in ufo.exe: 0xC0000005: (an exception at 0x00000000 in ufo.exe: 0xC0000005)
Zugriffsverletzung beim Lesen an Position 0x00000000. (access violation while reading on position 0x00000000)
And this is the stack dump
>   00000000()   
    ref_gl.dll!12463365()    
    [Unten angegebene Rahmen sind möglicherweise nicht korrekt und/oder fehlen, keine Symbole geladen für ref_gl.dll]   
    ref_gl.dll!12465799()    
    ref_gl.dll!12465a8e()    
    ref_gl.dll!12461943()    
    ufo.exe!0041ed60()    
    ufo.exe!0041f14d()    
    ufo.exe!00412aae()    
    ufo.exe!0042bec2()    
    ufo.exe!0044261b()    
    ufo.exe!00467c18()    
    ufo.exe!00455fc4()    
    kernel32.dll!_BaseProcessStart@4()  + 0x23 Bytes   
    kernel32.dll!_CreateProcessW@40()    
    ff056800()

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Crashes during start
« Reply #1 on: June 04, 2006, 09:00:40 am »
What video card do you have? Maybe it's a 3D acceleration issue.

Taku

  • Guest
Crashes during start
« Reply #2 on: June 04, 2006, 03:29:27 pm »
Matrox G400 32MB thats the graphic card

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Crashes during start
« Reply #3 on: June 04, 2006, 05:14:03 pm »
That's an old card, though it should be able to handle Quake 2. But maybe it doesn't have enough VRAM for UFO:AI? mattn would have to answer that one. Otherwise, I don't know what could be the problem.

Taku

  • Guest
Crashes during start
« Reply #4 on: June 06, 2006, 06:12:34 pm »
Yes, the card is really old, but it supports OpenGL enough to at least start a game.

ScreamingWithNoSound

  • Guest
Crashes during start
« Reply #5 on: June 07, 2006, 12:06:17 pm »
Quote
access violation while reading on position 0x00000000
And this is the stack dump
> 00000000()
ref_gl.dll!12463365()


This is an attempt to use an un-initialise (null) pointer to function. I don't know the code (I'm in the middle of checking it out with svn), but it looks like the problem is in the ref_gl.dll.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Crashes during start
« Reply #6 on: June 08, 2006, 07:27:09 am »
i´ve seen in irc that you put some work into the code to convert it to c99 - how about sending a patch? :-)