# \[Bug\]\[2.02.06\] Android startup crash

**URL:** <https://qa.fmod.com/t/bug-2-02-06-android-startup-crash/18789>\
**Category:** FMOD Engine\
**Tags:** unity\
**Created:** [May 23, 2022, 2:58pm UTC](https://qa.fmod.com/t/bug-2-02-06-android-startup-crash/18789 "2022-05-23T14:58:43Z")\
**Posts on this page:** 1\
**Showing post:** 34

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [September 9, 2022, 1:16am UTC](https://qa.fmod.com/t/bug-2-02-06-android-startup-crash/18789/34 "2022-09-09T01:16:22Z")

</div>

I am not sure on the reliability of those fmod callstacks there, but this one has some promising details:

> [@maksimomelyanchuk](#):
>
> ```apache
> libaudioclient.so 0x49a98244 + 606788
> libaudioclient.so 0x49a98238 + 606776
> libaaudio_internal.so 0x94b59b74 + 183156
> libaaudio_internal.so 0x94b4aa10 + 121360
> libaudioclient.so 0x49ab9ab0 + 744112
> libaudioclient.so 0x49a47a08 + 277000
> libbinder.so 0x33393880 + 301184
> libbinder.so 0x3339d910 + 342288
> libbinder.so 0x3339d42c + 341036
> libbinder.so 0x3339dcdc + 343260
> libbinder.so 0x333ca418 + 525336
> libutils.so 0x49be058c + 79244
> libandroid_runtime.so 0x31ef34b8 + 783544
> libutils.so 0x49bdfde8 + 77288
> libc.so 0x313cbd44 + 986436
> libc.so 0x3136857c + 578940
> 
> ```

The order of the libs being called resemble that of a [known issue](https://qa.fmod.com/t/fmod-crash-on-android-crash-stack-libaudioclient-so/18266/12) on Android, which should be resolved in Android 13. Here is the stack trace of that bug for comparison:

```apache
      libaudioclient.so (android::AudioTrack::setVolume(float, float)+468)
      libaaudio_internal.so (aaudio::AudioStreamTrack::doSetVolume()+116)
      libaaudio_internal.so (aaudio::AudioStream::MyPlayerBase::playerSetVolume()+340)
      libaudioclient.so (android::PlayerBase::setVolume(float)+148)
      libaudioclient.so (android::media::BnPlayer::onTransact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+668)
      libbinder.so (android::BBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+252)
      libbinder.so (android::IPCThreadState::executeCommand(int)+1048)
      libbinder.so (android::IPCThreadState::getAndExecuteCommand()+164)
      libbinder.so (android::IPCThreadState::joinThreadPool(bool)+72)
      libbinder.so (android::PoolThread::threadLoop()+28)
      libutils.so (android::thread::_threadLoop(void*)+264)
      libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+148)
      libutils.so (thread_data_t::trampoline(thread_data_t const*)+408)
      libc.so (__pthread_start(void*)+264)
      libc.so (__start_thread+68)

```

If you were to make a debug/logging build of your application I suspect you would see it ending on `android::AudioTrack::setVolume` as well. Since you have a test device available, perhaps you could try updating to Android 13 and see if you can still reproduce this crash?

---

_[View the full topic](https://qa.fmod.com/t/bug-2-02-06-android-startup-crash/18789)._
