Adjusting DSP Buffer Length and DSP Buffer Count leads to a crash

Hi,

I’m using the 2.02.12 FMOD Plugin for UE 5.1
While investigating for an other issue, I stumble upon that post Experiencing important latency in UE 4.20 with Fmod 1.10.08 and decided to give a try at changing the DSP Buffer settings.
I fixed Buffer Count to 4 and tried lengths of 512, 1024 and 2048

With 512 and 2048 the game crashes soon after playing some sounds during a malloc.
My debugger tells me it’s called from “c:\jk\workspace\Build__2.2__Unreal_Win\core_api\src\fmod_dsp_transceiver.cpp(193)”

Here’s the complete stack:

[Inlined] _mi_page_thread_free_collect(mi_page_s *) page.c:175
[Inlined] _mi_page_free_collect(mi_page_s *,bool) page.c:196
_mi_free_delayed_block(mi_block_s *) alloc.c:523
[Inlined] _mi_heap_delayed_free(mi_heap_s *) page.c:283
_mi_malloc_generic(mi_heap_s *,unsigned long long) page.c:856
_mi_heap_malloc_zero(mi_heap_s *,unsigned long long,bool) alloc.c:148
mi_heap_malloc_zero_aligned_at(mi_heap_s *const,const unsigned long long,const unsigned long long,const unsigned long long,const bool) alloc-aligned.c:51
[Inlined] mi_heap_malloc_aligned_at(mi_heap_s *,unsigned long long,unsigned long long,unsigned long long) alloc-aligned.c:66
[Inlined] mi_heap_malloc_aligned(mi_heap_s *,unsigned long long,unsigned long long) alloc-aligned.c:70
mi_malloc_aligned(unsigned long long,unsigned long long) alloc-aligned.c:96
[Inlined] FMallocMimalloc::TryMalloc(unsigned long long,unsigned int) MallocMimalloc.cpp:61
FMallocMimalloc::Malloc(unsigned long long,unsigned int) MallocMimalloc.cpp:66
FMemory::Malloc(unsigned long long,unsigned int) FMemory.inl:30
FMODMemoryAlloc(unsigned int,unsigned int,const char *) FMODStudioModule.cpp:62
0x00007ff84c4c72c8
0x00007ff84c4c755b
0x00007ff84c52845a
0x00007ff84c527ced
0x00007ff84c4a219d
0x00007ff84c4a228b
0x00007ff84c4a228b
0x00007ff84c4a2315
0x00007ff84c4a2315
0x00007ff84c4a228b
0x00007ff84c4a228b
0x00007ff84c4a2315
0x00007ff84c4a228b
0x00007ff84c4a2315
0x00007ff84c4a228b
0x00007ff84c4a228b
0x00007ff84c4a2315
0x00007ff84c4a2516
0x00007ff84c4cec1e
0x00007ff84c4cdb17
0x00007ff84c4cd6cf
0x00007ff84c4cd3a8
0x00007ff84c4d8301
0x00007ff84c4c97b1
0x00007ff84c4d339c
0x00007ff84c55972e
0x00007ff9062726bd
0x00007ff906a8dfb8

Hi,

Unfortunately, I was not able to reproduce the issue. Is it possible to get a stripped-out version of the project you are experiencing this on uploaded to your Profile or DM’d to me?

Thanks for bringing this to our attention.

Would a packaged version be sufficient ?

Apologies, a version of the UE project.