[odamex-bug-reporter] [Bug 788] New: Assertion error in s_sound.cpp when compiling with VC++ 2010

  • From: odamex-bugtracker@xxxxxxxxxx
  • To: odamex-bug-reporter@xxxxxxxxxxxxx
  • Date: Mon, 20 Feb 2012 02:03:33 +0000

http://odamex.net/bugs/show_bug.cgi?id=788

             Bug #: 788
           Summary: Assertion error in s_sound.cpp when compiling with
                    VC++ 2010
    Classification: Unclassified
           Product: Odamex
           Version: 0.6-dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Client
        AssignedTo: odamex-bug-reporter@xxxxxxxxxxxxx
        ReportedBy: alexmax2742@xxxxxxxxx


Created attachment 338
  --> http://odamex.net/bugs/attachment.cgi?id=338
Picture of the assert error.

Tried to compile the client using SVN r2787 and although it compiled
successfully, I run into a run-time assertion error after the program runs for
a second or two.

I believe it is because of a similar issue to bug 723, except this time the
culprit is line 350 of s_sound.cpp.

Full stack trace follows:

     msvcp100d.dll!std::_Debug_message(const wchar_t * message, const wchar_t *
file, unsigned int line)  Line 15    C++
     odamex.exe!std::_Debug_lt_pred<bool (__cdecl*)(channel_t const &,channel_t
const &),channel_t,channel_t>(bool (const channel_t &, const channel_t &)*
_Pred, channel_t & _Left, channel_t & _Right, const wchar_t * _File, unsigned
int _Line)  Line 677 + 0x15 bytes    C++
     odamex.exe!std::_Insertion_sort1<channel_t *,bool (__cdecl*)(channel_t
const &,channel_t const &),channel_t>(channel_t * _First, channel_t * _Last,
bool (const channel_t &, const channel_t &)* _Pred, channel_t * __formal)  Line
3657 + 0x1b bytes    C++
     odamex.exe!std::_Insertion_sort<channel_t *,bool (__cdecl*)(channel_t
const &,channel_t const &)>(channel_t * _First, channel_t * _Last, bool (const
channel_t &, const channel_t &)* _Pred)  Line 3677 + 0x1e bytes    C++
     odamex.exe!std::_Sort<channel_t *,int,bool (__cdecl*)(channel_t const
&,channel_t const &)>(channel_t * _First, channel_t * _Last, int _Ideal, bool
(const channel_t &, const channel_t &)* _Pred)  Line 3797 + 0x11 bytes    C++
     odamex.exe!std::sort<channel_t *,bool (__cdecl*)(channel_t const
&,channel_t const &)>(channel_t * _First, channel_t * _Last, bool (const
channel_t &, const channel_t &)* _Pred)  Line 3806 + 0x32 bytes    C++
>       odamex.exe!S_getChannel(void * origin, sfxinfo_struct * sfxinfo, float 
> volume, int priority)  Line 350 + 0x20 bytes     C++
     odamex.exe!S_StartSound(int * pt, int x, int y, int channel, int sfx_id,
float volume, int attenuation, bool looping)  Line 678 + 0x18 bytes    C++
     odamex.exe!S_StartNamedSound(AActor * ent, int * pt, int x, int y, int
channel, const char * name, float volume, int attenuation, bool looping)  Line
807 + 0x2c bytes    C++
     odamex.exe!S_Sound(AActor * ent, int channel, const char * name, float
volume, int attenuation)  Line 834 + 0x24 bytes    C++
     odamex.exe!A_Look(AActor * actor)  Line 764 + 0x17 bytes    C++
     odamex.exe!P_SetMobjState(AActor * mobj, statenum_t state)  Line 701 + 0xe
bytes    C++
     odamex.exe!P_AnimationTick(AActor * mo)  Line 286 + 0x16 bytes    C++
     odamex.exe!AActor::RunThink()  Line 492 + 0x9 bytes    C++
     odamex.exe!DThinker::RunThinkers()  Line 243 + 0xf bytes    C++
     odamex.exe!P_Ticker()  Line 79    C++
     odamex.exe!G_Ticker()  Line 1062    C++
     odamex.exe!TryStepTics(unsigned __int64 tics)  Line 121    C++
     odamex.exe!TryRunTics()  Line 157 + 0xd bytes    C++
     odamex.exe!D_DoomLoop()  Line 450    C++
     odamex.exe!D_DoomMain()  Line 1720    C++
     odamex.exe!SDL_main(int argc, char * * argv)  Line 219    C++
     odamex.exe!_main()  + 0xf5 bytes    C
     odamex.exe!_WinMain@16()  + 0xae bytes    C
     odamex.exe!__tmainCRTStartup()  Line 547 + 0x2c bytes    C
     odamex.exe!WinMainCRTStartup()  Line 371    C
     kernel32.dll!763c339a()     
     [Frames below may be incorrect and/or missing, no symbols loaded for
kernel32.dll]    
     ntdll.dll!77719ef2()     
     ntdll.dll!77719ec5()

-- 
Configure bugmail: http://odamex.net/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Other related posts:

  • » [odamex-bug-reporter] [Bug 788] New: Assertion error in s_sound.cpp when compiling with VC++ 2010 - odamex-bugtracker