Skip to content
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

Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled #8

Open
thomas725 opened this issue Jun 22, 2023 · 0 comments

Comments

@thomas725
Copy link

Hi there! I've tried to use your crate to apply the VarArgs list to it's associated format pattern, sadly it crashes with the runtime error:

Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled

I'm coding for an ESP32 embedded system, and I acquire the pattern + VarArgs by passing a function pointer to my code into esp_idf_sys::esp_log_set_vprintf(Some(esp_log_processor)).
The VarArgs are are passed with type [u32; 3usize] which im transforming like this to be able to use your library:

let args: VaList = core::mem::transmute(&args);

Maybe the underlying issue is related to esp-rs/rust#177

See also:
esp-rs/esp-idf-sys#212 &
https://users.rust-lang.org/t/esp-idf-logger-redirection-vprintf-variadic-function/95568

Can you help me? Thanks!

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

No branches or pull requests

1 participant