https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112017-10-24T20:25:43ZRuby Issue Tracking SystemRuby master - Bug #14049: SEGV svn 60401 require_relativehttps://bugs.ruby-lang.org/issues/14049?journal_id=675762017-10-24T20:25:43Zshevegen (Robert A. Heiler)shevegen@gmail.com
<ul></ul><p>I applaude you for your heroic work on MinGW. I don't think anyone else may have had<br>
the patience - or stubborness. :)</p> Ruby master - Bug #14049: SEGV svn 60401 require_relativehttps://bugs.ruby-lang.org/issues/14049?journal_id=675792017-10-24T23:51:05Znormalperson (Eric Wong)normalperson@yhbt.net
<ul></ul><p><a href="mailto:Greg.mpls@gmail.com" class="email">Greg.mpls@gmail.com</a> wrote:</p>
<blockquote>
<p>ruby 2.5.0dev (2017-10-24 trunk 60388) [x64-mingw32] NO fault, works fine</p>
</blockquote>
<p>OK, so r60386 (which affects file.c) did not break things? nobu<br>
spotted a possible bug <a href="/issues/13996">[ruby-core:83535]</a> which may be fixed in<br>
r60408.</p>
<blockquote>
<p>But, <code>test-all</code> was running slower, and also showing fewer<br>
assertions. Table of results<br>
<a href="https://msp-greg.github.io/file.mingw_test-all.html" class="external">here</a>.</p>
</blockquote>
<p>r60386 does hurt single-thread performance if the GVL<br>
implementation is slow.</p>
<p>Is it significantly faster with r60408 and r60386 reverted?<br>
Maybe GVL release can be ignored if only one thread is running.</p> Ruby master - Bug #14049: SEGV svn 60401 require_relativehttps://bugs.ruby-lang.org/issues/14049?journal_id=675812017-10-25T03:04:21ZMSP-Greg (Greg L)
<ul></ul><p>Eric,</p>
<p>Well, I did not revert 60386, but I still have the SEGV after building 60408. Of course, <code>test-all</code>, etc all pass...</p>
<p>Right now, I'm more concerned about the SEGV, as my builds are used by other repos in Appveyor CI testing. It also breaks my doc site updates, which I typically do twice a day.</p>
<p>Re single thread, I seem to get more reliable <code>test-all</code> numbers when running 'single', but I may change my build system over to <code>-j2</code> for the tests.</p>
<p>I'll have more time to look at this tomorrow. I'll see if I can come up with some code to repro the SEGV...</p>
<p>Thanks again, Greg</p> Ruby master - Bug #14049: SEGV svn 60401 require_relativehttps://bugs.ruby-lang.org/issues/14049?journal_id=676092017-10-26T17:25:54ZMSP-Greg (Greg L)
<ul></ul><p>I did some more work with this. The SEGV is happening from one particular file being loaded via <code>relative_require</code>, and although the SEGV log seems to indicate that as the 'last' function, the issue seems to be a parsing issue, which I've narrowed down to the statement, but I haven't reduced it to a simple test case.</p>
<p>Re <code>test-all</code> assertions and <code>test-all</code> time, as of <code>ruby 2.5.0dev (2017-10-26 trunk 60450) [x64-mingw32]</code>, test run times are lower than I've ever seen them. But, the test and assertion counts have dropped, so I will investigate further.</p>
<p>To match up better with Travis and Appveyor mswin, I'm now running <code>test-all</code>, <code>test-spec</code>, and <code>mspec</code> parallel (<code>-j2</code> on <code>test-all</code>, <code>-j</code> on specs).</p>
<p>Also, the rolling <a href="https://ci.appveyor.com/project/MSP-Greg/ruby-loco/history" class="external">ruby-loco trunk build</a> is now running three times a day at Noon, 6:00 P and 1:00 A JST.</p>
<p>Finally (with my limited *nix scripting skills) I created a companion to <a href="https://ci.appveyor.com/project/MSP-Greg/appveyor-ruby" class="external">appveyor-ruby</a> on Travis, <a href="https://travis-ci.org/MSP-Greg/travis-ruby" class="external">travis-ruby</a>. It shows info on default and available Ruby builds. I created it mostly to see what library versions were used to compile the various version. I'll update it manually as I notice changes. Some interesting version differences:</p>
<pre><code> rvm mingw
GDBM 1.8.3 1.10
LIBYAML 0.1.4 0.1.7
OpenSSL 1.0.1f 1.1.0f
Readline 6.3 7.0
Zlib 1.2.8 1.2.11
</code></pre>
<p>Thanks again. Some info might be helpful for people, otherwise, please close in a few days...</p>
<p><a class="user active user-mention" href="https://bugs.ruby-lang.org/users/3414">@shevegen (Robert A. Heiler)</a> - Thank you. Someone has to do it. I've been using and coding on Windows since DOS days, and in traditional corporate America, it's still the standard...</p> Ruby master - Bug #14049: SEGV svn 60401 require_relativehttps://bugs.ruby-lang.org/issues/14049?journal_id=1042392023-08-23T19:22:40Zjeremyevans0 (Jeremy Evans)merch-redmine@jeremyevans.net
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul>