[前][次][番号順一覧][スレッド一覧]

ruby-changes:32522

From: naruse <ko1@a...>
Date: Wed, 15 Jan 2014 10:58:02 +0900 (JST)
Subject: [ruby-changes:32522] naruse:r44601 (trunk): FreeBSD 10 SEGVs this less than 4M + 12K bytes.

naruse	2014-01-15 10:57:59 +0900 (Wed, 15 Jan 2014)

  New Revision: 44601

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44601

  Log:
    FreeBSD 10 SEGVs this less than 4M + 12K bytes.

  Modified files:
    trunk/bootstraptest/test_method.rb
Index: bootstraptest/test_method.rb
===================================================================
--- bootstraptest/test_method.rb	(revision 44600)
+++ bootstraptest/test_method.rb	(revision 44601)
@@ -957,8 +957,8 @@ assert_equal 'ok', %q{ https://github.com/ruby/ruby/blob/trunk/bootstraptest/test_method.rb#L957
 
 assert_normal_exit %q{
   begin
-    Process.setrlimit(Process::RLIMIT_STACK, 4_202_496)
-    # FreeBSD fails this less than 4M + 8K bytes.
+    Process.setrlimit(Process::RLIMIT_STACK, 4_206_592)
+    # FreeBSD SEGVs this less than 4M + 12K bytes.
   rescue Exception
     exit
   end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]