Project

General

Profile

Actions

Bug #13258

closed

Segmentation fault at 0x00000000000000 during instance_eval

Added by david.drakard (David Drakard) about 7 years ago. Updated over 4 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]
[ruby-core:79800]

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

console_error_out.txt (63.6 KB) console_error_out.txt Console output produced by Ruby when the segmentation fault occurs david.drakard (David Drakard), 02/27/2017 01:16 PM

Updated by david.drakard (David Drakard) about 7 years ago

What appears to be the same problem also occurs when running inside Puma.

Actions #2

Updated by jeremyevans0 (Jeremy Evans) over 4 years ago

  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0