[ruby-core:79967] [Ruby trunk Bug#13288] mingw issues with 57789

From: Greg.mpls@...
Date: 2017-03-08 15:20:05 UTC
List: ruby-core #79967
Issue #13288 has been updated by Greg L.


Robert A. Heiler wrote:
> Have we found the code-culprit though or was it a Heisenbug fix? :)

Given that a perfect test system needs to test for every conditional and every iteration, I doubt one exists.  At some point, I prefer a mathematical stability viewpoint.  Wide ranging changes may expose instability (that previously appeared stable) elsewhere.

Building

```
ruby 2.5.0dev (2017-03-08 trunk 57807) [x64-mingw32]
```

I received a different SEGV error than the one that started this.  The original error may have involved a mingw dll, the new one is in x64-msvcrt-ruby250.dll.  The original occurred during test-all, but before testing even started, the new one occurs during a test.
```
[ 3187/16621] TestArray#test_sum
D:/GitHub/ruby/test/ruby/test_array.rb:2797: [BUG] Segmentation fault
```

After a bit more work, I'll post it and another testing SEGV error that has existed for quite a while, which I've patched around in my build script...

[Ruby, Rails, & AWS doc](https://msp-greg.github.io/)

----------------------------------------
Bug #13288: mingw issues with 57789
https://bugs.ruby-lang.org/issues/13288#change-63389

* Author: Greg L
* Status: Assigned
* Priority: Normal
* Assignee: Shyouhei Urabe
* Target version: 
* ruby -v: ruby 2.5.0dev (2017-03-06 trunk 57789) [x64-mingw32]
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
I have been building trunk with mingw/MSYS2 for a few months. I also created packages using OpenSSL 1.1.0e and gdbm 1.10.

Yesterday, I build 57782 with no major issues. Today, when I built 57789 (this commit) I had a segfault in the test-all section. the build.log was fine, and it responds to ruby -v, but I haven't tested further.

I built 57782 and 57788 with no major issues. I built 57789 again, and again, the segfault occurred.

The full log is at [x86_64-check.log](https://github.com/MSP-Greg/ruby-makepkg-mingw/blob/master/ruby_seg_fault/x86_64-check.log), also attached.

I'm not a c type, so if there's anything else you need or would like me to check, please let me know.

---Files--------------------------------
x86_64-check.log (75 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