Android app (apk) crashing

#1

Hello,

Just wondering if anyone is having issues with deployed Android applications this morning? We pushed out a release to our production channel about 48 hours ago and this morning, the app is crashing soon after launch. We have 2 other release channels (dev and staging) that are loading up just fine. Getting this error in the logcat on Android

java.lang.ClassNotFoundException: abi27_0_0.com.facebook.soloader.SoLoader
Runtime exception in RNObject when calling method init: java.lang.NullPointerException: Attempt to invoke virtual method ‘java.lang.reflect.Method[] java.lang.Class.getMethods()’ on a null object reference

I should note that iOS is fine (same release channel) and we cannot reproduce the issue when debugging locally. It is only happening for a specific release channel (production :disappointed: ) and only on Android

3 Likes
#2

Hi! Please send us the entire logcat log. That error message doesn’t give us enough information.

#3

FYI, it is working now, no issues. Had issues for about 2 hours this morning but the app is now working.

That said, would still be interested to know the issue. Where should I send it?

Also, I have a logcat of the failure and (now) the success

Edit: sent

#4

Just did another publish and getting the same result. Only on our production channel (releases to other channels had no issues) and only on the Android platform.

Last time it took about 2 hours to resolve itself, hopefully that is the only downtime we have this time.

#5

can you please share the entire logcat?

#6

sent via message

#7

Not sure if this is an issue with the code.

Unfortunately, can not reproduce the issue while debugging. It is only happening w/ APK

The error: undefined is not an object (evaluating ‘t.id’)

In debug mode, using the same data, getting no errors. Also, I’m trying to build via expo now, it’s getting stuck on the splashScreen after launch (looks like there is another thread for this issue)

1 Like
#8

The same occurs with me, the android app freezes on splash screen and crash.
I see the same exception in logs:
java.lang.ClassNotFoundException: abi28_0_0.com.facebook.soloader.SoLoader
Runtime exception in RNObject when calling method init: java.lang.NullPointerException: Attempt to invoke virtual method ‘java.lang.reflect.Method[] java.lang.Class.getMethods()’.

#9

We have an older build that is working (not constantly showing the splash screen). But any new builds I have done (yesterday) get stuck on the splash screen.

#10

Having the same issue- any new builds from build:android are stuck on the splash screen.

Here’s a link to the system logs via logcat: https://gist.github.com/masiamj/b8f6d7f8ab5a80c747f072b4b6da0800.

In the log file, I’m seeing: java.lang.ClassNotFoundException: abi28_0_0.com.facebook.soloader.SoLoader which has a few open issues as well.

Would really appreciate any of your expertise here @notbrent.

Thanks so much!

#11

This is my logcat, straight from genymotion using a standalone app.

Thanks.
Gabriel.

#12

The splash screen issue is a different issue. See Standalone apk freezes at launch screen and https://github.com/expo/expo/issues/2038#issuecomment-408505831.

java.lang.ClassNotFoundException: abi28_0_0.com.facebook.soloader.SoLoader is a warning, and will not cause this crash.

1 Like
#13

Also recently started having this issue with app crashing before even getting to splash screen. Here are some logs.

 mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000,  [1080x2220]-format:1
07-30 19:49:27.383 10273 30215 30323 D OpenGLRenderer: eglCreateWindowSurface = 0xc73c2f60
07-30 19:49:27.388 10273 30215 30215 E i       : java.lang.ClassNotFoundException: abi28_0_0.com.facebook.soloader.SoLoader
07-30 19:49:27.389 10273 30215 30215 E i       : Runtime exception in RNObject when calling method init: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.reflect.Method[] java.lang.Class.getMethods()' on a null object reference
07-30 19:49:27.390  1000  6771  7383 V WindowManager: rotationForOrientationLw(orient=1, last=0); user=0 USER_ROTATION_LOCKED sensorRotation=-1 mLidState=-1 mDockMode=0 mHdmiPlugged=false
07-30 19:49:27.396  1000  4256  4256 I SurfaceFlinger: Display 0 HWC layers:
07-30 19:49:27.396  1000  4256  4256 I SurfaceFlinger:     type    |    handle    | flag |  format   |   source crop (l,t,r,b)    |         frame       | name 
07-30 19:49:27.396  1000  4256  4256 I SurfaceFlinger: ------------+--------------+------+-----------+----------------------------+---------------------+------
07-30 19:49:27.396  1000  4256  4256 I SurfaceFlinger:      Device | 0x7c7ee3f180 | 0000 | RGBA_8888 |   0.0    0.0 1080.0 2220.0 |    0    0 1080 2220 | Splash Screen com.zazzles.myApp#0
07-30 19:49:27.396  1000  4256  4256 I SurfaceFlinger:      Device | 0x7c7f45b640 | 0000 | RGBA_8888 |   0.0    0.0 1080.0   72.0 |    0    0 1080   72 | StatusBar#0
07-30 19:49:27.396  1000  4256  4256 I SurfaceFlinger:      Device | 0x7c7f45b480 | 0000 | RGBA_8888 |   0.0    0.0   67.0  445.0 | 1013  457 1080  902 | com.samsung.android.app.cocktailbars[...]ktailbarservice.CocktailBarService#0
07-30 19:49:27.396  1000  4256  4256 I SurfaceFlinger:      Device | 0x7c7f458d20 | 0000 | RGBA_8888 |   0.0    0.0 1080.0  144.0 |    0 2076 1080 2220 | NavigationBar#0
07-30 19:49:27.396  1000  4256  4256 I SurfaceFlinger: 
#14

Not sure if it is helpful but are you using high resolution images for splash screens? It has been a while since I had this issue but our app was crashing due around the splash screen when we were attempting to loader an xxl image for the splashscreen on a non xxl resolution.

#15

I am using a custom splash screen but it is an edited version of the splash that comes with the exp init project. So it should be the same size/res. Not sure if this could be it. I am currently running a new build to see if the fix that @jesse deployed works for me. Will report back

#16

Nope, seems like it is still happening… Based on other forums a common solution seems to be to remove the splash but that I something I would like to avoid doing if at all possible. I think its worth mentioning that this app has been working consistently accross many devices for quite some time. This is the first time I’m having this kind of issue.

#17

Please send all of the logs! The logs you sent don’t really tell us anything. Also would be very useful to put the code on Github or Snack.

#18

@jesse Not sure what part of the log file would be useful for debugging since the log file is pretty massive, but from what I can see when the crash happens this section gets logged repeatedly:

07-30 18:10:19.848 10273  9532  9728 F libc    : Fatal signal 11 (SIGSEGV), code 2, fault addr 0xc2b05000 in tid 9728 (mqt_js)
07-30 18:10:19.943 10273  9751  9751 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-30 18:10:19.943 10273  9751  9751 F DEBUG   : Build fingerprint: 'samsung/starltexx/starlte:8.0.0/R16NW/G960FXXU1BRE6:user/release-keys'
07-30 18:10:19.943 10273  9751  9751 F DEBUG   : Revision: '26'
07-30 18:10:19.943 10273  9751  9751 F DEBUG   : ABI: 'arm'
07-30 18:10:19.943 10273  9751  9751 F DEBUG   : pid: 9532, tid: 9728, name: mqt_js  >>> com.rasbrits.coinit <<<
07-30 18:10:19.943 10273  9751  9751 F DEBUG   : signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xc2b05000
07-30 18:10:19.943 10273  9751  9751 F DEBUG   :     r0 c28be000  r1 c2b05000  r2 646e613d  r3 64696f72
07-30 18:10:19.943 10273  9751  9751 F DEBUG   :     r4 c31123b0  r5 c311239c  r6 c3111b34  r7 c28be000
07-30 18:10:19.943 10273  9751  9751 F DEBUG   :     r8 c31123a0  r9 c448c688  sl c31123a8  fp c31123b0
07-30 18:10:19.943 10273  9751  9751 F DEBUG   :     ip 00000000  sp c3111b28  lr c4516b35  pc ef2a915c  cpsr 600f0030
07-30 18:10:19.945 10273  9751  9751 F DEBUG   : 
07-30 18:10:19.945 10273  9751  9751 F DEBUG   : backtrace:
07-30 18:10:19.945 10273  9751  9751 F DEBUG   :     #00 pc 0001a15c  /system/lib/libc.so (strlen+71)
07-30 18:10:19.945 10273  9751  9751 F DEBUG   :     #01 pc 00042b31  /data/app/com.rasbrits.coinit-l7moOLU1XHqjL1--5C5nbA==/lib/arm/libjsc.so (JSStringCreateWithUTF8CString+22)
07-30 18:10:19.945 10273  9751  9751 F DEBUG   :     #02 pc 000322e3  /data/app/com.rasbrits.coinit-l7moOLU1XHqjL1--5C5nbA==/lib/arm/libreactnativejni_abi28_0_0.so (_ZN8facebook5react11JSCExecutor11adoptStringESt10unique_ptrIKNS0_11JSBigStringESt14default_deleteIS4_EE+42)
07-30 18:10:19.945 10273  9751  9751 F DEBUG   :     #03 pc 0003344b  /data/app/com.rasbrits.coinit-l7moOLU1XHqjL1--5C5nbA==/lib/arm/libreactnativejni_abi28_0_0.so (_ZN8facebook5react11JSCExecutor21loadApplicationScriptESt10unique_ptrIKNS0_11JSBigStringESt14default_deleteIS4_EESs+138)
07-30 18:10:19.945 10273  9751  9751 F DEBUG   :     #04 pc 0003621b  /data/app/com.rasbrits.coinit-l7moOLU1XHqjL1--5C5nbA==/lib/arm/libreactnativejni_abi28_0_0.so
07-30 18:10:19.945 10273  9751  9751 F DEBUG   :     #05 pc 00035ca1  /data/app/com.rasbrits.coinit-l7moOLU1XHqjL1--5C5nbA==/lib/arm/libreactnativejni_abi28_0_0.so
07-30 18:10:19.945 10273  9751  9751 F DEBUG   :     #06 pc 00016641  /data/app/com.rasbrits.coinit-l7moOLU1XHqjL1--5C5nbA==/lib/arm/libreactnativejni_abi28_0_0.so (_ZNKSt8functionIFvvEEclEv+12)
07-30 18:10:19.945 10273  9751  9751 F DEBUG   :     #07 pc 0001e60d  /data/app/com.rasbrits.coinit-l7moOLU1XHqjL1--5C5nbA==/lib/arm/libreactnativejni_abi28_0_0.so
07-30 18:10:19.945 10273  9751  9751 F DEBUG   :     #08 pc 00016641  /data/app/com.rasbrits.coinit-l7moOLU1XHqjL1--5C5nbA==/lib/arm/libreactnativejni_abi28_0_0.so (_ZNKSt8functionIFvvEEclEv+12)
07-30 18:10:19.945 10273  9751  9751 F DEBUG   :     #09 pc 0001844d  /data/app/com.rasbrits.coinit-l7moOLU1XHqjL1--5C5nbA==/lib/arm/libreactnativejni_abi28_0_0.so
07-30 18:10:19.945 10273  9751  9751 F DEBUG   :     #10 pc 0001848b  /data/app/com.rasbrits.coinit-l7moOLU1XHqjL1--5C5nbA==/lib/arm/libreactnativejni_abi28_0_0.so
07-30 18:10:19.945 10273  9751  9751 F DEBUG   :     #11 pc 0027476b  /data/app/com.rasbrits.coinit-l7moOLU1XHqjL1--5C5nbA==/oat/arm/base.odex (offset 0x20a000)
07-30 18:16:39.189 10273 22795 22881 F libc    : Fatal signal 11 (SIGSEGV), code 2, fault addr 0xc3518000 in tid 22881 (mqt_js)
07-30 18:16:39.269 10273 22890 22890 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-30 18:16:39.269 10273 22890 22890 F DEBUG   : Build fingerprint: 'samsung/starltexx/starlte:8.0.0/R16NW/G960FXXU1BRE6:user/release-keys'
07-30 18:16:39.269 10273 22890 22890 F DEBUG   : Revision: '26'
07-30 18:16:39.270 10273 22890 22890 F DEBUG   : ABI: 'arm'
07-30 18:16:39.270 10273 22890 22890 F DEBUG   : pid: 22795, tid: 22881, name: mqt_js  >>> com.rasbrits.coinit <<<
07-30 18:16:39.270 10273 22890 22890 F DEBUG   : signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xc3518000
07-30 18:16:39.270 10273 22890 22890 F DEBUG   :     r0 c32d1000  r1 c3518000  r2 646e613d  r3 64696f72
07-30 18:16:39.270 10273 22890 22890 F DEBUG   :     r4 c99ff3b0  r5 c99ff39c  r6 c99feb34  r7 c32d1000
07-30 18:16:39.270 10273 22890 22890 F DEBUG   :     r8 c99ff3a0  r9 c863c688  sl c99ff3a8  fp c99ff3b0
07-30 18:16:39.270 10273 22890 22890 F DEBUG   :     ip 00000000  sp c99feb28  lr c4b4cb35  pc ef2a915c  cpsr 600f0030
07-30 18:16:39.272 10273 22890 22890 F DEBUG   : 
07-30 18:16:39.272 10273 22890 22890 F DEBUG   : backtrace:
07-30 18:16:39.272 10273 22890 22890 F DEBUG   :     #00 pc 0001a15c  /system/lib/libc.so (strlen+71)
07-30 18:16:39.272 10273 22890 22890 F DEBUG   :     #01 pc 00042b31  /data/app/com.rasbrits.coinit-l7moOLU1XHqjL1--5C5nbA==/lib/arm/libjsc.so (JSStringCreateWithUTF8CString+22)
07-30 18:16:39.272 10273 22890 22890 F DEBUG   :     #02 pc 000322e3  /data/app/com.rasbrits.coinit-l7moOLU1XHqjL1--5C5nbA==/lib/arm/libreactnativejni_abi28_0_0.so (_ZN8facebook5react11JSCExecutor11adoptStringESt10unique_ptrIKNS0_11JSBigStringESt14default_deleteIS4_EE+42)
07-30 18:16:39.272 10273 22890 22890 F DEBUG   :     #03 pc 0003344b  /data/app/com.rasbrits.coinit-l7moOLU1XHqjL1--5C5nbA==/lib/arm/libreactnativejni_abi28_0_0.so (_ZN8facebook5react11JSCExecutor21loadApplicationScriptESt10unique_ptrIKNS0_11JSBigStringESt14default_deleteIS4_EESs+138)
07-30 18:16:39.272 10273 22890 22890 F DEBUG   :     #04 pc 0003621b  /data/app/com.rasbrits.coinit-l7moOLU1XHqjL1--5C5nbA==/lib/arm/libreactnativejni_abi28_0_0.so
07-30 18:16:39.272 10273 22890 22890 F DEBUG   :     #05 pc 00035ca1  /data/app/com.rasbrits.coinit-l7moOLU1XHqjL1--5C5nbA==/lib/arm/libreactnativejni_abi28_0_0.so
07-30 18:16:39.272 10273 22890 22890 F DEBUG   :     #06 pc 00016641  /data/app/com.rasbrits.coinit-l7moOLU1XHqjL1--5C5nbA==/lib/arm/libreactnativejni_abi28_0_0.so (_ZNKSt8functionIFvvEEclEv+12)
07-30 18:16:39.272 10273 22890 22890 F DEBUG   :     #07 pc 0001e60d  /data/app/com.rasbrits.coinit-l7moOLU1XHqjL1--5C5nbA==/lib/arm/libreactnativejni_abi28_0_0.so
07-30 18:16:39.272 10273 22890 22890 F DEBUG   :     #08 pc 00016641  /data/app/com.rasbrits.coinit-l7moOLU1XHqjL1--5C5nbA==/lib/arm/libreactnativejni_abi28_0_0.so (_ZNKSt8functionIFvvEEclEv+12)
07-30 18:16:39.272 10273 22890 22890 F DEBUG   :     #09 pc 0001844d  /data/app/com.rasbrits.coinit-l7moOLU1XHqjL1--5C5nbA==/lib/arm/libreactnativejni_abi28_0_0.so
07-30 18:16:39.272 10273 22890 22890 F DEBUG   :     #10 pc 0001848b  /data/app/com.rasbrits.coinit-l7moOLU1XHqjL1--5C5nbA==/lib/arm/libreactnativejni_abi28_0_0.so
07-30 18:16:39.272 10273 22890 22890 F DEBUG   :     #11 pc 0027476b  /data/app/com.rasbrits.coinit-l7moOLU1XHqjL1--5C5nbA==/oat/arm/base.odex (offset 0x20a000)
07-30 18:16:42.405 10273 22902 22988 F libc    : Fatal signal 11 (SIGSEGV), code 2, fault addr 0xc3166000 in tid 22988 (mqt_js)

I could put the project on a repo if the section of the logs that I included is not helpful? I can also send the whole log file so just let me know what method would be the most convenient for you :slight_smile:

I think its also worth mentioning that this issue happens very sporadically. Sometimes the app works as perfectly but today it started crashing on splash screen. Not sure if this could be a bug on my side but it is just strange how something like this could randomly start happening on an app that has been built and running on devices for quite some time. (This is my last edit. Promise)

closed #19

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.