0
0

Hi there,

Fmod-Api-Version: 4.26.00 and 4.26.06

We’re calling fmod only from one thread. Everything works fine for a while, but then we have this crash. Could you check your map-file and tell us which function it is? That would be great, that could give us a hint whats going wrong.
In the log below you can see that the codec is being released, some rows before the crash

callstack with fmodexL.dll:

fmodexL.dll!0112a0f7()  
[Unten angegebene Rahmen sind möglicherweise nicht korrekt und/oder fehlen, keine Symbole geladen für fmodexL.dll]  
fmodexL.dll!0119c894()  
fmodexL.dll!011986ba()  
fmodexL.dll!01198617()  
fmodexL.dll!01146887()  

> XXXXXX_win32.debug.exe!FmodCoreAudio::FmodAudioDevice::GetEventProject(const Audio2::FmodEventProjectId & projectId={…}) Zeile 399 + 0xf Bytes C++

function:

FMOD::EventProject*
FmodAudioDevice::GetEventProject(const Audio2::FmodEventProjectId &projectId)
{
ASSERT_COREAUDIO_THREAD;
DUMP_STACK_PTR("FmodAudioDevice::GetEventProject()");
n_assert(projectId.IsValid());
FMOD::EventProject *eventProject;
FMOD_RESULT result = this->eventSystem->getProject(projectId.GetName().AsCharPtr(), &eventProject);
FMOD_CHECK_ERROR_EXT(result, "faild to access event project \"%s\"", projectId.GetName().AsCharPtr());
return eventProject;
}

fmod-log:

FMOD: SystemI::createSample : done
FMOD: CodecFSB::setPositionInternal : subsound 41 position 0 postype 2
FMOD: CodecFSB::setPositionInternal : done
FMOD: SystemI::createSoundInternal : No name found in file, use filename.
FMOD: SystemI::createSoundInternal : done. OpenState now = FMOD_OPENSTATE_READY.

FMOD: SoundI::release : effects.fsb (12DCAA40)
FMOD: SoundI::release : release codec. (12DCAA40)
FMOD: Codec::release :
FMOD: CodecFSB::closeInternal :
FMOD: CodecFSB::closeInternal : done
FMOD: Plugin::release : (12C93AF0)
FMOD: Plugin::release : done
FMOD: Codec::release : done
FMOD: SoundI::release : free this. (12DCAA40)
FMOD: SoundI::release : done (12DCAA40)
FMOD: EventI::start : 12DCA3E0
FMOD: EventI::stopInternal : 12D64708 1
FMOD: EventGroupI::loadEventDataInternal : m_flags: 00001000
FMOD: EventI::start : 12D64708
FMOD: EventI::stopInternal : 12D63E50 1
FMOD: EventGroupI::loadEventDataInternal : m_flags: 00001000
FMOD: EventI::start : 12D63E50
FMOD: EventI::stopInternal : 12D36300 1
FMOD: EventI::stopInternal : 12CC51C8 1
FMOD: EventI::stopInternal : 12D36300 1
FMOD: EventGroupI::loadEventDataInternal : m_flags: 00001000
FMOD: EventI::start : 12D36300
FMOD: EventI::stopInternal : 12D63E50 1
FMOD: EventGroupI::loadEventDataInternal : m_flags: 00001000
FMOD: EventI::start : 12D63E50
FMOD: EventI::stopInternal : 12CC51C8 1
FMOD: EventGroupI::loadEventDataInternal : m_flags: 00001000
FMOD: EventI::start : 12CC51C8
FMOD: EventI::stopInternal : 12D36018 1
FMOD: EventGroupI::loadEventDataInternal : m_flags: 00001000
FMOD: EventI::start : 12D36018
FMOD: EventI::stopInternal : 12D36018 1
FMOD: EventGroupI::loadEventDataInternal : m_flags: 00001000
FMOD: EventI::start : 12D36018
FMOD: EventI::stopInternal : 12D63E50 1
FMOD: EventGroupI::loadEventDataInternal : m_flags: 00001000
FMOD: EventI::start : 12D63E50
FMOD: EventI::stopInternal : 12D36018 1
FMOD: EventGroupI::loadEventDataInternal : m_flags: 00001000
FMOD: EventI::start : 12D36018
FMOD: EventI::stopInternal : 12D63E50 1
FMOD: EventGroupI::loadEventDataInternal : m_flags: 00001000
FMOD: EventI::start : 12D63E50
FMOD: EventI::stopInternal : 12D36018 1
FMOD: EventGroupI::loadEventDataInternal : m_flags: 00001000
FMOD: EventI::start : 12D36018
FMOD: EventI::stopInternal : 12D63E50 1
FMOD: EventGroupI::loadEventDataInternal : m_flags: 00001000
FMOD: EventI::start : 12D63E50
FMOD: EventI::stopInternal : 12D63E50 1
FMOD: EventGroupI::loadEventDataInternal : m_flags: 00001000
FMOD: EventI::start : 12D63E50
FMOD: EventI::stopInternal : 12D36018 1
FMOD: EventGroupI::loadEventDataInternal : m_flags: 00001000

If we can give you additional information, please tell us.

Thanks in advance
Maik Semder

  • You must to post comments
0
0

Forgot to add:

Not only the codec is being release, the bank is released too. The sounds we want to play afterwards are in this bank "effects.fsb"

  • You must to post comments
0
0

The callstack above is from fmodexL.dll 4.26.06

  • You must to post comments
0
0

The actual exception was:

with 4.26.00

First Chance Exception at 0x0111a0e3 in xxxx.exe: 0xC0000005 Access Violation at position 0x000000d4

  • You must to post comments
0
0

The crash does not happen, if we set "Max. Playbacks 1" for a heavily used sound, the steps of the monsters.
The behaviour is "Steal Quietest".
Anything higher than 1 lets it crash sooner or later.

  • You must to post comments
0
0

The last call before the crash is EventProject::getEvent with FMOD_EVENT_DEFAULT. The crash happens then in fmod, before that, the event-callback is called in case the event had to steal voices.

We set the callback and the 3D attributes before on the event, we get that one with FMOD_EVENT_INFOONLY.

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.