react-native-progress: Android crashed on React 0.35

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

About this issue

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

Most upvoted comments

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)

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