Skip to content

Assert that workletsModuleProxy is found#6780

Merged
tomekzaw merged 1 commit intomainfrom
@tomekzaw/assert-worklets-module-proxy
Dec 3, 2024
Merged

Assert that workletsModuleProxy is found#6780
tomekzaw merged 1 commit intomainfrom
@tomekzaw/assert-worklets-module-proxy

Conversation

@tomekzaw
Copy link
Member

@tomekzaw tomekzaw commented Dec 2, 2024

Summary

The following crash happened to me during an app reload. The top stack frame points to getValueUnpackerCode but the actual offender is inside createReanimatedModuleBridgeless where workletsModuleProxy returned from [workletsModule getWorkletsModuleProxy] is nullptr.

Screenshot 2024-12-02 at 12 59 30

Test plan

@tomekzaw tomekzaw requested a review from tjzel December 2, 2024 12:16
@tomekzaw tomekzaw marked this pull request as ready for review December 2, 2024 12:40
@tomekzaw tomekzaw added this pull request to the merge queue Dec 3, 2024
Merged via the queue into main with commit 44a4da2 Dec 3, 2024
@tomekzaw tomekzaw deleted the @tomekzaw/assert-worklets-module-proxy branch December 3, 2024 10:12
tjzel pushed a commit that referenced this pull request Dec 13, 2024
## Summary

The following crash happened to me during an app reload. The top stack
frame points to `getValueUnpackerCode` but the actual offender is inside
`createReanimatedModuleBridgeless` where `workletsModuleProxy` returned
from `[workletsModule getWorkletsModuleProxy]` is `nullptr`.

<img width="1624" alt="Screenshot 2024-12-02 at 12 59 30"
src="https://github.com/user-attachments/assets/a15b8a16-00a9-42aa-abca-4bb03c264986">

## Test plan
tjzel pushed a commit that referenced this pull request Dec 13, 2024
## Summary

The following crash happened to me during an app reload. The top stack
frame points to `getValueUnpackerCode` but the actual offender is inside
`createReanimatedModuleBridgeless` where `workletsModuleProxy` returned
from `[workletsModule getWorkletsModuleProxy]` is `nullptr`.

<img width="1624" alt="Screenshot 2024-12-02 at 12 59 30"
src="https://github.com/user-attachments/assets/a15b8a16-00a9-42aa-abca-4bb03c264986">

## Test plan
tjzel pushed a commit that referenced this pull request Dec 13, 2024
## Summary

The following crash happened to me during an app reload. The top stack
frame points to `getValueUnpackerCode` but the actual offender is inside
`createReanimatedModuleBridgeless` where `workletsModuleProxy` returned
from `[workletsModule getWorkletsModuleProxy]` is `nullptr`.

<img width="1624" alt="Screenshot 2024-12-02 at 12 59 30"
src="https://github.com/user-attachments/assets/a15b8a16-00a9-42aa-abca-4bb03c264986">

## Test plan
r0h0gg6 pushed a commit to r0h0gg6/react-native-reanimated that referenced this pull request Jul 28, 2025
## Summary

The following crash happened to me during an app reload. The top stack
frame points to `getValueUnpackerCode` but the actual offender is inside
`createReanimatedModuleBridgeless` where `workletsModuleProxy` returned
from `[workletsModule getWorkletsModuleProxy]` is `nullptr`.

<img width="1624" alt="Screenshot 2024-12-02 at 12 59 30"
src="https://github.com/user-attachments/assets/a15b8a16-00a9-42aa-abca-4bb03c264986">

## Test plan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants