question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android crashed on React 0.35

See original GitHub issue

Hi guys, I have a problem with library, it is crashed after few minutes running. This is code that I’m using:

<View style={styles.header}> <Image style={styles.mark} source={require('./res/ic_mark.png')}/> </View> <View style={styles.progressPos}> <Progress.CircleSnail size={160} indeterminate={true} colors={['#F44336', '#2196F3', '#009688']} thickness={5}/> </View>

Thanks and Best Regards!

PS: How can I get the crash log? I’m newbie with ReactNative

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:9
  • Comments:16 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
nico1510commented, Jul 4, 2017

It’s crashing for me too. I can’t even find a relevant Stacktrace of what caused it. The bar works but Pie and Circle don’t so I think it is some sort of GPU problem ? Maybe this helps:

07-03 21:54:18.416  1314  1369 D gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 290816
07-03 21:54:18.420 17908 17908 F libc    : Fatal signal 11 (SIGSEGV), code 2, fault addr 0xe07b3000 in tid 17908 (estapp)
07-03 21:54:18.522  1381  1381 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-03 21:54:18.522  1381  1381 F DEBUG   : Build fingerprint: 'Android/sdk_google_phone_x86_64/generic_x86_64:6.0/MASTER/4088240:userdebug/test-keys'
07-03 21:54:18.522  1381  1381 F DEBUG   : Revision: '0'
07-03 21:54:18.522  1381  1381 F DEBUG   : ABI: 'x86'
07-03 21:54:18.522  1381  1381 F DEBUG   : pid: 17908, tid: 17908, name: estapp  >>> com.testapp <<<
07-03 21:54:18.522  1381  1381 F DEBUG   : signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xe07b3000
07-03 21:54:18.534  1381  1381 F DEBUG   :     eax 00046aa4  ebx ea1caeb4  ecx 0000faa9  edx ca573bfc
07-03 21:54:18.534  1381  1381 F DEBUG   :     esi cc259000  edi e07b3000
07-03 21:54:18.534  1381  1381 F DEBUG   :     xcs 00000023  xds 0000002b  xes 0000002b  xfs 00000007  xss 0000002b
07-03 21:54:18.534  1381  1381 F DEBUG   :     eip ea1c4a38  ebp 003fffc4  esp ffcc7ff4  flags 00210206
07-03 21:54:18.535  1381  1381 F DEBUG   : 
07-03 21:54:18.535  1381  1381 F DEBUG   : backtrace:
07-03 21:54:18.535  1381  1381 F DEBUG   :     #00 pc 00002a38  /system/lib/libOpenglSystemCommon.so (goldfish_dma_write(goldfish_dma_context*, void*, unsigned int)+56)
07-03 21:54:18.535  1381  1381 F DEBUG   :     #01 pc 00003853  /system/lib/libOpenglSystemCommon.so (ExtendedRCEncoderContext::lockAndWriteDma(void*, unsigned int)+67)
07-03 21:54:18.535  1381  1381 F DEBUG   :     #02 pc 00003062  /system/lib/lib_renderControl_enc.so
07-03 21:54:18.535  1381  1381 F DEBUG   :     #03 pc 0000311e  /system/lib/hw/gralloc.ranchu.so
07-03 21:54:18.535  1381  1381 F DEBUG   :     #04 pc 0000a351  /system/lib/libui.so (android::GraphicBufferMapper::unlockAsync(native_handle const*, int*)+113)
07-03 21:54:18.535  1381  1381 F DEBUG   :     #05 pc 000086f1  /system/lib/libui.so (android::GraphicBuffer::unlockAsync(int*)+49)
07-03 21:54:18.535  1381  1381 F DEBUG   :     #06 pc 0006bae6  /system/lib/libgui.so (android::Surface::unlockAndPost()+70)
07-03 21:54:18.535  1381  1381 F DEBUG   :     #07 pc 000b6b00  /system/lib/libandroid_runtime.so
07-03 21:54:18.535  1381  1381 F DEBUG   :     #08 pc 73320746  /data/dalvik-cache/x86/system@framework@boot.oat (offset 0x1eb2000)
07-03 21:54:18.867  1661 18371 W ActivityManager:   Force finishing activity com.testapp/.MainActivity
07-03 21:54:18.867  1381  1381 F DEBUG   : 
07-03 21:54:18.867  1381  1381 F DEBUG   : Tombstone written to: /data/tombstones/tombstone_05
07-03 21:54:18.867  1381  1381 E DEBUG   : AM write failed: Broken pipe
07-03 21:54:18.867  1661  1678 I BootReceiver: Copying /data/tombstones/tombstone_05 to DropBox (SYSTEM_TOMBSTONE)
07-03 21:54:18.879  1314  1346 D gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 1019904
07-03 21:54:18.885  1661 18371 D         : HostConnection::get() New Host Connection established 0x7f07e3cf4740, tid 18371
07-03 21:54:18.886  1661 18371 W         : Unrecognized GLES max version string in extensions: ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 
07-03 21:54:18.887  1314  1314 E EGL_emulation: tid 1314: eglCreateSyncKHR(1881): error 0x3004 (EGL_BAD_ATTRIBUTE)
07-03 21:54:18.909  1661  2087 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
07-03 21:54:18.912  2021  2860 W UdcContextManagerHelper: Empty context buffer. Thus might mean that the context is not synced down.
07-03 21:54:18.912  2021  2860 W GetDeviceDataUploadOptInStatusOp: Empty context model while retrieving upload opt-in status!
07-03 21:54:18.917  1661  2086 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
07-03 21:54:18.920  2021  2860 W UdcContextManagerHelper: Empty context buffer. Thus might mean that the context is not synced down.
07-03 21:54:18.920  2021  2860 W GetDeviceDataUploadOptInStatusOp: Empty context model while retrieving upload opt-in status!
07-03 21:54:18.923  1661  9075 I OpenGLRenderer: Initialized EGL, version 1.4
07-03 21:54:18.936  1661  9075 D EGL_emulation: eglCreateContext: 0x7f07e3a8f3c0: maj 2 min 0 rcv 2
07-03 21:54:18.938  1661  9075 D EGL_emulation: eglMakeCurrent: 0x7f07e3a8f3c0: ver 2 0 (tinfo 0x7f07e3a8e7e0)
07-03 21:54:18.945  1661  9075 D EGL_emulation: eglMakeCurrent: 0x7f07e3a8f3c0: ver 2 0 (tinfo 0x7f07e3a8e7e0)
07-03 21:54:18.970  1661  1695 W InputDispatcher: channel 'f24261d com.testapp/com.testapp.MainActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
07-03 21:54:18.970  1661  1695 E InputDispatcher: channel 'f24261d com.testapp/com.testapp.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
07-03 21:54:18.978  1661  1758 I WindowState: WIN DEATH: Window{f24261d u0 com.testapp/com.testapp.MainActivity}
07-03 21:54:18.978  1661  1758 W InputDispatcher: Attempted to unregister already unregistered input channel 'f24261d com.testapp/com.testapp.MainActivity (server)'
07-03 21:54:18.978  1661  1672 D GraphicsStats: Buffer count: 4
07-03 21:54:18.978  1391  1391 I Zygote  : Process 17908 exited due to signal (11)
1reaction
zongxiaomicommented, Apr 21, 2017

<Progress.Circle indeterminate ={true} size ={30}> crashed in debug mode .I think the key indeterminate is ‘murderer’

Read more comments on GitHub >

github_iconTop Results From Across the Web

app debbug crashing when run-android with no error on some ...
i change react native version to 64.2 and this problem fixed but the new issue is debbuger is soo slow when i press...
Read more >
<Text numberOfLines={1} ellipsizeMode="middle"> crashes ...
, this will throw an error on Android in some situations. I've tracked this to an outstanding (but marked obsolete) issue in Android...
Read more >
Get Started with React Native - Visual Studio App Center
Let's get started with setting up App Center React Native SDK in your app to use App Center Analytics and App Center Crashes....
Read more >
React Native Android Staging Build Crashes On Startup
Javascript answers related to reactnative android suddenly crashes react However the release version of the apk crashes immediately when launched. Reactnative: ...
Read more >
Crashes - Android Developers
There are many situations that can cause a crash in your app. Some reasons are obvious, like checking for a null value or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found