# These is a memory error when loading a bank file in Android app

**URL:** <https://qa.fmod.com/t/these-is-a-memory-error-when-loading-a-bank-file-in-android-app/14811>\
**Category:** FMOD Studio\
**Created:** [June 26, 2019, 6:25am UTC](https://qa.fmod.com/t/these-is-a-memory-error-when-loading-a-bank-file-in-android-app/14811 "2019-06-26T06:25:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vietnguyen](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@vietnguyen](https://qa.fmod.com/u/vietnguyen)\
**Post date:** [June 26, 2019, 6:25am UTC](https://qa.fmod.com/t/these-is-a-memory-error-when-loading-a-bank-file-in-android-app/14811/1 "2019-06-26T06:25:29Z")

</div>

I need load a bank file in assets folder in Android app as below:  
if (fmodStudio == NULL) {  
Common\_Init(&extraDriverData);  
ERRCHECK( Studio::System::create(&fmodStudio) );  
ERRCHECK( fmodStudio-\>initialize(1024, FMOD\_STUDIO\_INIT\_NORMAL, FMOD\_INIT\_NORMAL, extraDriverData) );  
ERRCHECK( fmodStudio-\>loadBankFile(Common\_MediaPath(“Master.bank”), FMOD\_STUDIO\_LOAD\_BANK\_NONBLOCKING, &masterBank) );  
}

then an error exists:

06-26 15:51:36.924 18984-18984/com…android.dev A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x1 in tid 18984 (ime.android.dev)  
06-26 15:51:37.034 3159-3159/? A/DEBUG: \*\*\* \*\*\* \*\*\* \*\*\* \*\*\* \*\*\* \*\*\* \*\*\* \*\*\* \*\*\* \*\*\* \*\*\* \*\*\* \*\*\* \*\*\* \*\*\*  
06-26 15:51:37.034 3159-3159/? A/DEBUG: Build fingerprint: ‘samsung/hero2ltexx/hero2lte:6.0.1/MMB29K/G935FXXS1BPLO:user/release-keys’  
06-26 15:51:37.034 3159-3159/? A/DEBUG: Revision: ‘9’  
06-26 15:51:37.034 3159-3159/? A/DEBUG: ABI: ‘arm64’  
06-26 15:51:37.034 3159-3159/? A/DEBUG: pid: 18984, tid: 18984, name: ime.android.dev \>\>\> com…android.dev \<\<\<  
06-26 15:51:37.034 3159-3159/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV\_MAPERR), fault addr 0x1  
06-26 15:51:37.054 3159-3159/? A/DEBUG: x0 0000000000000001 x1 0000000000000001 x2 0000007f57a15050 x3 0000007f57bb09d0  
06-26 15:51:37.054 3159-3159/? A/DEBUG: x4 0000007f57bb09d0 x5 0000000000000005 x6 0000000000000001 x7 0000007f82dff280  
06-26 15:51:37.054 3159-3159/? A/DEBUG: x8 0000000000000000 x9 0000007f82dff280 x10 0000000000000000 x11 0000000000000000  
06-26 15:51:37.054 3159-3159/? A/DEBUG: x12 0000007f8299bfc0 x13 000000000000023d x14 000000000000023e x15 0000000000000025  
06-26 15:51:37.054 3159-3159/? A/DEBUG: x16 0000007f57a14b78 x17 0000007f26e652e8 x18 0000007f7f042000 x19 0000007f578eb200  
06-26 15:51:37.054 3159-3159/? A/DEBUG: x20 0000007f57bb09d0 x21 0000000057a15050 x22 0000000000000001 x23 0000000013582300  
06-26 15:51:37.054 3159-3159/? A/DEBUG: x24 00000000135df1c0 x25 0000000012c314f0 x26 0000000013103070 x27 00000000712132d8  
06-26 15:51:37.054 3159-3159/? A/DEBUG: x28 0000289d00004a28 x29 0000007fc8a9e0b0 x30 0000007f26e65328  
06-26 15:51:37.054 3159-3159/? A/DEBUG: sp 0000007fc8a9df60 pc 0000007f26ead5c4 pstate 0000000060000000  
06-26 15:51:37.054 3159-3159/? A/DEBUG: backtrace:  
06-26 15:51:37.054 3159-3159/? A/DEBUG: #00 pc 00000000000f35c4 /data/app/com…android.dev-2/lib/arm64/libfmodstudio.so  
06-26 15:51:37.054 3159-3159/? A/DEBUG: #01 pc 00000000000ab324 /data/app/com…android.dev-2/lib/arm64/libfmodstudio.so (\_ZN4FMOD6Studio6System12loadBankFileEPKcjPPNS0\_4BankE+60)  
Note: I tested on several devices with various Android version

##### FMOD Studio version 2.00.02

Please help me how to fix this bug.  
Thank you very much

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [July 2, 2019, 4:59am UTC](https://qa.fmod.com/t/these-is-a-memory-error-when-loading-a-bank-file-in-android-app/14811/2 "2019-07-02T04:59:55Z")

</div>

Can you reproduce the issue using the logging version, this will provide more information.
