-
Notifications
You must be signed in to change notification settings - Fork 60
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 #409
Comments
Hello again, This was working for me on macOS last time I tried :( I'll have a another go. |
It all seems to work for me, sorry :( Where is your ruby from? I'm getting everything from homebrew:
|
.. and I tested it with:
|
Given that the stack trace references Puma, I wonder if this relates to #155. Does the issue still occur on macOS if you set the Alternatively, you might try the workaround suggested in #155 (comment). |
@kleisauke so I already had that environment variable set (because I was having that exact issue before) What I did was to run My Ruby comes from asdf @jcupitt Anyway guys, thanks for the hints, I guess it was something with some outdated dependency (I hadn't run |
Describe the bug
I created a fresh Rails 8 app, with a
User
model that can have an avatar, and when Rails runsActiveStorage::AnalyzeJob
to analyze the image attached to the User, I have been seeing a segmentation fault that is happening inruby-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:
Additional context
Attached is the full stack trace of the error (too many chars to post in the issue here)
segmentation fault.txt
The text was updated successfully, but these errors were encountered: