Skip to content

Question: Crash will occur from time to time after page switching about libjsc.so #26093

Closed
@laymanZ

Description

@laymanZ

🚨 The issue tracker is not for questions. 🚨

Crash will occur from time to time after page switching about libjsc.so

Platform : Android
device : XiaoMi 、HUAWEI
Android Version : 8.0 、6.0、 8.1
react-native version : 0.45.1
( Currently just trying the above device )

And Most of the crash messages that appear are as follows
( And the fault address is not fixed ):

java.lang.Throwable: jni-crash
Build fingerprint:
'***/release-keys'
Revision: '0'
Author: collect by 'libunwind'
ABI: 'arm64-v8a'
pid: 8477, tid: 9048, name: mqt_js >>> "applicationId" <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xa0798ae0

backtrace:
r0 a0c56a80 r1 fffffffb r2 fffffffb r3 a0798ae8
r4 ce8ec70d r5 cea1d9e0 r6 c94edcd0 r7 b5ffcfd8
r8 cdc0516d r9 e1accf39 sl fffffffb fp b5ffdd54
ip be58cf21 sp b5ffcf10 lr ce8e968b pc be58cf44 cpsr 200d0030
#00 pc 00003f44
#1 pc 0009b687 ***==/lib/arm/libjsc.so
#2 pc 00903834
android.os.MessageQueue.nativePollOnce(Native Method)
android.os.MessageQueue.next(MessageQueue.java:326)
android.os.Looper.loop(Looper.java:165)
com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:194)
java.lang.Thread.run(Thread.java:764)

  1. When the page is switched, the following crash will occur occasionally.
  2. when the APP is cold start, it will occasionally appear
  3. after a certain page stays for a long time, click a button, or repeat the bridge call, it will also appear

This makes me very confused, I don’t know where to start troubleshooting. And I'm sorry for the inability to provide a step to reproduce the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: SwitchRan CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.Type: QuestionIssues that are actually questions and not bug reports.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions