Bug #18240
closedRandom segfault on a local Rails server
Description
Hello
I am having random segfault locally when rails a basic rails app.
The control frame is weird:
| -- Control frame information -----------------------------------------------
web | c:0073 p:---- s:0470 e:000469 CFUNC :append_features
web | c:0072 p:---- s:0467 e:000466 CFUNC :include
Files
Updated by jeremyevans0 (Jeremy Evans) about 3 years ago
Unfortunately, I don't think there is enough information provided to help diagnose the specific cause of the issue (the general cause is likely to be memory corruption). The following 3rd party C-extensions are in use:
nio4r
bindex
byebug
stackprof
bcrypt
panko_serializer
oj
ffi
puma
pg
nokogiri
bootsnap
msgpack
A memory issue in any of those could cause a segfault in append_features
. If it is possible to disable the use of all or most of the external C extensions and see if that makes that problem go away, that would be one way to go about diagnosing the problem.
Updated by Benoit_Tigeot (Benoit Tigeot) about 3 years ago
Thanks Jeremy for your answer. We're gonna try to disable the C extensions one by one to identify if one behaves badly.
I think the ticket can be marked as closed, we will publish our result here.
Updated by jeremyevans0 (Jeremy Evans) about 3 years ago
- Status changed from Open to Closed