-
Notifications
You must be signed in to change notification settings - Fork 7
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
rust sample exits with seg fault #127
Comments
Can you try again on Ditto 4.4.0? Thanks for reporting. |
I moved both When stepping through with the debugger the crash occurs in the |
Hi, tried to get the Rust sample runnnig today and ran into the same issue. I was able to reproduce the issue on both Platform: With a clean target dir I get the following error:
On subsequent runs, I get the following failure
|
Sorry you ran into this. Can you try Rust version 1.66.1? |
Success. rustc 1.66.1 works with both |
Thanks, @S4H, for reporting back. Ditto currently requires using a particular rust version and we are working on remedying this in the future with an ffi mangling layer. |
Hello all! Firstly - thank you for preparing these examples. They have been super useful in understanding how to use the SDK and Ditto end - to - end.
I have been running into an issue trying to get the rust sample to work. I have done the following to generate the error
main
cargo run --release -- --app-id <app id> --shared-token <playground token> --collection my-collection
The program exits with
Segmentation fault: 11
I get the following logs from the
Ditto::builder
the first time I run the programWhen running the program again without cleaning the target dir I get the following repeatedly:
Development Environment Specs:
Rust Compiler
rustc 1.72.0 (5680fa18f 2023-08-23)
Cargo Dependencies
OS
macOS 13.4
x86_64-apple-darwin
( Pardon in advance if this issue is a result of user error 😅 )
The text was updated successfully, but these errors were encountered: