Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes on startup #6942

Open
augustosnk12 opened this issue Dec 2, 2024 · 0 comments
Open

App crashes on startup #6942

augustosnk12 opened this issue Dec 2, 2024 · 0 comments

Comments

@augustosnk12
Copy link

augustosnk12 commented Dec 2, 2024

How frequently does the bug occur?

Always

Description

I have an application made with Expo. Now I wish to use realm. Everything works fine in debug and release apk. In aab bundle the app crashes when I open it. Without the realm all builds work without errors.

I can't provide a reproducible example because it just breaks in aab release version.

"expo": "~49.0.15",
"react-native": "0.72.6",
"@realm/react": "^0.11.0",
"realm": "^12.13.1"

Also tried the most recent version of realm 12.14.0, the same error occurs.

Stacktrace & log output

11-28 10:57:00.049   961  3069 E NativeCustomFrequencyManager: [NativeCFMS] BpCustomFrequencyManager::acquire()
11-28 10:57:02.110   961  3069 E NativeCustomFrequencyManager: [NativeCFMS] BpCustomFrequencyManager::acquire()
11-28 10:57:02.141   912   912 E Sensors : inject_scontext_data: New ssp_data_injection_fd(43)
11-28 10:57:02.207 24013 24013 E .gerencycoletor: Not starting debugger since process cannot load the jdwp agent.
11-28 10:57:02.261  3199  3199 E pageboostd: Received HALT command code 2
11-28 10:57:02.290 24013 24013 E SoLoader: couldn't find DSO to load: libjscexecutor.so
11-28 10:57:02.290 24013 24013 E SoLoader:      SoSource 0: com.facebook.soloader.DirectorySoSource[root = /data/app/~~Zrb-ZInnD2XMg0vfZKGe8w==/com.ongoldtech.gerencycoletor-70roQhhNdInrSx-_doAH1w==/lib/arm64 flags = 0]
11-28 10:57:02.290 24013 24013 E SoLoader:      SoSource 1: com.facebook.soloader.DirectApkSoSource[root = [/data/app/~~Zrb-ZInnD2XMg0vfZKGe8w==/com.ongoldtech.gerencycoletor-70roQhhNdInrSx-_doAH1w==/split_config.arm64_v8a.apk!/lib/arm64-v8a, /data/app/~~Zrb-ZInnD2XMg0vfZKGe8w==/com.ongoldtech.gerencycoletor-70roQhhNdInrSx-_doAH1w==/split_config.es.apk!/lib/arm64-v8a, /data/app/~~Zrb-ZInnD2XMg0vfZKGe8w==/com.ongoldtech.gerencycoletor-70roQhhNdInrSx-_doAH1w==/base.apk!/lib/arm64-v8a, /data/app/~~Zrb-ZInnD2XMg0vfZKGe8w==/com.ongoldtech.gerencycoletor-70roQhhNdInrSx-_doAH1w==/split_config.pt.apk!/lib/arm64-v8a, /data/app/~~Zrb-ZInnD2XMg0vfZKGe8w==/com.ongoldtech.gerencycoletor-70roQhhNdInrSx-_doAH1w==/split_config.xxhdpi.apk!/lib/arm64-v8a]]
11-28 10:57:02.290 24013 24013 E SoLoader:      SoSource 2: com.facebook.soloader.DirectApkSoSource[root = [/data/app/~~Zrb-ZInnD2XMg0vfZKGe8w==/com.ongoldtech.gerencycoletor-70roQhhNdInrSx-_doAH1w==/split_config.xxhdpi.apk!/lib/arm64-v8a]]
11-28 10:57:02.290 24013 24013 E SoLoader:      SoSource 3: com.facebook.soloader.DirectApkSoSource[root = [/data/app/~~Zrb-ZInnD2XMg0vfZKGe8w==/com.ongoldtech.gerencycoletor-70roQhhNdInrSx-_doAH1w==/split_config.pt.apk!/lib/arm64-v8a]]
11-28 10:57:02.290 24013 24013 E SoLoader:      SoSource 4: com.facebook.soloader.DirectApkSoSource[root = [/data/app/~~Zrb-ZInnD2XMg0vfZKGe8w==/com.ongoldtech.gerencycoletor-70roQhhNdInrSx-_doAH1w==/split_config.es.apk!/lib/arm64-v8a]]
11-28 10:57:02.290 24013 24013 E SoLoader:      SoSource 5: com.facebook.soloader.DirectApkSoSource[root = [/data/app/~~Zrb-ZInnD2XMg0vfZKGe8w==/com.ongoldtech.gerencycoletor-70roQhhNdInrSx-_doAH1w==/split_config.arm64_v8a.apk!/lib/arm64-v8a]]
11-28 10:57:02.290 24013 24013 E SoLoader:      SoSource 6: com.facebook.soloader.DirectorySoSource[root = /system/lib64 flags = 2]
11-28 10:57:02.290 24013 24013 E SoLoader:      SoSource 7: com.facebook.soloader.DirectorySoSource[root = /vendor/lib64 flags = 2]
11-28 10:57:02.290 24013 24013 E SoLoader:      Native lib dir: /data/app/~~Zrb-ZInnD2XMg0vfZKGe8w==/com.ongoldtech.gerencycoletor-70roQhhNdInrSx-_doAH1w==/lib/arm64
11-28 10:57:02.290 24013 24013 E SoLoader:  result: 0
11-28 10:57:02.339 24013 24047 E AndroidRuntime: FATAL EXCEPTION: create_react_context
11-28 10:57:02.339 24013 24047 E AndroidRuntime: Process: com.ongoldtech.gerencycoletor, PID: 24013
11-28 10:57:02.339 24013 24047 E AndroidRuntime: java.lang.OutOfMemoryError: std::bad_alloc
11-28 10:57:02.339 24013 24047 E AndroidRuntime:        at com.facebook.react.bridge.CatalystInstanceImpl.jniLoadScriptFromAssets(Native Method)
11-28 10:57:02.339 24013 24047 E AndroidRuntime:        at com.facebook.react.bridge.CatalystInstanceImpl.loadScriptFromAssets(CatalystInstanceImpl.java:239)
11-28 10:57:02.339 24013 24047 E AndroidRuntime:        at com.facebook.react.bridge.JSBundleLoader$1.loadScript(JSBundleLoader.java:29)
11-28 10:57:02.339 24013 24047 E AndroidRuntime:        at com.facebook.react.bridge.CatalystInstanceImpl.runJSBundle(CatalystInstanceImpl.java:268)
11-28 10:57:02.339 24013 24047 E AndroidRuntime:        at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1413)
11-28 10:57:02.339 24013 24047 E AndroidRuntime:        at com.facebook.react.ReactInstanceManager.-$$Nest$mcreateReactContext(Unknown Source:0)
11-28 10:57:02.339 24013 24047 E AndroidRuntime:        at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:1111)
11-28 10:57:02.339 24013 24047 E AndroidRuntime:        at java.lang.Thread.run(Thread.java:1012)
11-28 10:57:02.435  3340 24077 E DropBoxUtil: [AppErrors] null InputStream [CONTEXT service_id=254 ]
11-28 10:57:02.435  3340 24077 E DropBoxUtil: java.io.IOException: null InputStream
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at dpnb.b(:com.google.android.gms@[email protected] (190408-699285886):184)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at dplj.l(:com.google.android.gms@[email protected] (190408-699285886):7)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at dpld.apply(:com.google.android.gms@[email protected] (190408-699285886):39)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at sqs.apply(:com.google.android.gms@[email protected] (190408-699285886):5)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at sre.apply(:com.google.android.gms@[email protected] (190408-699285886):45)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at ende.a(:com.google.android.gms@[email protected] (190408-699285886):3)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at exaf.a(:com.google.android.gms@[email protected] (190408-699285886):13)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feos.d(:com.google.android.gms@[email protected] (190408-699285886):3)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feou.run(:com.google.android.gms@[email protected] (190408-699285886):38)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feqg.execute(:com.google.android.gms@[email protected] (190408-699285886):1)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feoo.h(:com.google.android.gms@[email protected] (190408-699285886):1)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feoo.hH(:com.google.android.gms@[email protected] (190408-699285886):40)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feou.g(:com.google.android.gms@[email protected] (190408-699285886):13)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at encw.a(:com.google.android.gms@[email protected] (190408-699285886):20)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at exae.a(:com.google.android.gms@[email protected] (190408-699285886):13)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feqn.a(:com.google.android.gms@[email protected] (190408-699285886):20)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at fesq.a(:com.google.android.gms@[email protected] (190408-699285886):3)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at ferr.run(:com.google.android.gms@[email protected] (190408-699285886):19)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at fess.run(:com.google.android.gms@[email protected] (190408-699285886):5)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feqp.run(:com.google.android.gms@[email protected] (190408-699285886):53)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feqg.execute(:com.google.android.gms@[email protected] (190408-699285886):1)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feqp.execute(:com.google.android.gms@[email protected] (190408-699285886):76)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feoo.h(:com.google.android.gms@[email protected] (190408-699285886):1)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feoo.hH(:com.google.android.gms@[email protected] (190408-699285886):40)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feqr.b(:com.google.android.gms@[email protected] (190408-699285886):33)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at enda.i(:com.google.android.gms@[email protected] (190408-699285886):18)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at endi.a(:com.google.android.gms@[email protected] (190408-699285886):10)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at exaf.a(:com.google.android.gms@[email protected] (190408-699285886):13)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feos.d(:com.google.android.gms@[email protected] (190408-699285886):3)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feou.run(:com.google.android.gms@[email protected] (190408-699285886):38)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feqg.execute(:com.google.android.gms@[email protected] (190408-699285886):1)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feoo.h(:com.google.android.gms@[email protected] (190408-699285886):1)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feoo.hH(:com.google.android.gms@[email protected] (190408-699285886):40)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feou.g(:com.google.android.gms@[email protected] (190408-699285886):13)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at endg.a(:com.google.android.gms@[email protected] (190408-699285886):20)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at exae.a(:com.google.android.gms@[email protected] (190408-699285886):13)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feqn.a(:com.google.android.gms@[email protected] (190408-699285886):20)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at fesq.a(:com.google.android.gms@[email protected] (190408-699285886):3)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at ferr.run(:com.google.android.gms@[email protected] (190408-699285886):19)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at fess.run(:com.google.android.gms@[email protected] (190408-699285886):5)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feqp.run(:com.google.android.gms@[email protected] (190408-699285886):53)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feqg.execute(:com.google.android.gms@[email protected] (190408-699285886):1)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feqp.execute(:com.google.android.gms@[email protected] (190408-699285886):76)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feoo.h(:com.google.android.gms@[email protected] (190408-699285886):1)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feoo.hH(:com.google.android.gms@[email protected] (190408-699285886):40)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at feqr.b(:com.google.android.gms@[email protected] (190408-699285886):33)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at endo.c(:com.google.android.gms@[email protected] (190408-699285886):56)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at endo.b(:com.google.android.gms@[email protected] (190408-699285886):10)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at com.google.android.gms.stats.service.DropBoxEntryAddedChimeraService.a(:com.google.android.gms@[email protected] (190408-699285886):377)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at com.google.android.gms.framework.tracing.wrapper.TracingIntentService.onHandleIntent(:com.google.android.gms@[email protected] (190408-699285886):13)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at ois.handleMessage(:com.google.android.gms@[email protected] (190408-699285886):7)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at android.os.Handler.dispatchMessage(Handler.java:106)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at android.os.Looper.loopOnce(Looper.java:226)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at android.os.Looper.loop(Looper.java:313)
11-28 10:57:02.435  3340 24077 E DropBoxUtil:   at android.os.HandlerThread.run(HandlerThread.java:67)
11-28 10:57:02.437  3340 24077 E DropBoxUtil: [AppDoctor] null InputStream [CONTEXT service_id=254 ]
11-28 10:57:02.437  3340 24077 E DropBoxUtil: java.io.IOException: null InputStream
11-28 10:57:02.437  3340 24077 E DropBoxUtil:   at dpnb.b(:com.google.android.gms@[email protected] (190408-699285886):184)
11-28 10:57:02.437  3340 24077 E DropBoxUtil:   at dplj.l(:com.google.android.gms@[email protected] (190408-699285886):7)
11-28 10:57:02.437  3340 24077 E DropBoxUtil:   at dplb.apply(:com.google.android.gms@[email protected] (190408-699285886):37)
11-28 10:57:02.437  3340 24077 E DropBoxUtil:   at com.google.android.gms.stats.service.DropBoxEntryAddedChimeraService.a(:com.google.android.gms@[email protected] (190408-699285886):477)
11-28 10:57:02.437  3340 24077 E DropBoxUtil:   at com.google.android.gms.framework.tracing.wrapper.TracingIntentService.onHandleIntent(:com.google.android.gms@[email protected] (190408-699285886):13)
11-28 10:57:02.437  3340 24077 E DropBoxUtil:   at ois.handleMessage(:com.google.android.gms@[email protected] (190408-699285886):7)
11-28 10:57:02.437  3340 24077 E DropBoxUtil:   at android.os.Handler.dispatchMessage(Handler.java:106)
11-28 10:57:02.437  3340 24077 E DropBoxUtil:   at android.os.Looper.loopOnce(Looper.java:226)
11-28 10:57:02.437  3340 24077 E DropBoxUtil:   at android.os.Looper.loop(Looper.java:313)
11-28 10:57:02.437  3340 24077 E DropBoxUtil:   at android.os.HandlerThread.run(HandlerThread.java:67)
11-28 10:57:03.171   912   912 E Sensors : inject_scontext_data: New ssp_data_injection_fd(43)


### Can you reproduce the bug?

Always

### Reproduction Steps

_No response_

### Version

12.13.0

### What services are you using?

Local Database only

### Are you using encryption?

No

### Platform OS and version(s)

react-native: 0.72.6

### Build environment

Which debugger for React Native: ..


### Cocoapods version

_No response_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant