Bug #18240
closed
Random segfault on a local Rails server
Added by Benoit_Tigeot (Benoit Tigeot) about 3 years ago.
Updated almost 2 years ago.
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
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.
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.
- Status changed from Open to Closed
Also available in: Atom
PDF
Like0
Like0Like0Like0