[ruby-core:79975] [Ruby trunk Bug#13258] Segmentation fault at 0x00000000000000 during instance_eval

From: dr.drax@...
Date: 2017-03-09 03:33:57 UTC
List: ruby-core #79975
Issue #13258 has been updated by David Drakard.


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

----------------------------------------
Bug #13258: Segmentation fault at 0x00000000000000 during instance_eval
https://bugs.ruby-lang.org/issues/13258#change-63398

* Author: David Drakard
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
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)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next