Skip to content

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

@thomas725

Description

@thomas725

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions