rbpf icon indicating copy to clipboard operation
rbpf copied to clipboard

rbpf panic when running bpf_conformance with JIT

Open Alan-Jowett opened this issue 2 years ago • 1 comments

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: 
Custom { 
kind: Other, 
error: "Error: out of bounds memory store (insn #2), addr 0x2, size 4
mbuff: 0x560d8e8a15b0/0x0, 
mem: 0x1/0x0, 
stack: 0x560d8f935e70/0x200" 
}', examples/rbpf_plugin.rs:45:50
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Alan-Jowett avatar Oct 25 '22 21:10 Alan-Jowett

Thanks for the report. Yes, this is similar to the other issues about panicking from the JIT - I just have no idea how to error out gracefully from JIT-compiled code.

qmonnet avatar Oct 26 '22 09:10 qmonnet