question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hot reload iOS crash due to EXC_BAD_ACCESS on rt.global()

See original GitHub issue

With this issue I’d like to gather all bug reports related to EXC_BAD_ACCESS crash when hot-reloading the app on iOS:

This is how the crash looks like in its natural environment:

The crash happens because when requestRender lambda is executed, the JS runtime has already been deallocated (as a result of hot-reload). Most likely, this is due to some missing cleanup.

Note: This bug is mostly relevant in debug mode during development as the JS runtime gets deallocated when reloading the app. However, it also appears in release builds when using code-push updates.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
tomekzawcommented, Mar 15, 2022

Hello! I’ve managed to check out your repro but somehow couldn’t reproduce it on my M1. I’m quite busy recently but @piaskowyk promised to take a look on this issue.

1reaction
danilobuergercommented, Feb 24, 2022

@tomekzaw its always reproducible with my issue that you linked (#2035)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Crash starting app after upgrade to Monterey - Apple Developer
Need some help debugging an issue that only started after upgrading to Monterey. Our application is failing to start resulting in a segmentation...
Read more >
Qt iOS app crash in completion handler callback with ...
XCode shows EXC_BAD_ACCESS error in the setResults or detectionComplete line in the runFaceDetection method. I think this is due to when the ...
Read more >
The Shellcoder's Handbook - Index of /
included Cisco IOS, SAP, HP printers, and RIM BlackBerry in the past. Gerardo Richarte has been doing reverse engineering and exploit develop-.
Read more >
Unity QA - LTS Releases - Unity
Global Illumination: gi::InitializeManagers() takes 0.6s during Editor ... iOS: [iOS 14] VideoPlayer crashes on EXC_BAD_ACCESS or signal SIGABRT when ...
Read more >
2004-August.txt - Kitware Inc.
Thanks in advance and best regards, Marc Example data files: Resulting in one ... But when I run the script it crashes saying...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found