Thyme icon indicating copy to clipboard operation
Thyme copied to clipboard

"Sound Loop" Crash or Freeze

Open alanblack166 opened this issue 3 years ago • 2 comments

Operating System: Windows 10

Original game source: TFD

  • Reproducible in the original Generals Zero Hour? yes
  • Multiplayer affected? yes
  • Are you using any mods? GenTool + Rise Of The Reds/GenTool + Operation Firestorm

Issue explanation

An issue related to the audio engine, or some of its components, can lead to the game either freezing and not responding, or outright crashing to the desktop. Anecdotal evidence hints at too many unique AudioEvents being enqueued or processed, which aligns with the reality that mods are more vulnerable to this type of crash than vanilla Zero Hour.

Steps to reproduce the problem

There are none. There is no 100% discernible cause for this and it has to be caught in the act.

Log files

CrashInfo.txt

alanblack166 avatar Oct 10 '21 19:10 alanblack166

The crash log isn't from 1.04 binary but searching the bytes the function at fault can be found. It crashes in some std/stlport function, call comes from removeLevelSpecificAudioEventInfos or freeEnoughSpaceForSample. If its removeLevelSpecificAudioEventInfos then container being accessed is m_audioInfoHashMap.

tomsons26 avatar Oct 10 '21 19:10 tomsons26

Will need @OmniBlade to look into this as i have no clue how to deal with a std related crash.

tomsons26 avatar Oct 10 '21 19:10 tomsons26