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

[0.76] Android old-architecture crash when app started via headlessJS init pathway - was: Some Android Devices Crash After Upgrade to 0.76.1 #47592

Closed
nes123 opened this issue Nov 13, 2024 · 40 comments
Assignees
Labels
0.76 Issue: Author Provided Repro This issue can be reproduced in Snack or an attached project. Platform: Android Android applications. Resolution: PR Submitted A pull request with a fix has been provided. Type: Old Architecture For issues related to the old architecture

Comments

@nes123
Copy link

nes123 commented Nov 13, 2024

Description

After upgrading from react-native 0.73 to 0.76.1 few android apps in production crash on start.

any help will be much appreciated

Steps to reproduce

Reproducer is here: https://github.com/mikehardy/old-arch-android-receiver-boot-crash

React Native Version

0.76.1

Affected Platforms

Runtime - Android

Output of npx react-native info

System:
  OS: macOS 15.0.1
  CPU: (12) x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
  Memory: 283.44 MB / 32.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.18.2
    path: ~/.nvm/versions/node/v18.18.2/bin/node
  Yarn:
    version: 1.22.4
    path: /usr/local/bin/yarn
  npm:
    version: 8.8.0
    path: ~/workspace/argi/node_modules/.bin/npm
  Watchman:
    version: 2023.10.30.00
    path: /usr/local/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /usr/local/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.0
      - iOS 18.0
      - macOS 15.0
      - tvOS 18.0
      - visionOS 2.0
      - watchOS 11.0
  Android SDK: Not Found
IDEs:
  Android Studio: 2024.2 AI-242.23339.11.2421.12483815
  Xcode:
    version: 16.0/16A242d
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.1
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 15.0.0
    wanted: ^15.0.0
  react:
    installed: 18.3.1
    wanted: ^18.3.1
  react-native:
    installed: 0.76.1
    wanted: ^0.76.1
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: Not found
  newArchEnabled: Not found
iOS:
  hermesEnabled: Not found
  newArchEnabled: false

Stacktrace or Logs

0  libc.so +0x59b38                                       abort
1  libc++_shared.so +0x9dd80                              0x7b4d2e5d84
2  libc++_shared.so +0x9ca40                              0x7b4d2e4a44
3  libc++_shared.so +0x9ced0                              0x7b4d2e4ed4
4  split_config.arm64_v8a.apk!libc++_shared.so +0x9ce70   std::terminate()
5  libreactnative.so +0x345620                            0x7b4a9f2624
6  libreactnative.so +0x540404                            0x7b4abed408
7  split_config.arm64_v8a.apk!libreactnative.so +0x39af80 facebook::react::JsErrorHandler::handleFatalError(facebook::jsi::Runtime&, facebook::jsi::JSError&)
8  libreactnative.so +0x350110                            0x7b4a9fd114
9  libhermes.so +0xbb7ec                                  0x7b46db67f0
10 libhermes.so +0xbb44c                                  0x7b46db6450
11 libhermes.so +0xc2524                                  0x7b46dbd528
12 libhermes.so +0xd2870                                  0x7b46dcd874
13 libhermes.so +0xd4220                                  0x7b46dcf224
14 libhermes.so +0xd38dc                                  0x7b46dce8e0
15 libhermes.so +0x106cb0                                 0x7b46e01cb4
16 libhermes.so +0xae920                                  0x7b46da9924
17 split_config.arm64_v8a.apk!libhermes.so +0xae7a8       facebook::hermes::HermesRuntime::evaluateJavaScriptWithSourceMap(std::__ndk1::shared_ptr<facebook::jsi::Buffer const> const&, std::__ndk1::shared_ptr<facebook::jsi::Buffer const> const&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&)
18 libhermes.so +0xaf7c4                                  0x7b46daa7c8
19 libreactnative.so +0x34c220                            0x7b4a9f9224
20 libreactnative.so +0x4dc134                            0x7b4ab89138
21 libreactnative.so +0x349e24                            0x7b4a9f6e28
22 libreactnative.so +0x51b7b0                            0x7b4abc87b4
23 split_config.arm64_v8a.apk!libfbjni.so +0x19800        facebook::jni::detail::MethodWrapper<void (facebook::jni::JNativeRunnable::*)(), &facebook::jni::JNativeRunnable::run, facebook::jni::JNativeRunnable, void>::dispatch(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>)
24 split_config.arm64_v8a.apk!libfbjni.so +0x19740        facebook::jni::detail::FunctionWrapper<void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>), facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*, void>::call(_JNIEnv*, _jobject*, void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>))
25 boot.oat +0x3343bc                                     art_jni_trampoline

Reproducer

N/A

Screenshots and Videos

No response

@react-native-bot react-native-bot added Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Platform: Android Android applications. labels Nov 13, 2024
@react-native-bot
Copy link
Collaborator

Warning

Missing reproducer: We could not detect a reproducible example in your issue report. Please provide either:

@nes123 nes123 changed the title SIGABRT /apex/com.android.runtime/lib64/bionic/libc.so:367416 Some Android Devices Crash After Upgrade to 0.76.1 Nov 13, 2024
@migueldaipre
Copy link
Collaborator

Hey @nes123,

Without a minimum reproducer, we can't help you in the best way. This may be related to your dependencies, if it is possible to reproduce the error only with React Native core it would help.

You can use our Reproducer Template to investigate further

@nes123
Copy link
Author

nes123 commented Nov 13, 2024

Thank you for your reply @migueldaipre unfortunately i didnt manage to reproduce this crash. It is happening in 1/20 cases in production without any noticeable pattern. Any help will be very much appreciated.

@github-actions github-actions bot added Needs: Attention Issues where the author has responded to feedback. and removed Needs: Author Feedback labels Nov 13, 2024
@nes123
Copy link
Author

nes123 commented Nov 14, 2024

Some more info:

It happens when opening firebase notification when the app is killed..crashes on start.

The stack includes this error in addition to what I provided above:

Crashes with EarlyJsError: TurboModuleRegistry.getEnforcing(...): 'PlatformConstants' could not be found. Verify that a module by this name is registered in the native binary.

Only checked with new architecture disabled.

@oraylan
Copy link

oraylan commented Nov 15, 2024

I'm also having the same issues with RN 0.76.1 in production.

@mikehardy
Copy link
Contributor

mikehardy commented Nov 16, 2024

Hey @migueldaipre 👋

I'm the react-native-firebase maintainer and I'm working on reproducing this, and I'm able to (on 0.76.2 even)

I have information here invertase/react-native-firebase#8131

The problem is that it requires doing something/anything that boots the app externally via a receiver (I think?) while new arch is disabled, and the best way I know to do that is by sending an FCM to the device. Unfortunately that requires having a firebase project setup and everything - it's pretty difficult to share a reproduction like that. I'll see if I can get a more minimal reproduction but until then if there is anything I can do to troubleshoot, please let me know

Until then, full methodology to reproduce is in this comment, along with error seen:

invertase/react-native-firebase#8131 (comment)

mikehardy added a commit to mikehardy/old-arch-android-receiver-boot-crash that referenced this issue Nov 17, 2024
- add native android receiver you can trigger with an easy intent
- add native android headlessJS service that receiver starts
- document how to trigger the error

Related:
facebook/react-native#47592
@mikehardy
Copy link
Contributor

mikehardy commented Nov 17, 2024

Okay, got a reproducer up that's pretty minimal, with instructions in the README on exactly how to trigger

I think it's something about the module loading implemented in 0.76.x - it looks to me like the soloader isn't seeing the new combined modules or something, in the old-architecture pathway. Just a hunch based on adb logcat

https://github.com/mikehardy/old-arch-android-receiver-boot-crash

Apart from the documentation the reproducer is a +49/-1 diff, with no non-stock dependencies at all from the template so it's pretty minimal, hopefully easy to understand

@migueldaipre
Copy link
Collaborator

Hey @mikehardy 👋

Thank you for all your effort and time to build a minimal reproducer without any external dependencies.

I'll add the necessary tags for an investigation soon by the core team.

@migueldaipre migueldaipre added Issue: Author Provided Repro This issue can be reproduced in Snack or an attached project. Type: Old Architecture For issues related to the old architecture 0.76 and removed Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. labels Nov 18, 2024
@cipolleschi
Copy link
Contributor

cipolleschi commented Nov 18, 2024

@mikehardy Thanks for working on the reproducer.
Do I understand correctly that the crash does not reproduce in the New Architecture, but only in the Old Architecture?

Also, when a notification is received, what's the initialization path followed by an app with Firebase in the old architecture? Could you guide me through it?

@mikehardy
Copy link
Contributor

Hey @cipolleschi - first, thanks for any attention here, it's appreciated. As motivation there have been several headlessJS issues with new architecture as well as some other things and I know those are being worked out, but people are still using old arch even on 0.76+ and react-native-firebase has to use headlessJS for background messaging to device, so this affects a lot of people. Otherwise just go to new arch right? But this will be with us for a while.

Anyway to your questions -

1- old-arch only correct: this does not reproduce in new architecture. I only reproduce this in old architecture
2- I did my very best to have the exact same native android pathway in the reproducer as firebase follows. I'll step through it here:

The initial app wakeup:

  • Play Services / Firebase Messaging send an Intent to an app when a Firebase Cloud Message lands on the device
  • firebase-android-sdk + react-native-firebase define receivers for those intents and they are called

The handoff from android native receiver to android native headlessJS service:

  • The react-native-firebase receiver does a little inspection and if it's the right kind of message and priority is 'high' such that it is allowed by system to start a service from background, it creates an internal Intent and starts a native Android headlessJS service with the message data
  • react-native will initialize now and the headlessJS task registered in AppRegistry will be called with the data from the native service

Sending FCM in a reproducer is a HUGE pain because of all the external setup required - create firebase project (credentials, ugh), connect them (json init files, play services stuff, ugh) - it works now but you can't share it because credentials (ugh)

So I have essentially mocked all the FCM stuff out and just have the purest expression of the bug:

1- define a receiver that you can trigger with a repro-specific example intent
2- define a service that does nothing but implement barest minimum headlessJS for the receiver to call
3- register a javascript headlessJS function in AppRegistry that just logs that it was called

So now you can just use adb to send a simple intent instead of all the Firebase Messaging setup.

The only repro restriction between my repro and the react-native-firebase call chain is that since we are not sending 'high-priority' FCM, the system will impose background service start restrictions in higher APIs causing the reproducer to fail for unrelated reason ( IllegalStateException or BackgroundServiceStartNotAllowedException depending on API )

To keep the reproducer simple, it's easier to just run it in lower APIs. API24 / Android 7 works well

Does that explain everything? Hope so 🤞

@mikehardy
Copy link
Contributor

BTW - the title of this issue should be, I think:
"Android old-architecture crash when app started via headlessJS init pathway" or something similar

And I do have a strong hunch that it is something about the soloader / appmodules change that combined native modules between 0.75 and 0.76.

Supporting information for that hypothesis:

  • the final crash message is not finding the PlatformConstants module
  • before the crash there is lots of this from the soloader:
11-17 17:03:14.499  4376  4376 W SoLoader: Running a recovery step for libappmodules.so due to com.facebook.soloader.SoLoaderDSONotFoundError: couldn't find DSO to load: libappmodules.so
11-17 17:03:14.499  4376  4376 W SoLoader:  existing SO sources: 
11-17 17:03:14.499  4376  4376 W SoLoader:   SoSource 0: ApplicationSoSource[DirectorySoSource[root = /data/app/com.reproducerapp-1/lib/arm64 flags = 0]]
11-17 17:03:14.499  4376  4376 W SoLoader:   SoSource 1: DirectApkSoSource[root = [/data/app/com.reproducerapp-1/base.apk!/lib/arm64-v8a]]
11-17 17:03:14.499  4376  4376 W SoLoader:   SoSource 2: DirectorySoSource[root = /system/lib64 flags = 3]
11-17 17:03:14.499  4376  4376 W SoLoader:   SoSource 3: DirectorySoSource[root = /system/vendor/lib64 flags = 3]
11-17 17:03:14.499  4376  4376 W SoLoader:  Native lib dir: /data/app/com.reproducerapp-1/lib/arm64

and after a few tries it ends with:

11-17 17:03:14.499 4376 4376 W SoLoader: Failed to recover

That seems important

@mikehardy
Copy link
Contributor

mikehardy commented Nov 18, 2024

Also for what it's worth, I can see libappmodules.so in the correct spot for my emulator arch in the local APK I reproduced the problem with.

image

(which makes sense, the app works in foreground or when following "regular" / non-headlessJS init pathway)

@noamyagil
Copy link

I am wondering if there some kind of workaround for this?
Did all the steps for upgrading to 0.76 and this thing blocks us

@mikehardy
Copy link
Contributor

mikehardy commented Nov 28, 2024

@noamyagil no known workaround, no known PR. Someone affected+motivated is going to need to follow the steps to build react-native locally and instrument the area around soloader during reproduction locally to catch it in action and figure out the "why" then post a PR I believe. I'm focused on getting things working in new architecture personally so I won't be advancing anything here myself though obviously anyone is more than welcome to use my reproducer to trigger it, would be wonderful if that was useful+helped

@christocracy
Copy link

@mikehardy I may be out to lunch but I seem to have my headless stuff (background-geolocation, background-fetch) working with both new and old arch on 76.3.

Is this a flakey phenomenon that periodically happens on some devices?

@mikehardy
Copy link
Contributor

I could trigger the old arch crash every time from cold start in background after a kill then a service wake. New arch seems good with some library issues (maybe react-native-push-notifications? Maybe reanimated?) but it seems good in the libraries I've tested

@oraylan
Copy link

oraylan commented Nov 29, 2024

@mikehardy Just to better understand that maybe I missed something. Does this error problem only occur when using the old architecture in version RN76? If you use the new architecture, does everything work fine?

@christocracy
Copy link

Does this error problem only occur when using the old architecture in version RN76

I believe that’s what @mikehardy said, yes.

@cipolleschi
Copy link
Contributor

@cortinico could this be related to the headless JS issue, even if it is on the old architecture?

@cortinico
Copy link
Contributor

I'm not sure what could be the reason, but I want to look more closely into this one in the next days.

Thank you very much @mikehardy for the repro and the enormous amount of work you already did in this investigation. This is really priceless!

Let's find the root cause and get it sorted out

@cortinico cortinico changed the title Some Android Devices Crash After Upgrade to 0.76.1 [0.76] Android old-architecture crash when app started via headlessJS init pathway - was: Some Android Devices Crash After Upgrade to 0.76.1 Dec 4, 2024
@cortinico cortinico removed the Needs: Attention Issues where the author has responded to feedback. label Dec 4, 2024
@cortinico
Copy link
Contributor

I have the suspect it has to do with the fact that SoLoader.init is not called properly when the app is loaded from the Broadcast Receiver.

@mikehardy could you try to edit those lines:
https://github.com/mikehardy/old-arch-android-receiver-boot-crash/blob/0c3a0159229a075592ec1e7be451ec9b7e8bb12c/ReproducerApp/android/app/src/main/java/com/reproducerapp/MainApplication.kt#L56-L57

as such:

class ExampleReceiver : BroadcastReceiver() {
    override fun onReceive(context: Context, intent: Intent?) {
+   	SoLoader.init(this, OpenSourceMergedSoMapping)
        Log.d("REPRODUCER", "we received an intent. Starting ExampleService...");

and let me know if it fixes. I'll investigate further tomorrow.

@mikehardy
Copy link
Contributor

@cortinico unfortunately no, adding that (but with context instead of this, because this is not in scope there...) did not produce a change in behavior, it did produce this new line though:

12-04 15:43:44.303 4483 4483 W SoLoader: SoLoader already initialized

@mikehardy
Copy link
Contributor

Thank you very much @mikehardy for the repro and the enormous amount of work you already did in this investigation. This is really priceless!

Background messaging is critical to react-native-firebase and notifee, this is some vital functionality for us 😅 . Wish I could just up a PR but I don't know the area well. So posting up reproducers it is...

cortinico added a commit to cortinico/react-native that referenced this issue Dec 5, 2024
Summary:
Fixes facebook#47592

The logic in HeadlessJsTaskService is broken. We should not check whether `getReactContext` is null or not.
Instead we should use the `enableBridgelessArchitecture` feature flag to understand if New Architecture was enabled or not.

The problem we were having is that `HeadlessJsTaskService` was attempting to load the New Architecture even if the user would have it turned off. The Service would then die attempting to load `libappmodules.so` which was correctly missing.

Changelog:
[Android] [Fixed] - Fix crash on HeadlessJsTaskService on old architecture

Differential Revision: D66826271
@migueldaipre migueldaipre added the Resolution: PR Submitted A pull request with a fix has been provided. label Dec 5, 2024
@cortinico
Copy link
Contributor

This should be the fix:

@mikehardy if you wish you can try it in your reproducer, but you'll have to build from source.

The problem was that there was a bug inside the HeadlessJsTaskService, which resulted in us attempting to load the Bridgeless infrastructure even if you are in old arch.

Also the APK is NOT containing the libappmodules.so and that is correct (because is on old arch).

@cortinico cortinico self-assigned this Dec 5, 2024
cortinico added a commit to cortinico/react-native that referenced this issue Dec 5, 2024
Summary:

Fixes facebook#47592

The logic in HeadlessJsTaskService is broken. We should not check whether `getReactContext` is null or not.
Instead we should use the `enableBridgelessArchitecture` feature flag to understand if New Architecture was enabled or not.

The problem we were having is that `HeadlessJsTaskService` was attempting to load the New Architecture even if the user would have it turned off. The Service would then die attempting to load `libappmodules.so` which was correctly missing.

Changelog:
[Android] [Fixed] - Fix crash on HeadlessJsTaskService on old architecture

Reviewed By: javache

Differential Revision: D66826271
@mikehardy
Copy link
Contributor

built from source, needed a tiny tweak to work for me (I suggested same on linked PR) but it looks like you nailed the root cause, @cortinico 🐐 😄

@cortinico
Copy link
Contributor

BTW @mikehardy I want to call out how important was for you to provide a reproducer and even going the extra mile by providing an initial investigation! If we were able to identify the problem and fix it so quickly was exclusively thanks to you.

It looks like I fixed the bug, but most of the work was done by you and I just wanted to call it out.

blakef pushed a commit that referenced this issue Dec 9, 2024
Summary:
Pull Request resolved: #48124

Fixes #47592

The logic in HeadlessJsTaskService is broken. We should not check whether `getReactContext` is null or not.
Instead we should use the `enableBridgelessArchitecture` feature flag to understand if New Architecture was enabled or not.

The problem we were having is that `HeadlessJsTaskService` was attempting to load the New Architecture even if the user would have it turned off. The Service would then die attempting to load `libappmodules.so` which was correctly missing.

Changelog:
[Android] [Fixed] - Fix crash on HeadlessJsTaskService on old architecture

Reviewed By: javache

Differential Revision: D66826271

fbshipit-source-id: 2b8418e0b01b65014cdbfd0ec2f843420a15f9db
blakef pushed a commit that referenced this issue Dec 9, 2024
Summary:
Pull Request resolved: #48124

Fixes #47592

The logic in HeadlessJsTaskService is broken. We should not check whether `getReactContext` is null or not.
Instead we should use the `enableBridgelessArchitecture` feature flag to understand if New Architecture was enabled or not.

The problem we were having is that `HeadlessJsTaskService` was attempting to load the New Architecture even if the user would have it turned off. The Service would then die attempting to load `libappmodules.so` which was correctly missing.

Changelog:
[Android] [Fixed] - Fix crash on HeadlessJsTaskService on old architecture

Reviewed By: javache

Differential Revision: D66826271

fbshipit-source-id: 2b8418e0b01b65014cdbfd0ec2f843420a15f9db
@LukasMod
Copy link

Thank you guys 🚀 Upgraded from 0.76.3 to 0.76.5 and reduced this specific crash issue from over 100k from single day to 0 events (so far tested on 20% of users but already rolling to 100%)

@noamyagil
Copy link

Great I will update too

@cortinico
Copy link
Contributor

@LukasMod that's amazing! Thanks for the update <3

@gavrichards
Copy link

I'm experiencing a crash on startup of my app, and I think it's this same issue as it's only come about since upgrading to RN 0.76, old architecture.
However upgrading to 0.76.5 hasn't fixed it, so I'm a bit stumped.

Can anyone confirm if it's the same issue from this log?

2024-12-13 10:51:49.481 32312-32312 libc                    com.aiir.aiirmobile                  A  /__w/react-native/react-native/packages/react-native/ReactCommon/jsinspector-modern/HostTarget.cpp:184: InstanceTarget &facebook::react::jsinspector_modern::HostTarget::registerInstance(InstanceTargetDelegate &): assertion "!currentInstance_ && "Only one instance allowed"" failed
2024-12-13 10:51:49.481 32312-32312 libc                    com.aiir.aiirmobile                  A  Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 32312 (aiir.aiirmobile), pid 32312 (aiir.aiirmobile)
2024-12-13 10:51:49.485  1483-1599  WindowManager           system_server                        E  win=Window{8a67d8e u0 com.aiir.aiirmobile/com.aiir.aiirmobile.MainActivity EXITING} destroySurfaces: appStopped=false cleanupOnResume=false win.mWindowRemovalAllowed=true win.mRemoveOnExit=true win.mViewVisibility=0 caller=com.android.server.wm.WindowState.onExitAnimationDone:6000 com.android.server.wm.WindowStateAnimator.onAnimationFinished:225 com.android.server.wm.WindowState.onAnimationFinished:6225 com.android.server.wm.WindowContainer$$ExternalSyntheticLambda4.onAnimationFinished:2 com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$0:140 com.android.server.wm.SurfaceAnimator.$r8$lambda$lRxTVOJy8fX752UbrFno9INW9hE:0 com.android.server.wm.SurfaceAnimator$$ExternalSyntheticLambda1.run:8 
2024-12-13 10:51:50.032 30586-30854 f                       com.samsung.android.scs              E  Package not found in BF and Manifest :-com.aiir.aiirmobile
2024-12-13 10:51:50.066 32603-32603 DEBUG                   crash_dump64                         A  Cmdline: com.aiir.aiirmobile
2024-12-13 10:51:50.066 32603-32603 DEBUG                   crash_dump64                         A  pid: 32312, tid: 32312, name: aiir.aiirmobile  >>> com.aiir.aiirmobile <<<
2024-12-13 10:51:50.066 32603-32603 DEBUG                   crash_dump64                         A        #02 pc 0000000000c70010  /data/app/~~9jvswAEIxkHuSlCKTpFsBA==/com.aiir.aiirmobile-7WjHZsWmRnXmpj8YhzYG1g==/base.apk!libreactnative.so (facebook::react::jsinspector_modern::HostTarget::registerInstance(facebook::react::jsinspector_modern::InstanceTargetDelegate&)+116) (BuildId: 91d42e503f48747e)
2024-12-13 10:51:50.066 32603-32603 DEBUG                   crash_dump64                         A        #03 pc 0000000000dea10c  /data/app/~~9jvswAEIxkHuSlCKTpFsBA==/com.aiir.aiirmobile-7WjHZsWmRnXmpj8YhzYG1g==/base.apk!libreactnative.so (BuildId: 91d42e503f48747e)
2024-12-13 10:51:50.066 32603-32603 DEBUG                   crash_dump64                         A        #04 pc 0000000000dea0bc  /data/app/~~9jvswAEIxkHuSlCKTpFsBA==/com.aiir.aiirmobile-7WjHZsWmRnXmpj8YhzYG1g==/base.apk!libreactnative.so (BuildId: 91d42e503f48747e)
2024-12-13 10:51:50.066 32603-32603 DEBUG                   crash_dump64                         A        #05 pc 0000000000dea06c  /data/app/~~9jvswAEIxkHuSlCKTpFsBA==/com.aiir.aiirmobile-7WjHZsWmRnXmpj8YhzYG1g==/base.apk!libreactnative.so (BuildId: 91d42e503f48747e)
2024-12-13 10:51:50.066 32603-32603 DEBUG                   crash_dump64                         A        #06 pc 0000000000dea040  /data/app/~~9jvswAEIxkHuSlCKTpFsBA==/com.aiir.aiirmobile-7WjHZsWmRnXmpj8YhzYG1g==/base.apk!libreactnative.so (BuildId: 91d42e503f48747e)
2024-12-13 10:51:50.066 32603-32603 DEBUG                   crash_dump64                         A        #07 pc 0000000000de9230  /data/app/~~9jvswAEIxkHuSlCKTpFsBA==/com.aiir.aiirmobile-7WjHZsWmRnXmpj8YhzYG1g==/base.apk!libreactnative.so (BuildId: 91d42e503f48747e)
2024-12-13 10:51:50.066 32603-32603 DEBUG                   crash_dump64                         A        #08 pc 0000000000afb7dc  /data/app/~~9jvswAEIxkHuSlCKTpFsBA==/com.aiir.aiirmobile-7WjHZsWmRnXmpj8YhzYG1g==/base.apk!libreactnative.so (BuildId: 91d42e503f48747e)
2024-12-13 10:51:50.066 32603-32603 DEBUG                   crash_dump64                         A        #09 pc 0000000000afb738  /data/app/~~9jvswAEIxkHuSlCKTpFsBA==/com.aiir.aiirmobile-7WjHZsWmRnXmpj8YhzYG1g==/base.apk!libreactnative.so (std::__ndk1::function<void (facebook::react::jsinspector_modern::HostTarget&)>::operator()(facebook::react::jsinspector_modern::HostTarget&) const+28) (BuildId: 91d42e503f48747e)
2024-12-13 10:51:50.066 32603-32603 DEBUG                   crash_dump64                         A        #10 pc 0000000000afb584  /data/app/~~9jvswAEIxkHuSlCKTpFsBA==/com.aiir.aiirmobile-7WjHZsWmRnXmpj8YhzYG1g==/base.apk!libreactnative.so (auto std::__ndk1::function<void (std::__ndk1::function<void (facebook::react::jsinspector_modern::HostTarget&)>&&)> facebook::react::jsinspector_modern::makeScopedExecutor<facebook::react::jsinspector_modern::HostTarget>(std::__ndk1::shared_ptr<facebook::react::jsinspector_modern::HostTarget>, std::__ndk1::function<void (std::__ndk1::function<void ()>&&)>)::'lambda'(facebook::react::jsinspector_modern::HostTarget&&)::operator()<std::__ndk1::function<void (facebook::react::jsinspector_modern::HostTarget&)> >(facebook::react::jsinspector_modern::HostTarget&&) const::'lambda'()::operator()() const+108) (BuildId: 91d42e503f48747e)
2024-12-13 10:51:50.066 32603-32603 DEBUG                   crash_dump64                         A        #11 pc 0000000000afb508  /data/app/~~9jvswAEIxkHuSlCKTpFsBA==/com.aiir.aiirmobile-7WjHZsWmRnXmpj8YhzYG1g==/base.apk!libreactnative.so (BuildId: 91d42e503f48747e)
2024-12-13 10:51:50.066 32603-32603 DEBUG                   crash_dump64                         A        #12 pc 0000000000afb4c0  /data/app/~~9jvswAEIxkHuSlCKTpFsBA==/com.aiir.aiirmobile-7WjHZsWmRnXmpj8YhzYG1g==/base.apk!libreactnative.so (void std::__ndk1::__invoke_void_return_wrapper<void, true>::__call<auto std::__ndk1::function<void (std::__ndk1::function<void (facebook::react::jsinspector_modern::HostTarget&)>&&)> facebook::react::jsinspector_modern::makeScopedExecutor<facebook::react::jsinspector_modern::HostTarget>(std::__ndk1::shared_ptr<facebook::react::jsinspector_modern::HostTarget>, std::__ndk1::function<void (std::__ndk1::function<void ()>&&)>)::'lambda'(facebook::react::jsinspector_modern::HostTarget&&)::operator()<std::__ndk1::function<void (facebook::react::jsinspector_modern::HostTarget&)> >(facebook::react::jsinspector_modern::HostTarget&&) const::'lambda'()&>(auto std::__ndk1::function<void (std::__ndk1::function<void (facebook::react::jsinspector_modern::HostTarget&)>&&)> facebook::react::jsinspector_modern::makeScopedExecutor<facebook::react::jsinspector_modern::HostTarget>(std::__ndk1::shared_ptr<facebook::react::jsinspector_modern::HostTarget>, std::__ndk1::function<void (std::__ndk1::function<void ()>&&)>)::'lambda'(facebook::react::jsinspector_modern::HostTarget&&)::operator()<std::__ndk1::function<void (facebook::react::jsinspector_modern::HostTarget&)> >(facebook::react::jsinspector_modern::HostTarget&&) const::'lambda'()&)+20) (BuildId: 91d42e503f48747e)
2024-12-13 10:51:50.066 32603-32603 DEBUG                   crash_dump64                         A        #13 pc 0000000000afb49c  /data/app/~~9jvswAEIxkHuSlCKTpFsBA==/com.aiir.aiirmobile-7WjHZsWmRnXmpj8YhzYG1g==/base.apk!libreactnative.so (BuildId: 91d42e503f48747e)
2024-12-13 10:51:50.066 32603-32603 DEBUG                   crash_dump64                         A        #14 pc 0000000000afa3f8  /data/app/~~9jvswAEIxkHuSlCKTpFsBA==/com.aiir.aiirmobile-7WjHZsWmRnXmpj8YhzYG1g==/base.apk!libreactnative.so (std::__ndk1::__function::__func<auto std::__ndk1::function<void (std::__ndk1::function<void (facebook::react::jsinspector_modern::HostTarget&)>&&)> facebook::react::jsinspector_modern::makeScopedExecutor<facebook::react::jsinspector_modern::HostTarget>(std::__ndk1::shared_ptr<facebook::react::jsinspector_modern::HostTarget>, std::__ndk1::function<void (std::__ndk1::function<void ()>&&)>)::'lambda'(facebook::react::jsinspector_modern::HostTarget&&)::operator()<std::__ndk1::function<void (facebook::react::jsinspector_modern::HostTarget&)> >(facebook::react::jsinspector_modern::HostTarget&&) const::'lambda'(), std::__ndk1::allocator<auto std::__ndk1::function<void (std::__ndk1::function<void (facebook::react::jsinspector_modern::HostTarget&)>&&)> facebook::react::jsinspector_modern::makeScopedExecutor<facebook::react::jsinspector_modern::HostTarget>(std::__ndk1::shared_ptr<facebook::react::jsinspector_modern::HostTarget>, std::__ndk1::function<void (std::__ndk1::function<void ()>&&)>)::'lambda'(facebook::react::jsinspector_modern::HostTarget&&)::operator()<std::__ndk1::function<void (facebook::react::jsinspector_modern::HostTarget&)> >(facebook::react::jsinspector_modern::HostTarget&&) const::'lambda'()>, void ()>::operator()()+24) (BuildId: 91d42e503f48747e)
2024-12-13 10:51:50.066 32603-32603 DEBUG                   crash_dump64                         A        #15 pc 0000000000019804  /data/app/~~9jvswAEIxkHuSlCKTpFsBA==/com.aiir.aiirmobile-7WjHZsWmRnXmpj8YhzYG1g==/base.apk!libfbjni.so (facebook::jni::detail::MethodWrapper<void (facebook::jni::JNativeRunnable::*)(), &(facebook::jni::JNativeRunnable::run()), facebook::jni::JNativeRunnable, void>::dispatch(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>)+72) (BuildId: a22242831a7971267de570e06121acb588ce64cd)
2024-12-13 10:51:50.066 32603-32603 DEBUG                   crash_dump64                         A        #16 pc 0000000000019744  /data/app/~~9jvswAEIxkHuSlCKTpFsBA==/com.aiir.aiirmobile-7WjHZsWmRnXmpj8YhzYG1g==/base.apk!libfbjni.so (facebook::jni::detail::FunctionWrapper<void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>), facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*, void>::call(_JNIEnv*, _jobject*, void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>))+60) (BuildId: a22242831a7971267de570e06121acb588ce64cd)
2024-12-13 10:51:50.237  1483-1599  WindowManager           system_server                        E  win=Window{24c70ab u0 com.aiir.aiirmobile/com.aiir.aiirmobile.MainActivity EXITING} destroySurfaces: appStopped=false cleanupOnResume=false win.mWindowRemovalAllowed=true win.mRemoveOnExit=true win.mViewVisibility=0 caller=com.android.server.wm.ActivityRecord.destroySurfaces:6539 com.android.server.wm.ActivityRecord.destroySurfaces:6520 com.android.server.wm.WindowState.onExitAnimationDone:5998 com.android.server.wm.ActivityRecord$$ExternalSyntheticLambda10.accept:2 java.util.ArrayList.forEach:1613 com.android.server.wm.ActivityRecord.onAnimationFinished:8607 com.android.server.wm.ActivityRecord.postApplyAnimation:6252 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.76 Issue: Author Provided Repro This issue can be reproduced in Snack or an attached project. Platform: Android Android applications. Resolution: PR Submitted A pull request with a fix has been provided. Type: Old Architecture For issues related to the old architecture
Projects
None yet
Development

Successfully merging a pull request may close this issue.