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

segmentation fault #20

Open
GOVYANSONG opened this issue Sep 19, 2022 · 4 comments
Open

segmentation fault #20

GOVYANSONG opened this issue Sep 19, 2022 · 4 comments

Comments

@GOVYANSONG
Copy link

GOVYANSONG commented Sep 19, 2022

I was trying to use this library for a project that uses syscalls, libc, nix etc (e.g. shared memory, mutex). also, tokio async and unsafe are used across my project. It threw segmentation fault with hot reloading. i am looking some guidance on suitability of using this library.

@rksm
Copy link
Owner

rksm commented Sep 21, 2022

Without any details I can't help.

@GOVYANSONG
Copy link
Author

Sorry for lack of details. please find attached here below a reproducible demo to illustrate the issue. once uncompressed, cli instruction can be found inside README.md.

project structure:
app
main.rs
lib
shell.rs
pub async fn mainshell() -> Result<(), Error>

demo.tar.gz

@rksm
Copy link
Owner

rksm commented Sep 21, 2022

Thank you for the code. What operating system are you using?

@GOVYANSONG
Copy link
Author

Linux mk8smaster 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

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

2 participants