-
Notifications
You must be signed in to change notification settings - Fork 60
Description
Describe the bug
I created a fresh Rails 8 app, with a User
model that can have an avatar, and when Rails runs ActiveStorage::AnalyzeJob
to analyze the image attached to the User, I have been seeing a segmentation fault that is happening in ruby-vips
.
By checking some issues in this repo, I saw this comment from @jcupitt about the FFI gem. So, I changed my Gemfile to use the 1.16.3
version of FFI to see if it would solve the issue, and in fact, it did — The analyze job ran successfully and I haven't seen any segmentation fault anymore.
So, it seems to be something with the FFI v1.17.0
gem, but I am opening the bug report here because I guess someone here might have a better idea of what's going on (so then we can open an issue there)
Desktop:
- OS: MacOS Sequia 15.1.1 (M1)
- Ruby: 3.3.0
- Ruby-Vips: 2.2.2
- FFI: 1.17.0
Additional context
Attached is the full stack trace of the error (too many chars to post in the issue here)