Project

General

Profile

Actions

Bug #13910

closed

Seg Fault from require_relative

Added by MSP-Greg (Greg L) over 6 years ago. Updated over 6 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.5.0dev (2017-09-14 trunk 59897) [x64-mingw32]
[ruby-core:82835]

Description

As some of you may recall, I have been building MinGW trunk for several months. I have been logging the test results since April on my doc site, which has several versions of ruby and a few gems.

I mention this because I use the trunk builds to update the site, usually daily.

For the second time recently, running the site update code generated a seg fault. Info is attached as seg_fault.txt.

Attached are two rb files, place in the same folder, cd to the folder, and run:

ruby --disable-gems loader.rb

I tested several builds; the seg fault starts somewhere after svn 59870 and no later than svn 59897. Same results without --disable-gems, just added to shorten the seg fault info.

2017-09-09 59792  Okay
2017-09-11 59839  Okay
2017-09-14 59870  Okay

2017-09-14 59897  Fails
2017-09-16 59930  Fails

I removed as much content from seg_fault.rb as I could. I got to the point where I couldn't find any more lines that could be commented out and still generate the seg fault. For my code, I replaced

raise(exception, string)

with

raise(string)

Files

seg_fault.rb (1.31 KB) seg_fault.rb MSP-Greg (Greg L), 09/17/2017 02:27 AM
loader.rb (115 Bytes) loader.rb MSP-Greg (Greg L), 09/17/2017 02:27 AM
seg_fault.txt (4.42 KB) seg_fault.txt MSP-Greg (Greg L), 09/17/2017 02:27 AM

Updated by MSP-Greg (Greg L) over 6 years ago

Problem fixed. I assume Nobu's work has taken care of this. Thank you again.

2017-09-17_59946 Fails
2017-09-18_59956 Passes
2017-09-19_59967 Passes

I'm okay to close.

Actions #2

Updated by hsbt (Hiroshi SHIBATA) over 6 years ago

  • Status changed from Open to Rejected
Actions

Also available in: Atom PDF

Like0
Like0Like0