x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Android Build (All) Native crash at /system/lib/libc.so

I've successfully managed to create and upload a game to Google Play into the Alpha testers section.

Both of my alpha testing devices crash, one just blanks out the screen then the app disappears, but on the Galaxy Note 4 (which I used for most of my testing) I've managed to get an error report. Can anyone please advise me on what to do with this. I've blueprinted the whole project, so I'm not likely to go diving into C++ code anytime soon....I shouldn't have to.

The game works on my desktop and in an emulator, and I can launch the game on the Note 4 when connected to the PC...but downloaded from the Play store it just doesn't work...

Native crash at /system/lib/libc.so in /system/lib/libc.so (tgkill+12), /system/lib/libc.so (pthread_kill+52)


Build fingerprint: 'samsung/trltexx/trlte:5.0.1/LRX22C/N910FXXU1BOC5:user/release-keys' Revision: '12' ABI: 'arm' pid: 9887, tid: 9902, name: Thread-1756 >>> com.AtonnisProductions.BlackOrWhiteF1 <<< signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- Abort message: 'sart/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: java_class == null' r0 00000000 r1 000026ae r2 00000006 r3 00000000 r4 aeffddb8 r5 00000006 r6 00000002 r7 0000010c r8 00000000 r9 b4e4f520 sl ad559400 fp 00000d38 ip 000026ae sp aeff8850 lr b6f0cfd1 pc b6f30970 cpsr 60070010

backtrace: #00 pc 00037970 /system/lib/libc.so (tgkill+12) #01 pc 00013fcd /system/lib/libc.so (pthread_kill+52) #02 pc 00014beb /system/lib/libc.so (raise+10) #03 pc 00011531 /system/lib/libc.so (__libc_android_abort+36) #04 pc 0000fcbc /system/lib/libc.so (abort+4) #05 pc 0021d4b9 /system/lib/libart.so (art::Runtime::Abort()+160) #06 pc 000a8353 /system/lib/libart.so (art::LogMessage::~LogMessage()+1322) #07 pc 000b1a81 /system/lib/libart.so (art::JniAbort(char const*, char const*)+1060) #08 pc 000b1fdd /system/lib/libart.so (art::JniAbortF(char const*, char const*, ...)+60) #09 pc 001af5fb /system/lib/libart.so (art::JNI::GetMethodID(_JNIEnv*, jclass*, char const*, char const*)+770) #10 pc 012adf90 /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so (FJavaClassObject::FJavaClassObject(FName, char const*, ...)+324) #11 pc 012af014 /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so (FJavaAndroidMediaPlayer::FJavaAndroidMediaPlayer(bool)+116) #12 pc 031a230c /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so (FAndroidMediaPlayerStreamer::FAndroidMediaPlayerStreamer()+132) #13 pc 031a4224 /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so (FAndroidMoviePlayerModule::StartupModule()+36) #14 pc 01418220 /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so (FModuleManager::LoadModuleWithFailureReason(FName, EModuleLoadResult&, bool)+700) #15 pc 015d1fc0 /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so (FModuleDescriptor::LoadModulesForPhase(ELoadingPhase::Type, TArray const&, TMap >&)+1088) #16 pc 015da874 /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so (FPluginManager::LoadModulesForEnabledPlugins(ELoadingPhase::Type)+1092) #17 pc 01294340 /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so (FEngineLoop::PreInit(wchar_t const*)+12504) #18 pc 0129120c /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so (FEngineLoop::PreInit(int, wchar_t* , wchar_t const)+3632) #19 pc 012a1240 /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so (AndroidMain(android_app*)+2560) #20 pc 012a1550 /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so (android_main+116) #21 pc 012a9698 /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so #22 pc 000137bb /system/lib/libc.so ( pthread_start(void*)+30) #23 pc 0001189b /system/lib/libc.so (_start_thread+6)


Build fingerprint: 'samsung/trltexx/trlte:5.0.1/LRX22C/N910FXXU1BOC5:user/release-keys' Revision: '12' ABI: 'arm' pid: 9495, tid: 9546, name: Thread-1656 >>> com.AtonnisProductions.BlackOrWhiteF1 <<< signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- Abort message: 'sart/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: java_class == null' r0 00000000 r1 0000254a r2 00000006 r3 00000000 r4 af995db8 r5 00000006 r6 00000002 r7 0000010c r8 00000000 r9 b4f4f520 sl ad659400 fp 00000d3a ip 0000254a sp af990850 lr b6f41fd1 pc b6f65970 cpsr 60070010

backtrace: #00 pc 00037970 /system/lib/libc.so (tgkill+12) #01 pc 00013fcd /system/lib/libc.so (pthread_kill+52) #02 pc 00014beb /system/lib/libc.so (raise+10) #03 pc 00011531 /system/lib/libc.so (__libc_android_abort+36) #04 pc 0000fcbc /system/lib/libc.so (abort+4) #05 pc 0021d4b9 /system/lib/libart.so (art::Runtime::Abort()+160) #06 pc 000a8353 /system/lib/libart.so (art::LogMessage::~LogMessage()+1322) #07 pc 000b1a81 /system/lib/libart.so (art::JniAbort(char const*, char const*)+1060) #08 pc 000b1fdd /system/lib/libart.so (art::JniAbortF(char const*, char const*, ...)+60) #09 pc 001af5fb /system/lib/libart.so (art::JNI::GetMethodID(_JNIEnv*, jclass*, char const*, char const*)+770) #10 pc 012adf90 /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so (FJavaClassObject::FJavaClassObject(FName, char const*, ...)+324) #11 pc 012af014 /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so (FJavaAndroidMediaPlayer::FJavaAndroidMediaPlayer(bool)+116) #12 pc 031a230c /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so (FAndroidMediaPlayerStreamer::FAndroidMediaPlayerStreamer()+132) #13 pc 031a4224 /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so (FAndroidMoviePlayerModule::StartupModule()+36) #14 pc 01418220 /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so (FModuleManager::LoadModuleWithFailureReason(FName, EModuleLoadResult&, bool)+700) #15 pc 015d1fc0 /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so (FModuleDescriptor::LoadModulesForPhase(ELoadingPhase::Type, TArray const&, TMap >&)+1088) #16 pc 015da874 /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so (FPluginManager::LoadModulesForEnabledPlugins(ELoadingPhase::Type)+1092) #17 pc 01294340 /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so (FEngineLoop::PreInit(wchar_t const*)+12504) #18 pc 0129120c /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so (FEngineLoop::PreInit(int, wchar_t* , wchar_t const)+3632) #19 pc 012a1240 /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so (AndroidMain(android_app*)+2560) #20 pc 012a1550 /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so (android_main+116) #21 pc 012a9698 /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so #22 pc 000137bb /system/lib/libc.so ( pthread_start(void*)+30) #23 pc 0001189b /system/lib/libc.so (_start_thread+6)

Product Version: UE 4.9
Tags:
more ▼

asked Sep 15 '15 at 04:59 PM in Packaging & Deployment

avatar image

Atonnis
48 11 13 17

avatar image Atonnis Sep 15 '15 at 11:10 PM

4 more reports have come in with the same problem.

Can anyone please help - I'm getting desperate. This shouldn't happen - not if I can launch the product from the connected PC.

Perhaps it has something to do with AdMob? But I really don't know.

All I know is that it won't work on any device now :(

avatar image Atonnis Sep 25 '15 at 02:47 PM

Can anyone give any feedback on this, I'm going crazy!

avatar image Shadowriver Sep 25 '15 at 02:51 PM

Do you use Media Player?

avatar image Atonnis Sep 25 '15 at 04:15 PM

In the Unreal Engine I'm using just 5 objects, the entire rest of the game is based in the HUD. There are some animations between menus within the HUD but that's it.

avatar image Shadowriver Sep 25 '15 at 04:19 PM

I'm asking because you game is felling apart on MediaPlayer module startup as stack trace suggests:

FJavaClassObject::FJavaClassObject(FName, char const*, ...)+324) #11 pc 012af014 /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so (FJavaAndroidMediaPlayer::FJavaAndroidMediaPlayer(bool)+116) #12 pc 031a230c (FAndroidMediaPlayerStreamer::FAndroidMediaPlayerStreamer()+132) #13 pc 031a4224 /data/app/com.AtonnisProductions.BlackOrWhiteF1-1/lib/arm/libUE4.so (FAndroidMoviePlayerModule::StartupModule()+36) #14 pc 01418220

avatar image Atonnis Sep 25 '15 at 04:18 PM

I don't use Unreal Media Player,

avatar image Shadowriver Sep 25 '15 at 04:23 PM

Can you get more logs from that crash? aspecially before crash happens, maybe there will be hint whats going on there. UE4 outputs to LogCat, so you can capture longs there

avatar image Shadowriver Sep 25 '15 at 04:27 PM

Last thing from UE4 in stack is FJavaClassObject constructor btw soundsl ike class responcible for interaction with Java, then stack goes to Android core libraries and somethign worngs happens there.

Check also Android version if there specific version that have that problem. Considering it is related to MEdiaPlayer there might be some incombality maybe?

avatar image Atonnis Sep 25 '15 at 04:50 PM

I installed aLogcat as well. Seems to be more detailed.

avatar image Atonnis Sep 25 '15 at 04:48 PM

OK, just added more debug to a build and uploaded it to Alpha. The moment it's available I'll download it again to my phone and see what I get. I haven't used LogCat before so I hope you'll bear with me whilst I figure it out. I installed CatLog on my device - I hope that'll do the job.

avatar image Shadowriver Sep 25 '15 at 06:13 PM

So you don't have any device that crash this way?

avatar image Atonnis Sep 25 '15 at 07:20 PM

Every device I try the game on crashes the same way. Black screen then the usual 'Unfortunately, The game has stopped.'

avatar image Atonnis Sep 25 '15 at 07:28 PM

I'm just unfamiliar with LogCat. I'm trying right now to use adb shell / logcat, etc but the buffer is not large enough to pick up everything that happens during the time it takes me to launch the game and crash.

avatar image Shadowriver Sep 26 '15 at 01:18 AM

Use this:

http://developer.android.com/tools/debugging/ddms.html

It's hell better and have filters, including process filter so you can catch logs of your game only

avatar image Atonnis Oct 04 '15 at 12:10 AM

Thank you for the advice - you've just opened my world up a bit more!

OK, I think I have it. Everything in the attached file is filtered to the app name. In DDMS most of it is red.

link text

bw_error_log_29092015.txt (34.6 kB)

avatar image Atonnis Sep 29 '15 at 03:52 PM

Thank you for the advice - you've just opened my world up a bit more!

OK, I think I have it. Everything in the attached file is filtered to the app name. In DDMS most of it is red.

link text

avatar image Atonnis Oct 05 '15 at 12:06 AM

Can anyone help, please? I'm now overdue on delivery date for the product :(

avatar image Atonnis Oct 13 '15 at 11:45 AM

Has anyone had any luck looking into this at all, please?

avatar image Atonnis Oct 26 '15 at 03:44 AM

Still no luck with this - I could REALLY use some help here, PLEASE!

avatar image Atonnis Nov 04 '15 at 03:35 PM

Lots and lots of views, but still no-one has any ideas?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

OK. In the end the solution was to change the minimum capable version of Android up to Ice Cream Sandwich.

more ▼

answered Nov 11 '15 at 10:58 PM

avatar image

Atonnis
48 11 13 17

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question