MetaMask / MetaMask/metamask-mobile
facebook::react::EventTarget::retain
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 1.7k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 669
Description
Sentry Issue: [METAMASK-MOBILE-41GY](https://metamask.sentry.io/issues/6797883672/?referrer=github_integration)
```
SIGSEGV: Segfault
?
File "EventTarget.cpp", line 33, in facebook::react::EventTarget::retain
File "EventQueueProcessor.cpp", line 36, in facebook::react::EventQueueProcessor::flushEvents
File "EventQueue.cpp", line 120, in facebook::react::EventQueue::flushEvents
File "function.h", line 510, in std::__ndk1::__function::__value_func::operator()[abi:v170000]
...
(33 additional frame(s) were not displayed)
```
Contributor guide
Research direction
Start with EventTarget.cpp line 33, then trace the calls through EventQueueProcessor.cpp line 36 and EventQueue.cpp line 120. Use the linked Sentry report to investigate the SIGSEGV context; done means identifying and fixing the crash so the failing EventTarget::retain path no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100