Back to the Vavoom Forum Archives


Forum

[Fixed] Doom2 Pain Elemental crash (Segmentation Violation)

Fri, 13 Jul 2007 04:17:49

spiderman

This bug seems to be new in 1.24, although I haven't tried version 1.23.1. Once a Pain Elemental spits out a few Lost Souls, the program crashes with a Segmentation Violation. To test this out, go to the "Tricks and Traps" level ( level 8 ) in Doom 2. Go into the small room with a few teleporters (2 and 1 hidden) and enter one of the teleporters. Kill the pink demons. Shoot the faces on the pillar in the middle of the room, Pain Elementals come out. Count to ten... Vavoom crashes <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) --> I have a savegame just before releasing the Pain Elementals. I have tested this many times in slightly different ways. The only way to release the Pain Elementals without crashing the game seems to be to kill them before they shoot out too many lost souls... lots of BFG9000 nuking does the trick about 50% of the time if you have the ammo <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) --> running ubuntu 7.04, vaio fs-series notebook with intel 810-series gfx card. By the way - thanks for all your hard work on Vavoom, Janis! Coolest Doom source port ever <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
Fri, 13 Jul 2007 07:58:22

scen

I can confirm and reproduce the bug. The debugging backtrace is quite long:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1216010016 (LWP 11809)]
0x081564ee in VAudio::PlaySound (this=0x83ff8ec, InSoundId=87, origin=@0xbfd45ba4,
    velocity=@0xbfd45bb0, origin_id=203, channel=1, volume=0.5, Attenuation=1) at s_sound.cpp:524
524     s_sound.cpp: No such file or directory.
        in s_sound.cpp
(gdb) bt
#0  0x081564ee in VAudio::PlaySound (this=0x83ff8ec, InSoundId=87, origin=@0xbfd45ba4,
    velocity=@0xbfd45bb0, origin_id=203, channel=1, volume=0.5, Attenuation=1) at s_sound.cpp:524
#1  0x0805d7b5 in VBasePlayer::execClientStartSound () at cl_parse.cpp:101
#2  0x0810a2a7 in RunFunction (func=0x8495394) at pr_exec.cpp:189
#3  0x0810d378 in VObject::ExecuteFunction (func=0x8495394) at pr_exec.cpp:1894
#4  0x081028de in VThinker::StartSound (this=0x8fa50e4, origin=@0x8fa5110, origin_id=203,
    sound_id=87, channel=1, volume=1, Attenuation=1) at player.h:289
#5  0x080e8664 in VEntity::StartSound (this=0x8fa50e4, Sound=
      {Index = 3229, static Names = {ArrNum = 8389, ArrSize = 9993, ArrData = 0x84458f4}, static HashTable = {0x0 <repeats 45 times>, 0x8602ccc, 0x0 <repeats 20 times>, 0x845a5f4, 0x84c8c08, 0x0, 0x83ff168, 0x84d0234, 0x84cdc18, 0x0, 0x0, 0x0, 0x84c89ec, 0x0, 0x84cf8e0, 0x84ce590, 0x84cd2c8, 0x0, 0x0, 0x0, 0x85150b0, 0x8458df8, 0x84d0000, 0x84cfb40, 0x85152f8, 0x83fbe74, 0x84c9d94, 0x0, 0x84cfaf4, 0x84cefc0, 0x84cb878, 0x0, 0x8514f6c, 0x0, 0x8394160, 0x84ccbf0, 0x85b5978, 0x0, 0x860e8e0, 0x84cad64, 0x84d00e0, 0x0, 0x84cf014, 0x84c96a4, 0x84d00bc, 0x84c69ec, 0x85b47cc, 0x8604e88, 0x86b157c, 0x83f9be0, 0x84cec14, 0x85b33ec, 0x84d0304, 0x84cb900, 0x85b1d44, 0x84d0260, 0x860e6f8, 0x84cf7a8, 0x85b3968, 0x8458d60, 0x84cf554, 0x84cfd54, 0x85b3d68, 0x84d01e4, 0x860e604, 0x0 <repeats 3968 times>}, static Initialised = true}, Channel=1, Volume=1, Attenuation=1) at p_entity.cpp:298
#6  0x080e87b8 in VEntity::execPlaySound () at p_entity.cpp:414
#7  0x0810a2a7 in RunFunction (func=0x848fcf4) at pr_exec.cpp:189
#8  0x0810a367 in RunFunction (func=0x84f30a4) at pr_exec.cpp:226
#9  0x0810d378 in VObject::ExecuteFunction (func=0x84f30a4) at pr_exec.cpp:1894
#10 0x080e74cd in VEntity::SetState (this=0x8fa50e4, InState=0x8543440) at p_entity.cpp:207
#11 0x080e8b16 in VEntity::AdvanceState (this=0x8fa50e4, deltaTime=0.0223249998)
    at p_entity.cpp:259
#12 0x080e8c26 in VEntity::execAdvanceState () at p_entity.cpp:397
#13 0x0810a2a7 in RunFunction (func=0x848fa34) at pr_exec.cpp:189
#14 0x0810a367 in RunFunction (func=0x84ef9a4) at pr_exec.cpp:226
#15 0x0810d378 in VObject::ExecuteFunction (func=0x84ef9a4) at pr_exec.cpp:1894
#16 0x08102360 in VThinker::Tick (this=0x8fa50e4, DeltaTime=0.0223249998) at p_thinker.cpp:119
#17 0x0817640c in RunThinkers () at sv_tick.cpp:73
---Type <return> to continue, or q <return> to quit---
#18 0x08176583 in P_Ticker () at sv_tick.cpp:95
#19 0x0816925b in SV_Ticker () at sv_main.cpp:606
#20 0x0816d434 in ServerFrame (realtics=1) at sv_main.cpp:1534
#21 0x0809ddb9 in Host_Frame () at host.cpp:386
#22 0x081bf446 in main (argc=Cannot access memory at address 0x48384dc5
) at sys_lin.cpp:664
#23 0xb79a3838 in __libc_start_main () from /lib/libc.so.6
#24 0x0804dee1 in _start ()
(gdb)
Check on a Gentoo Linux x86, compiled with Allegro backend, using latest SVN sources. I hope it will be help <!-- s8) --><img src="{SMILIES_PATH}/icon_cool.gif" alt="8)" title="Cool" /><!-- s8) -->
Fri, 13 Jul 2007 17:54:59

Janis Legzdinsh

Fixed.
Fri, 13 Jul 2007 18:39:06

spiderman

holy crap that was quick <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
Thu, 10 Jan 2008 05:57:25

scootah

[quote="Janis Legzdinsh":21z4daxw]Fixed. Not really. I'm running the latest version of Vavoom with the Hi-res textures, opengl and the latest models pack. I'm getting the same error (crash to desktop/signal: Segmentation Violation) at the same time as is mentioned in the original post.

Back to the Vavoom Forum Archives