r482 sound loop on quit

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
Lemonzest
Posts: 327
Joined: Tue Oct 12, 2004 3:19 pm
Location: On your boards, trolling your threads!!!

r482 sound loop on quit

Post by Lemonzest »

Hi

When starting a new game and then quitting Hexen or Hexen Deathkings zdoom locks with a sound loop, ran a debug build through GDB and got the following

Code: Select all

D:\My Games\Installed Games\Doom\ZDoom>gdb zdoomgccd.exe
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-mingw32"...
(gdb) run
Starting program: D:\My Games\Installed Games\Doom\ZDoom/zdoomgccd.exe
---Type <return> to continue, or q <return> to quit---

Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 5568.0x148c]
0x005b2b79 in AltSoundRenderer::AddChannel8 (this=0x26a20b0, chan=0x269fc78,
    count=1162) at src/sound/altsound.cpp:1089
1089            from[chan->Sample->length] = chan->Looping ? from[0] : 0;
Current language:  auto; currently c++
(gdb) quit

D:\My Games\Installed Games\Doom\ZDoom>
only noticed now, but hexen was ok a few builds ago. maybe it was the sound changes that happend?
Lemonzest
Posts: 327
Joined: Tue Oct 12, 2004 3:19 pm
Location: On your boards, trolling your threads!!!

Post by Lemonzest »

If its any help it only happens with the alternate mixer and not fmod, ie snd_output=alternate
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Post by randi »

Fixed. Be warned that I don't know if I'll keep the alternate sound renderer around when I upgrade to FMOD Ex. Its primary purpose was to be something I could comfortably write and test under Windows that could be adapted for use with SDL on Linux, since FMOD didn't work so great there. However, it never lived up to its purpose, and since FMOD Ex is a complete rewrite it hopefully has better Linux support.
Lemonzest
Posts: 327
Joined: Tue Oct 12, 2004 3:19 pm
Location: On your boards, trolling your threads!!!

Post by Lemonzest »

thanks, was only using alternate to see what it was like, and i always try to use most options to find bugs and things. Wouldn't it also be useful on arch's that don't have fmod versions like solaris x86 and whatnot?
Post Reply

Return to “Closed Bugs [GZDoom]”