-
Notifications
You must be signed in to change notification settings - Fork 41
Segfault when exiting due to Fiddle::MemoryView
#79
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
Comments
kou
added a commit
that referenced
this issue
Jun 16, 2021
fix #79 Users can release memory views explicitly before process exit. Reported by xtkoba. Thanks!!!
I guess this SEGV is a bug of |
kou
added a commit
that referenced
this issue
Jun 17, 2021
fix #79 Users can release memory views explicitly before process exit. Reported by xtkoba. Thanks!!!
I think that this isn't avoidable without improving Ruby's GC on exit but I' reopen this to wait @mrkn's investigation. |
#80 can be used instead of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following script causes a segfault when exiting:
A backtrace from GDB:
Invoking a GC before exiting seems to be a workaround.
ruby -v
:ruby 3.1.0dev (2021-05-21T09:28:24Z master 50a534a152) [x86_64-linux]
The text was updated successfully, but these errors were encountered: