project-navigation
Personal tools

Author Topic: Crash Wellington (2.2 trunk - rev 12177 - 2007-10-03) grenade roll, backtraced  (Read 2768 times)

Offline Kaerius

  • Rookie
  • ***
  • Posts: 85
    • View Profile
Going to try and trace this one too, though I'm not as sure what is causing it. First time it happened when I tried to roll a grenade to an alien, and second time when I pressed end turn.

Here's what happens when I try to roll a grenade... dunno how to reproduce the second crash.

Program received signal SIGSEGV, Segmentation fault.
0x0047831c in S_StartSound (origin=0x22fdc0, sfx=0x0, relVolume=1,
    attenuation=1)
    at C:/Dokumente und Einstellungen/mattn/Desktop/dev/trunk/src/client/cl_soun
d.c:323
323     C:/Dokumente und Einstellungen/mattn/Desktop/dev/trunk/src/client/cl_sou
nd.c: No such file or directory.
        in C:/Dokumente und Einstellungen/mattn/Desktop/dev/trunk/src/client/cl_
sound.c
(gdb) bt full
#0  0x0047831c in S_StartSound (origin=0x22fdc0, sfx=0x0, relVolume=1,
    attenuation=1)
    at C:/Dokumente und Einstellungen/mattn/Desktop/dev/trunk/src/client/cl_soun
d.c:323
        volume = 128
#1  0x00463217 in CL_ParseStartSoundPacket (msg=0x11063dd8)
    at C:/Dokumente und Einstellungen/mattn/Desktop/dev/trunk/src/client/cl_pars
e.c:499
        pos_v = {0, 0, 0}
        pos = (float *) 0x22fdc0
        channel = 0
        ent = 34
        flags = 15
        volume = 1
        attenuation = 1
        sound = 0x9d345c0 "misc/breakglass"
        sfx = (sfx_t *) 0x0
#2  0x00465762 in CL_ParseServerMessage (cmd=5, msg=0x11063dd8)
    at C:/Dokumente und Einstellungen/mattn/Desktop/dev/trunk/src/client/cl_pars
e.c:1637
        s = 0x5 <Address 0x5 out of bounds>
        i = 34
#3  0x004474d4 in CL_ReadPackets ()
---Type <return> to continue, or q <return> to quit---
    at C:/Dokumente und Einstellungen/mattn/Desktop/dev/trunk/src/client/cl_main
.c:1282
        cmd = 5
        msg = (struct dbuffer *) 0x11063dd8
#4  0x0044a059 in CL_Frame (now=108959, data=0x0)
    at C:/Dokumente und Einstellungen/mattn/Desktop/dev/trunk/src/client/cl_main
.c:2355
        last_frame = 108959
        delta = 17
#5  0x00495957 in tick_timer (now=108959, data=0xe2bc078)
    at C:/Dokumente und Einstellungen/mattn/Desktop/dev/trunk/src/common/common.
c:827
        timer = (struct timer *) 0xe2bc078
        old_interval = 11
        lateness = 75
#6  0x00495bd2 in Qcommon_Frame ()
    at C:/Dokumente und Einstellungen/mattn/Desktop/dev/trunk/src/common/common.
c:908
        event = (struct event *) 0x11c13fc0
        time_to_next = 0
#7  0x004b2ff8 in WinMain (hInstance=0x400000, hPrevInstance=0x0,
    lpCmdLine=0x241f01 "+set", nCmdShow=10)
    at C:/Dokumente und Einstellungen/mattn/Desktop/dev/trunk/src/ports/windows/
---Type <return> to continue, or q <return> to quit---
win_main.c:413
No locals.
#8  0x004dcd9a in main ()
No symbol table info available.
(gdb)
« Last Edit: October 06, 2007, 05:34:08 am by Kaerius »

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
it's the same bug you posted your backtrace earlier on already, a sound couldn't be loaded (misc/breakglas) and there was no null pointer check. It's already fixed. a new binary is at http://mattn.ninex.info/files/ufo.exe - just overwrite the binary that came with the installer and these crashes should be fixed for you

Offline Kaerius

  • Rookie
  • ***
  • Posts: 85
    • View Profile
Oh well... but the new binary made me unable to save the game(I can choose a savegame and change the name, but pressing enter does nothing.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
oh yes, that was a bug in the new fous code, too

already fixed - will be included in the next test installer

thanks