Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Worklets installation not working. Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 17909 (mqt_js)

オープン
#111 コメント 4 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
android, javascript, react-native
領域
mobile

調査の方向性

Start with the JavaScript reproduction using Worklets.createRunInContextFn and the manual MainApplication.java setup, then inspect the Android logcat output around the SIGABRT on the mqt_js thread. Done means the Fibonacci example executes successfully without the fatal signal in a project that is not using React Native's new architecture.

索引モデルが issue の本文から書いたものです。

説明

Hello Team

Thanks for bringing this package. I've been trying to install it in my JavaScript project (no typescript) and I've been having issues not being able to execute the example.
I've installed it, manually linking it (my project has problems with auto-linking, so I manually added it to the MainApplication.java file). It seems to be capturing the function correctly, but it fails with an error Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 17909 (mqt_js) when executing the code.

I'm trying the example as follows:

import { Worklets } from 'react-native-worklets-core'

const fibonacci = (num) => {
        'worklet'
        if (num <= 1) return 1
        return fibonacci(num - 1) + fibonacci(num - 2)
}
              
const worklet = Worklets.createRunInContextFn(fibonacci)
            
worklet(50).then((result) => {
       console.log(`Fibonacci of 50 is ${result}`)
})

There shouldn't be a difference compared to the example typescript one, except for removing the types.

This is the error I see in my console, before it crashes
image

And this is the logcat

09-04 12:07:20.747 17673 17909 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 17909 (mqt_js), pid 17673 (package.name)
09-04 12:07:20.784 18125 18125 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-04 12:07:20.784 18125 18125 F DEBUG   : Build fingerprint: 'google/sdk_gphone_x86/generic_x86_arm:11/RSR1.201013.001/6903271:user/release-keys'
09-04 12:07:20.784 18125 18125 F DEBUG   : Revision: '0'
09-04 12:07:20.784 18125 18125 F DEBUG   : ABI: 'x86'
09-04 12:07:20.784 18125 18125 F DEBUG   : Timestamp: 2023-09-04 12:07:20-0500
09-04 12:07:20.784 18125 18125 F DEBUG   : pid: 17673, tid: 17909, name: mqt_js  >>> com.app.name <<<
09-04 12:07:20.784 18125 18125 F DEBUG   : uid: 10163
09-04 12:07:20.784 18125 18125 F DEBUG   : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
09-04 12:07:20.784 18125 18125 F DEBUG   :     eax 00000000  ebx 00004509  ecx 000045f5  edx 00000006
09-04 12:07:20.784 18125 18125 F DEBUG   :     edi f351e81e  esi be2a6130
09-04 12:07:20.784 18125 18125 F DEBUG   :     ebp f4ca6b90  esp be2a60d8  eip f4ca6b99
09-04 12:07:20.786 18125 18125 F DEBUG   : backtrace:
09-04 12:07:20.786 18125 18125 F DEBUG   :       #00 pc 00000b99  [vdso] (__kernel_vsyscall+9)
09-04 12:07:20.786 18125 18125 F DEBUG   :       #01 pc 0005ad68  /apex/com.android.runtime/lib/bionic/libc.so (syscall+40) (BuildId: 6e3a0180fa6637b68c0d181c343e6806)
09-04 12:07:20.786 18125 18125 F DEBUG   :       #02 pc 00076511  /apex/com.android.runtime/lib/bionic/libc.so (abort+209) (BuildId: 6e3a0180fa6637b68c0d181c343e6806)

Is there something I'm missing here?
Also, I'm not using React's new architecture

Thank you!

主要言語
C++
スター
791
フォーク
65
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

margelo/react-native-worklets-core のほかの issue

margelo/react-native-worklets-core の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。