0
0

Because of the proprietary packaging system our studio uses, we are creating an FMOD sound object using [b:3p89jssw]FMOD::System::createSound()[/b:3p89jssw] from FSB data already in memory. We are then "registering" the loaded wavebank using [b:3p89jssw]FMOD::EventSystem::preloadFSB()[/b:3p89jssw].

Then when we need to release the sound data, we are calling
[b:3p89jssw]FMOD::EventSystem::unloadFSB() [/b:3p89jssw]and [b:3p89jssw]FMOD::Sound::release()[/b:3p89jssw]. However, we are getting an access violation when calling release() on the [b:3p89jssw]FMOD::Sound[/b:3p89jssw] object at least some of the time.

I linked in the logging libraries, and after checking the TTY output I believe that this [b:3p89jssw]FMOD::Sound [/b:3p89jssw]object may already be getting released in a call to either [b:3p89jssw]FMOD::EventGroup::freeEventData()[/b:3p89jssw] or [b:3p89jssw]FMOD::EventProject::release()[/b:3p89jssw]. From what I can tell, there seems to be no way to test for the validity of a [b:3p89jssw]FMOD::Sound [/b:3p89jssw]object pointer to see if it have already been released.

Am I missing something here? Any help is appreciated…

  • You must to post comments
0
0

Im getting the exact same issue here aswell, a crash on the call sound::release after calling unloadFSB…

Ideas ?

  • You must to post comments
0
0

Can you reproduce this issue for us? The event system does not release sounds that are created by the user.
Actually a few changes were made to unloadFSB recently to fix a problem with streams, have you made sure you are using the latest version?

  • You must to post comments
0
0

Ive been testing on 4.18.09 (I have 4.20.03 in our test branch, i’ll try and repro it with that too). I will try and edit the test app and send a repro..

  • You must to post comments
0
0

[quote="brett":148jps8t]Can you reproduce this issue for us? The event system does not release sounds that are created by the user.
Actually a few changes were made to unloadFSB recently to fix a problem with streams, have you made sure you are using the latest version?[/quote:148jps8t] I am using 4.20.05. We are not streaming, and it appears the event system DOES release sounds created by the user, unless I am misitrepreting something.

This is a copy of the TTY output I captured:

[code:148jps8t]Calling FMOD::EventGroup::freeEventData().
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(673): EventGroupI::freeEventData : eventgroup [CROWD] 01080001
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(681): EventGroupI::freeEventData : event [CROWD_yay] – release instances. Instance count = 1
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventi.cpp(801): EventI::release : [CROWD_yay]
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventi.cpp(1597): EventI::stopInternal : F7B85010 1
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventi.cpp(988): EventI::release : done
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(711): EventGroupI::freeEventData : releasing DSP network
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : CROWD_LRG_T1_03.wav (F7D6B010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F7D6B010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F7D6B010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : CROWD_LRG_T1_01.wav (F815F010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F815F010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F815F010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : CROWD_LRG_T1_02.wav (F7F82010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F7F82010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F7F82010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : CROWD_AMB_IN_LRG_01a.wav (F7F48010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F7F48010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F7F48010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : CROWD_LRG_T2_01.wav (F81B6010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F81B6010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F81B6010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : CROWD_LRG_T2_03.wav (F7ECE010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F7ECE010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F7ECE010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : CROWD_LRG_T2_02.wav (F807D010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F807D010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F807D010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : CROWD_LRG_T3_01.wav (F80CB010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F80CB010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F80CB010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : CROWD_LRG_T3_04.wav (F829F010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F829F010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F829F010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : CROWD_LRG_T3_05.wav (F811E010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F811E010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F811E010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : CROWD_LRG_T3_02.wav (F7E38010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F7E38010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F7E38010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : CROWD_LRG_T3_03.wav (F7CAB010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F7CAB010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F7CAB010)
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(793): EventGroupI::freeEventData : done
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventi.cpp(1597): EventI::stopInternal : F7B81010 0
Calling FMOD::EventGroup::freeEventData().
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(673): EventGroupI::freeEventData : eventgroup [CROWD] 01100001
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(681): EventGroupI::freeEventData : event [CROWD_boo] – release instances. Instance count = 1
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventi.cpp(801): EventI::release : [CROWD_boo]
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventi.cpp(1597): EventI::stopInternal : F7B81010 1
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventi.cpp(988): EventI::release : done
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(711): EventGroupI::freeEventData : releasing DSP network
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : BOO_03.wav (F7C54010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F7C54010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F7C54010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : BOO_01.wav (F8035010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F8035010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F8035010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : BOO_04.wav (F8235010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F8235010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F8235010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : BOO_02.wav (F7DE4010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F7DE4010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F7DE4010)
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(793): EventGroupI::freeEventData : done
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventi.cpp(1597): EventI::stopInternal : F7B7D010 0
Calling FMOD::EventGroup::freeEventData().
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(673): EventGroupI::freeEventData : eventgroup [CROWD] 01180001
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(681): EventGroupI::freeEventData : event [CROWD_ooh] – release instances. Instance count = 1
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventi.cpp(801): EventI::release : [CROWD_ooh]
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventi.cpp(1597): EventI::stopInternal : F7B7D010 1
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventi.cpp(988): EventI::release : done
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(711): EventGroupI::freeEventData : releasing DSP network
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : Crowd_REACT_LRG_NEG_L_02.wav (F7FAE010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F7FAE010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F7FAE010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : Crowd_REACT_LRG_NEG_L_03.wav (F7D99010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F7D99010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F7D99010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : Crowd_REACT_LRG_NEG_L_04.wav (F8321010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F8321010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F8321010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : Crowd_REACT_LRG_NEG_L.wav (F8351010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F8351010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F8351010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : Crowd_REACT_IN_LRG_NEG_T1_03.w (F7E6A010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F7E6A010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F7E6A010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : Crowd_REACT_IN_LRG_NEG_T2_01.w (F7D1C010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F7D1C010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F7D1C010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : Crowd_REACT_LRG_NEG_H_03.wav (F82F7010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F82F7010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F82F7010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : large negitive reaction 01.wav (F7CF0010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F7CF0010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F7CF0010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : large negitive reaction 02.wav (F82D1010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F82D1010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F82D1010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : (F8353010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(802): SoundI::release : release codec. (F8353010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_codec.cpp(31): Codec::release :
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_codec_fsb.cpp(1317): CodecFSB::closeInternal :
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_codec_fsb.cpp(1467): CodecFSB::closeInternal : done
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_plugin.cpp(28): Plugin::release : (F8359010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_plugin.cpp(32): Plugin::release : done
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_codec.cpp(62): Codec::release : done
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(868): SoundI::release : free this. (F8353010)
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(882): SoundI::release : done (F8353010)
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(793): EventGroupI::freeEventData : done
Database: Unloading Package ‘CrowdSoundProjects’ ‘Crowd_Medium_Stadium’...Calling FMOD::EventGroup::freeEventData().
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(673): EventGroupI::freeEventData : eventgroup [CROWD] 01080800
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(681): EventGroupI::freeEventData : event [CROWD_yay] – release instances. Instance count = 1
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(711): EventGroupI::freeEventData : releasing DSP network
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(793): EventGroupI::freeEventData : done
Calling FMOD::EventGroup::freeEventData().
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(673): EventGroupI::freeEventData : eventgroup [CROWD] 01100800
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(681): EventGroupI::freeEventData : event [CROWD_boo] – release instances. Instance count = 1
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(711): EventGroupI::freeEventData : releasing DSP network
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(793): EventGroupI::freeEventData : done
Calling FMOD::EventGroup::freeEventData().
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(673): EventGroupI::freeEventData : eventgroup [CROWD] 01180800
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(681): EventGroupI::freeEventData : event [CROWD_ooh] – release instances. Instance count = 1
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(711): EventGroupI::freeEventData : releasing DSP network
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(793): EventGroupI::freeEventData : done
Calling FMOD::EventProject::release().
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventprojecti.cpp(233): EventProjectI::release : [Crowd_L1]
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(804): EventGroupI::release : [CROWD]
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(673): EventGroupI::freeEventData : eventgroup [CROWD] 00000000
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(681): EventGroupI::freeEventData : event [CROWD_yay] – release instances. Instance count = 1
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(711): EventGroupI::freeEventData : releasing DSP network
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(681): EventGroupI::freeEventData : event [CROWD_boo] – release instances. Instance count = 1
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(711): EventGroupI::freeEventData : releasing DSP network
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(681): EventGroupI::freeEventData : event [CROWD_ooh] – release instances. Instance count = 1
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(711): EventGroupI::freeEventData : releasing DSP network
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(793): EventGroupI::freeEventData : done
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventi.cpp(801): EventI::release : [CROWD_yay]
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventi.cpp(1597): EventI::stopInternal : F839A010 1
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventi.cpp(988): EventI::release : done
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventi.cpp(801): EventI::release : [CROWD_boo]
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventi.cpp(1597): EventI::stopInternal : F838B010 1
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventi.cpp(988): EventI::release : done
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventi.cpp(801): EventI::release : [CROWD_ooh]
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventi.cpp(1597): EventI::stopInternal : F8375010 1
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventi.cpp(988): EventI::release : done
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventgroupi.cpp(908): EventGroupI::release : done
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventsystemi.cpp(2614): EventSystemI::rebuildEventTable : 36 entries
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventprojecti.cpp(337): EventProjectI::release : done
Calling FMOD::EventSystem::unloadFSB()
c:\pc\src\sound\branches\stable4.20\fmod4\tools\fmod_event\src\fmod_eventsystemi.cpp(3549): EventSystemI::unloadFSB : Crowd_L1_bank00.fsb
Calling FMOD::Sound::release()
First-chance exception at 0x838EBDBC in E:\MXRaven_Xenon\MXRaven_XenonDebug.xex: 0xC0000005: Access violation reading location 0xF8353010.
Unhandled XAPI Exception. Exception Pointers = 0x7004D980
Code c0000005 Addr 838EBDBC
Info0 00000000 Info1 F8353010 Info2 00000000 Info3 00000000
Unhandled exception at 0x838EBDBC in E:\MXRaven_Xenon\MXRaven_XenonDebug.xex: 0xC0000005: Access violation reading location 0xF8353010.
[/code:148jps8t]

You will notice the Access Violation pointer address (0xF8353010) matches the following line:
c:\pc\src\sound\branches\stable4.20\fmod4\src\fmod_soundi.cpp(599): SoundI::release : (F8353010)

[i:148jps8t]EDIT: I should also note that the TTY output line "Calling FMOD::Sound::release()" near the bottom is where I am calling FMOD::Sound::release() on the object I created with FMOD::System::createSound() and passed to FMOD::EventSytem::preloadFSB(), and that this code is running on a XBox 360.[/i:148jps8t]

I should note that we were on version 4.18.0, but recently upgraded. I get the same behavior with both versions…

  • You must to post comments
0
0

I really, really need to figure this out. I am creating a sound using FMOD_OPENMEMORY_POINT, and when freeEventData() is called my FMOD::Sound object is getting released (which shouldn’t happen right?), and thus I am getting an access violation when trying to reuse the event same later…

I have not received any new responses since posting my TTY output… :(

  • You must to post comments
0
0

Thanks for the email, you should go to support@fmod.org for faster turnaround.

This has been resolved, it looks like FMOD was releasing the sound handle internally that the user created, which it shouldnt have. Next week’s release will have this fixed.

  • You must to post comments
0
0

Yes, I actually did that right after I posted the other day, and got an almost immediate response! Thanks for your help.

  • You must to post comments
0
0

what was the problem ?

  • You must to post comments
0
0

[quote="slazanger":2ze75joz]what was the problem ?[/quote:2ze75joz]It appears to have been a bug (see Brett’s post above). :)

  • You must to post comments
Showing 9 results
Your Answer

Please first to submit.