Community Q&A

Where Wwise users help each other out!

Audiokinetic's Community Q&A is the forum where Wwise users ask and answer questions within the Wwise community. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

Integration Demo Crashes on startup in Ak::MemoryMgr::Malign (2018.1.1 6727)

+1 vote

Simply compiling and launching the unmodified IntegrationDemo for Nintendo Switch crashes immediately.  We see the same error in the same location in our own integration in our project.

Log Output:

Assertion Failed! D:/Jenkins/ws/wwise_v2018.1/Wwise/SDK/source/SoundEngine/3rdParty/Common/tlsf/tlsf.cpp:555: block_size(block) >= size
Assertion Failed! D:/Jenkins/ws/wwise_v2018.1/Wwise/SDK/source/SoundEngine/3rdParty/Common/tlsf/tlsf.cpp:369: prev && "prev_free field can not be null"
Assertion Failed! D:/Jenkins/ws/wwise_v2018.1/Wwise/SDK/source/SoundEngine/3rdParty/Common/tlsf/tlsf.cpp:370: next && "next_free field can not be null"
Unhandled exception at ????????:
0x00000002:  Access Violation of Data

Callstack:
     IntegrationDemo!block_locate_free(pool_t* pool, unsigned int size) Line 556 (????)    C++
     IntegrationDemo!tlsf_memalign(tlsf_pool* tlsf, unsigned int align, unsigned int size) Line 905 (????)    C++
     IntegrationDemo!AK::MemoryMgr::Malign(int in_poolId, unsigned int in_uSize, unsigned int in_uAlignment) Line 638 (????)    C++
     IntegrationDemo!AkFXMemAlloc::Malloc(unsigned int in_uSize) Line 41 (?????)    C++
>    IntegrationDemo!operator new(unsigned int size, AK::IAkPluginMemAlloc* in_pAllocator) Line 95 (????)    C++
     IntegrationDemo!AkCreateDefaultSink(AK::IAkPluginMemAlloc* in_pAllocator) Line 33 (????)    C++
     IntegrationDemo!AkDevice::CreateSink() Line 615 (?????)    C++
     IntegrationDemo.nss!CAkOutputMgr::_AddOutputDevice(long long unsigned int in_uKey, AkOutputSettings& in_settings, unsigned int in_uDeviceInstance, AkSet<unsigned long long, AkHybridAllocator<8, '\x08'>, 1>& io_listeners, AkSetType in_elistenerSetType, bool in_bMainDevice, bool in_bDummyIfFail) Line 842 (????)    C++
     IntegrationDemo.nss!CAkOutputMgr::InitMainDevice(const AkOutputSettings& in_MainSettings) Line 924 (?????)    C++
     IntegrationDemo.nss!CAkAudioMgr::ProcessMsgQueue(bool in_bDrainMsgQueue, bool& out_bDeviceSwitch) Line 1753 (?????)    C++

 

asked Aug 23, 2018 in General Discussion by Reevan M. (110 points)
edited Dec 17, 2018 by Bernard R. (Audiokinetic)

1 Answer

0 votes
We got this error on the same version 2018.1.1.6727, and upgrading to 2018.1.4.6807 resolved it.
answered Dec 17, 2018 by Matt E. (140 points)
...