Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes
Segfault in AudioTrackThread
Android App
Wwise Version: v2021.1.4  Build: 7707

I cannot repo this issue locally and it rarely occurs in production.
It only occurs on Android but is not tied to any specific device or Android version.
It does not occur in the same location in the game and can occur anywhere in the game world.

I believe this is thread related but not sure if it's on our side.
I don't believe it's caused by our callbacks for PostEvent or RegisterCaptureCallback, but 'maybeCallDataCallback' in the stacktrace is suspicious.
I'm wondering if updating to 2021.1.14 or disabling bUseLEngineThread would resolve this issue?
Any guidance or help is greatly appreciated.

Stacktrace

Exception Type: Unknown (SIGSEGV)

Application Specific Information:
Segfault

Thread 0 Crashed:
0   libc.so                         0x71dfd796c8        __memcpy
1   libzwiftjni.so                  0x6e9184d7b4        [inlined] AKPLATFORM::AkMemCpy (AkPlatformFuncs.h:321)
2   libzwiftjni.so                  0x6e9184d7b4        CAkSynchronizedBuffer::CopyFrames (AkSynchronizedBuffer.cpp:93)
3   libzwiftjni.so                  0x6e9184d818        CAkSynchronizedBuffer::PopFrames (AkSynchronizedBuffer.cpp:70)
4   libzwiftjni.so                  0x6e91877f58        CAkAAudioBackend::OnAudioReady (AkAAudioBackend.cpp:222)
5   libaaudio_internal.so           0x6f1f4b1b4c        aaudio::AudioStream::maybeCallDataCallback
6   libaaudio_internal.so           0x6f1f4b5d7c        aaudio::AudioStreamLegacy::callDataCallbackFrames
7   libaaudio_internal.so           0x6f1f4b4cac        aaudio::AudioStreamLegacy::onMoreData
8   libaudioclient.so               0x71db1745e4        android::AudioTrack::processAudioBuffer
9   libaudioclient.so               0x71db1737dc        android::AudioTrack::AudioTrackThread::threadLoop
10  libutils.so                     0x71c145d830        android::Thread::_threadLoop
11  libandroid_runtime.so           0x71c620a918        android::AndroidRuntime::javaThreadShell
12  libc.so                         0x71dfde22b8        __pthread_start
13  libc.so                         0x71dfd7efb8        __start_thread
in General Discussion by Matthew Miller (100 points)
Hello,I also encountered the same problem, have you solved it? It's exactly the same as you described, and the stacktrace is exactly the same. My wwise version is v2019.2.12

Please sign-in or register to answer this question.

...