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.

APP crash when system try to memcpy or when i kill my app

See original GitHub issue

Goals

Sometimes the app crash. when the apk is killed on when a memcpy is araised by tem system.

Expected Results

Memory errors shouldn’t appear on my play store log.

Actual Results

> Motorola Moto Z (2) Play (albus), Android 8.0
> Relatório 1 de 1
> *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
> pid: 0, tid: 0 >>> br.com.appgeolife <<<
> 
> backtrace:
>   #00  pc 000000000004aab0  /system/lib/libc.so (tgkill+12)
>   #01  pc 000000000001a443  /system/lib/libc.so (abort+54)
>   #02  pc 00000000004ea773  /data/app/myapp-0EepNZz4KkzNCMunb_VeVA==/lib/arm/librealmreact.so
>   #03  pc 00000000004ea7b7  /data/app/myapp-0EepNZz4KkzNCMunb_VeVA==/lib/arm/librealmreact.so
>   #04  pc 00000000004ea85b  /data/app/myapp-0EepNZz4KkzNCMunb_VeVA==/lib/arm/librealmreact.so
>   #05  pc 00000000004264a7  /data/app/myapp-0EepNZz4KkzNCMunb_VeVA==/lib/arm/librealmreact.so
>   #06  pc 00000000000e0c1c  /data/app/myapp-0EepNZz4KkzNCMunb_VeVA==/lib/arm/librealmreact.so
>   #07  pc 000000000042908f  /data/app/myapp-0EepNZz4KkzNCMunb_VeVA==/lib/arm/librealmreact.so
>   #08  pc 00000000004292d9  /data/app/myapp-0EepNZz4KkzNCMunb_VeVA==/lib/arm/librealmreact.so
>   #09  pc 00000000000e1354  /data/app/myapp-0EepNZz4KkzNCMunb_VeVA==/lib/arm/librealmreact.so
>   #10  pc 00000000001dab18  /data/app/myapp-0EepNZz4KkzNCMunb_VeVA==/lib/arm/librealmreact.so
>   #11  pc 00000000001d9d00  /data/app/myapp-0EepNZz4KkzNCMunb_VeVA==/lib/arm/librealmreact.so
>   #12  pc 00000000001d8738  /data/app/myapp-0EepNZz4KkzNCMunb_VeVA==/lib/arm/librealmreact.so
>   #13  pc 00000000004862a5  /data/app/myapp-0EepNZz4KkzNCMunb_VeVA==/lib/arm/librealmreact.so
>   #14  pc 00000000001d88d0  /data/app/myapp-0EepNZz4KkzNCMunb_VeVA==/lib/arm/librealmreact.so
>   #15  pc 00000000004f4135  /data/app/myapp-0EepNZz4KkzNCMunb_VeVA==/lib/arm/librealmreact.so
>   #16  pc 00000000004d6043  /data/app/myapp-0EepNZz4KkzNCMunb_VeVA==/lib/arm/librealmreact.so
>   #17  pc 00000000004d6153  /data/app/myapp-0EepNZz4KkzNCMunb_VeVA==/lib/arm/librealmreact.so
>   #18  pc 00000000000e2ea0  /data/app/myapp-0EepNZz4KkzNCMunb_VeVA==/lib/arm/librealmreact.so
>   #19  pc 0000000000140594  /data/app/myapp-0EepNZz4KkzNCMunb_VeVA==/lib/arm/librealmreact.so
>   #20  pc 00000000001434b0  /data/app/myapp-0EepNZz4KkzNCMunb_VeVA==/lib/arm/librealmreact.so
>   #21  pc 00000000000638c7  /data/app/myapp-0EepNZz4KkzNCMunb_VeVA==/lib/arm/libjsc.so (_ZN3JSC19APICallbackFunction4callINS_18JSCallbackFunctionEEExPNS_9ExecStateE+222)
>   #22  pc 0000000000000021  <anonymous>

Steps to Reproduce

Use Realm and react-native 0.58 > install the armeabi-v7a arch apk

Version of Realm and Tooling

  • Realm JS SDK Version: 2.26.0
  • Node or React Native: React native
  • Client OS & Version: Android 8.0
  • Which debugger for React Native: play store log

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jramalhocommented, Apr 16, 2019

We find the problem. A background fetch call was being called two times, and excluding objects that already was excluded from the realm.

1reaction
jramalhocommented, Apr 15, 2019

I was wrong… its not it.

Actually, it is a bug on react-native-maps. The memory consumption and don’t even give me a log. But thanks. Closing the issue. Thanks for your time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Crash while using memcpy? - Stack Overflow
I am trying to copy file from one location to other location using memcpy. And I am getting a crash every time when...
Read more >
Why do my apps keep crashing on Android, How to fix it
To do this, go to Settings -> Apps and select the app that keeps crashing. Tap on the app's name and then tap...
Read more >
Xcode Sanitizers and Runtime Issues | Apple Developer Forums
Apparently, the app is crashing when trying to get the indexPath.section value. ... only a memory limit of 50 MB, Operating System is...
Read more >
Crash on Android startup cannot locate symbol ...
Hi! I have the following problem: When I run a game packaged (development) on Android I have a crash on very start with...
Read more >
Diagnosing Native Crashes | Android Open Source Project
There may be an explicit "abort message" line. You should also look in the logcat output to see what this thread logged before...
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