-
Notifications
You must be signed in to change notification settings - Fork 303
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
Fatal crash on app launch using Flutter Rust Bridge with SIGABRT (signal 6) #2358
Comments
Hi! Thanks for opening your first issue here! 😄 |
Edit: |
Firstly, it would be great if the stack trace is symbolicated, thus we can know which line of code causes the crash. Secondly, could you please bisect to see which commit introduces the error? (e.g. does 2.4.0 work; or even better - which commit on master branch makes it fail) |
I'm seeing something very similar to this running on a simulator in debug mode but so far not in release mode on device. I'll try with 2.4.0 and see if it happens there.
|
I tried 2.4.0 and also see the crash there and tried both Android 14 and 15 and see the crash there in both cases. I do not however see the crash running in release mode on an actual device. |
|
Looks like same crash in |
Hmm, could you please try shekohex/allo-isolate#61 to see whether the PR there fixes? (That one is about a bug in free_zero_copy_buffer_u8 in allo-isolate, a lib that flutter_rust_bridge uses) |
@fzyzcjy That patch seems to fix the issue for me here. Thanks! |
@fzyzcjy Thanks! |
Happy to see it works! |
This issue is now fixed in v0.1.26 of allo-isolate btw |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new issue. |
Describe the bug
I am encountering a crash immediately upon launching my Flutter app that uses flutter_rust_bridge. The issue occurs consistently on Android when I open the app right after integrating the Rust library using flutter_rust_bridge. I am using the default generated code from flutter_rust_bridge.
Steps to reproduce
Logs
Expected behavior
No response
Generated binding code
No response
OS
No response
Version of
flutter_rust_bridge_codegen
flutter_rust_bridge_codegen 2.5.0
Flutter info
Version of
clang++
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: