Bug #13258
closedSegmentation fault at 0x00000000000000 during instance_eval
Description
My program is a website that runs inside webrick. Intermittently when calling instance_eval, a segmentation fault occurs, producing console output as shown in the attached file.
I have not been able to spot a pattern to when the segmentation faults occur. My program dynamically (re)evaluates source code with every request. I am not sure, but the segmentation faults may occur after a source file is changed, although usually a change like this causes no problem, and when a segmentation fault has occurred, the server runs fine after restarting. For some reason I have only seen this problem so far in development, not in production.
Because of the intermittent and seemingly random nature of the problem and the complexity of the code base, I have not been able to make a simple recreation, and I doubt I will be able to without some extra information. I am open to instrumenting my program to capture more information if I can get instructions to do so.
Thank you for providing Ruby
Files
Updated by david.drakard (David Drakard) about 7 years ago
What appears to be the same problem also occurs when running inside Puma.
Updated by jeremyevans0 (Jeremy Evans) over 4 years ago
- Status changed from Open to Closed