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.

iOS crash on SoundEngine Initialization with Wwise Version 2019.2.7.7402 and Unity2018.4.23f1

0 votes

Hi,

Besides the crash in the unity editor on exiting playmode (see my previous thread) we have a severe crash bug in our iOS Version with the newest wwise version and Unity 2018.4.23f1. This crash is also not happening always but like 90% of the time, more often in release than debug (guess a threading issue):

#0 0x00000001019cebf8 in CAkEffectsMgr::Init(char*) at /Volumes/SSD/Jenkins/ws/wwise_v2019.2/Wwise/SDK/source/SoundEngine/AkAudiolib/Common/AkEffectsMgr.cpp:86

#1 0x0000000101a4d73c in CAkLEngine::SoftwareInit() at /Volumes/SSD/Jenkins/ws/wwise_v2019.2/Wwise/SDK/source/SoundEngine/AkAudiolib/SoftwarePipeline/AkLEngine_SoftwarePipeline.cpp:80

#2 0x0000000101a70da4 in CAkLEngine::Init() at /Volumes/SSD/Jenkins/ws/wwise_v2019.2/Wwise/SDK/source/SoundEngine/AkAudiolib/iOS/AkLEngine.cpp:65

#3 0x0000000101996f70 in AK::SoundEngine::InitRenderer() [inlined] at /Volumes/SSD/Jenkins/ws/wwise_v2019.2/Wwise/SDK/source/SoundEngine/AkAudiolib/Common/AkAudioLib.cpp:5683

#4 0x0000000101996f6c in AK::SoundEngine::Init(AkInitSettings*, AkPlatformInitSettings*) at /Volumes/SSD/Jenkins/ws/wwise_v2019.2/Wwise/SDK/source/SoundEngine/AkAudiolib/Common/AkAudioLib.cpp:449

#5 0x00000001019075f0 in Init(AkInitializationSettings*) at /Volumes/SSD/Jenkins/ws/wwise_v2019.2/wwiseunity/AkSoundEngine/Common/AkSoundEngineStubs.cpp:498

#6 0x0000000101f5ece4 in ::AkWwiseInitializationSettings_InitializeSoundEngine_m98FF19C89EE39AA615734A56282F6C2F33DE2574(const RuntimeMethod *) at /Users/iosalbiontester/Desktop/Albion-Online/Classes/Native/Bulk_Assembly-CSharp_1.cpp:70966

#7 0x0000000100d7097c in RuntimeInvoker_TrueVoid_t22962CB4C05B1D89B55A6E1139F0E87A90987017(void (*)(), MethodInfo const*, void*, void**) at /Users/iosalbiontester/Desktop/Albion-Online/Classes/Native/Il2CppInvokerTable.cpp:59987

#8 0x00000001018e5a90 in il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**) at /Users/builduser/buildslave/unity/build/External/il2cpp/il2cpp/libil2cpp/vm/Runtime.cpp:576

#9 0x00000001012dcf0c in ::scripting_method_invoke() at /Users/builduser/buildslave/unity/build/Runtime/ScriptingBackend/Il2Cpp/ScriptingApi_Il2Cpp.cpp:244

#10 0x00000001012e5c20 in ::Invoke() at /Users/builduser/buildslave/unity/build/Runtime/Scripting/ScriptingInvocation.cpp:347

 

 

0x1019cebcc <+80>:  bl     0x1037d18d4               ; symbol stub for: strlen

    0x1019cebd0 <+84>:  add    x8, x0, #0x1              ; =0x1 

    0x1019cebd4 <+88>:  cmp    x22, x8

    0x1019cebd8 <+92>:  csinc  x22, x22, x0, lo

    0x1019cebdc <+96>:  mov    x0, x21

    0x1019cebe0 <+100>: mov    x1, x20

    0x1019cebe4 <+104>: mov    x2, x22

    0x1019cebe8 <+108>: bl     0x1037d18f8               ; symbol stub for: strncpy

    0x1019cebec <+112>: strb   wzr, [x21, x22]

    0x1019cebf0 <+116>: ldr    x8, [x23, #0x718]

    0x1019cebf4 <+120>: sub    w9, w19, #0x1             ; =0x1 

->  0x1019cebf8 <+124>: ldrb   w9, [x8, w9, uxtw] Thread 1: EXC_BAD_ACCESS

    0x1019cebfc <+128>: cmp    w9, #0x2f                 ; =0x2f 

    0x1019cec00 <+132>: b.eq   0x1019cec14               ; <+152> at AkEffectsMgr.cpp:97:3

    0x1019cec04 <+136>: mov    w9, #0x2f

    0x1019cec08 <+140>: strb   w9, [x8, w19, uxtw]

    0x1019cec0c <+144>: ldr    x8, [x23, #0x718]

    0x1019cec10 <+148>: strb   wzr, [x8, x24]

    0x1019cec14 <+152>: adrp   x2, 10769

    0x1019cec18 <+156>: add    x2, x2, #0xae0            ; =0xae0 

    0x1019cec1c <+160>: orr    w19, wzr, #0x1

XCode Version 12.2 (12B45b) on MacOS Catalina 10.15.7
iPad iOS 14.1

Does someone has the same issue or is this know and being worked on?

Thanks

asked Nov 26, 2020 in General Discussion by Johannes K. (100 points)

Please sign-in or register to answer this question.

...