Open AzHicham opened 2 months ago
Hi,
Can you please check using the j4rs
master instead of the latest release?
There are some changes and fixes from fellow contributors that dealt with possible issues during build and could possible affect CIs, especially when caching was enabled.
Thanks
Hi @AzHicham , did you have the chance to check the issue using the master?
Hello,
First of all thank for this library, it works like a charm. :)
I'm working on a rust wrapper of a java library. I noticed that when I launch cargo test sometimes one or two of my tests are failing because of a SIGSEGV. So I tried many changes on my code but still having casual SIGSEGV (not always the same test ...).
Then I tried to run the debugger, unfortunately dbg catches a SIGSEGV during program startup.... Then to make it more simple I created a sample code to check where this SIGSEGV is coming from. Buy dbg fails immediately catching a SIGSEGV Here are my results:
Cargo.toml
main.rs
Launching the program with dbg in RustRover or with cmd line give me the same results:
I don't know if this SIGSEGV when creating a JVM is the same as the one catched during cargo test TBH.
Plus this SIGSEGV seems not to be a problem because when a launch the program I do not have any issue the code works perfectly. It's more a CI issue due to the randomness of this SIGSEGV during cargo test run
Thanks a lot
EDIT: added backtrace