-
Notifications
You must be signed in to change notification settings - Fork 791
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[embassy-sync] Using Watch
, probe-rs
and a --release
build leads to an exception
#3537
Comments
Watch
, built with --release
leads to "Exception 'Load access fault'"Watch
, built with --release
leads to Exception 'Load access fault'
The exception happens on this line, i.e. where the Using e.g. What I would need to do is a minimum viable reproduction, but likely I'll just use non-release build and carry on. Perhaps later. |
Watch
, built with --release
leads to Exception 'Load access fault'
Watch
on --release
build leads to an exception
Updated the bug description on my own repo (a full rewrite). The issue occurs with the combination of:
Running the code with |
Watch
on --release
build leads to an exceptionWatch
, probe-rs
and a --release
build leads to an exception
Hmm, I have not had any issues with extensive usage (e.g. RP2040, STM32, std, multi-core, interrupts). Could you try replacing the |
I started using the new Watch functionality today. Unfortunately, haven't been able to see it work in release builds, yet. This happens:
If I change to non-
--release
(wanted to see the symbols in the stack trace), All is Fine.I presume this is caused by inclusion of
embassy-sync
- I didn't change other dependencies, today.Don't have a Minimal Repo, but my source is available here - note the
tof
branch.Steps
git clone [email protected]:lure23/Zoo-ESP32_Cx.git
Read the
README
at the top andtof
levels.This is likely beyond anyone wants to do, to repeat the problem. You'd need to set up tools, bring in vendor C sources... Oh, and you need VL53L5CX hardware! 🫠🎈🎈
_
Expected
The program runs and presents some results.
Actual
Above pasted exception.
Further info
If we compile it without
--release
(or not useprobe-rs
, see comments), all is fine:The text was updated successfully, but these errors were encountered: