[#36711] [Ruby 1.9 - Bug #4821][Open] Random Segfaults (in start_thread?) — Ivan Bortko <b2630639@...>

22 messages 2011/06/03

[#36730] [Ruby 1.9 - Feature #4824][Open] Provide method Kernel#executed? — Lazaridis Ilias <ilias@...>

56 messages 2011/06/04

[#36750] [Ruby 1.9 - Feature #4830][Open] Provide Default Variables for Array#each and other iterators — Lazaridis Ilias <ilias@...>

24 messages 2011/06/05

[#36785] [Ruby 1.9 - Feature #4840][Open] Allow returning from require — Rodrigo Rosenfeld Rosas <rr.rosas@...>

53 messages 2011/06/06
[#36811] Re: [Ruby 1.9 - Feature #4840][Open] Allow returning from require — Yusuke ENDOH <mame@...> 2011/06/07

Hello,

[#36799] [Ruby 1.9 - Feature #4845][Open] Provide Class#cb_object_instantiated_from_literal(object) — Lazaridis Ilias <ilias@...>

11 messages 2011/06/06

[#36834] [Ruby 1.9 - Feature #3905] rb_clear_cache_by_class() called often during GC for non-blocking I/O — Charles Nutter <headius@...>

10 messages 2011/06/08
[#36860] Re: [Ruby 1.9 - Feature #3905] rb_clear_cache_by_class() called often during GC for non-blocking I/O — Eric Wong <normalperson@...> 2011/06/08

Charles Nutter <headius@headius.com> wrote:

[#36863] Object#trust vs Object#taint — Aaron Patterson <aaron@...>

Hi,

16 messages 2011/06/08
[#36866] Re: Object#trust vs Object#taint — Yukihiro Matsumoto <matz@...> 2011/06/08

Hi,

[#36873] Re: Object#trust vs Object#taint — Aaron Patterson <aaron@...> 2011/06/09

On Thu, Jun 09, 2011 at 07:49:06AM +0900, Yukihiro Matsumoto wrote:

[#37071] [Ruby 1.9 - Feature #4877][Open] Unify Variable Expansion within Strings — Lazaridis Ilias <ilias@...>

12 messages 2011/06/12

[#37106] ruby core tutorials location — Roger Pack <rogerdpack2@...>

Hello all.

10 messages 2011/06/13
[#37107] Re: ruby core tutorials location — Jon <jon.forums@...> 2011/06/13

> Hello all.

[#37115] Re: ruby core tutorials location — Roger Pack <rogerdpack2@...> 2011/06/13

> Rather than adding links to source code, I would prefer the wikibooks link and others under a new Tutorials section of http://www.ruby-lang.org/en/documentation/ as well as adding http://ruby.runpaint.org/ to the existing Getting Started section.

[#37117] Re: ruby core tutorials location — Jon <jon.forums@...> 2011/06/13

> > Rather than adding links to source code, I would prefer the wikibooks link and others under a new Tutorials section of http://www.ruby-lang.org/en/documentation/ as well as adding http://ruby.runpaint.org/ to the existing Getting Started section.

[#37128] Re: ruby core tutorials location — Roger Pack <rogerdpack2@...> 2011/06/14

> I like what you're trying to do and see how great that tutorial connection from rdoc/yard could be, say, mixing with existing ruby-doc.org and rubydoc.info. ut I question embedding source links to info in which the info can easily grow outdated or abandoned as time passes. I also question the ongoing maintenance burdens.

[#37137] Re: ruby core tutorials location — Jon <jon.forums@...> 2011/06/14

> > I like what you're trying to do and see how great that tutorial connection from rdoc/yard could be, say, mixing with existing ruby-doc.org and rubydoc.info. ut I question embedding source links to info in which the info can easily grow outdated or abandoned as time passes. I also question the ongoing maintenance burdens.

[#37164] [Ruby 1.9 - Feature #4890][Open] Enumerable#lazy — Yutaka HARA <redmine@...>

30 messages 2011/06/16

[#37170] [Ruby 1.9 - Bug #4893][Open] Literal Instantiation breaks Object Model — Lazaridis Ilias <ilias@...>

61 messages 2011/06/16

[#37207] [Ruby 1.9 - Feature #4897][Open] Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/ — Simon Baird <simon.baird@...>

43 messages 2011/06/17

[#37286] [Ruby 1.9 - Bug #4916][Open] [BUG] Segmentation fault - dyld: lazy symbol binding failed: Symbol not found: _ASN1_put_eoc — Hiroshi NAKAMURA <nakahiro@...>

9 messages 2011/06/22

[#37324] [Ruby 1.9 - Bug #4923][Open] [ext/openssl] test_ssl.rb: test_client_auth fails — Martin Bosslet <Martin.Bosslet@...>

19 messages 2011/06/23

[#37576] [Ruby 1.9 - Feature #4938][Open] Add Random.bytes [patch] — Marc-Andre Lafortune <ruby-core@...>

13 messages 2011/06/27

[#37612] [Ruby 1.9 - Bug #4941][Open] cannot load such file -- rubygems.rb (LoadError) — Lazaridis Ilias <ilias@...>

25 messages 2011/06/28

[ruby-core:36735] [Ruby 1.9 - Bug #4827][Open] meke test-all TESTS="-j2 test/ruby/test_fiber.rb" on Mac crash sometimes

From: Motohiro KOSAKI <kosaki.motohiro@...>
Date: 2011-06-04 20:11:28 UTC
List: ruby-core #36735
Issue #4827 has been reported by Motohiro KOSAKI.

----------------------------------------
Bug #4827: meke test-all TESTS="-j2 test/ruby/test_fiber.rb" on Mac crash sometimes
http://redmine.ruby-lang.org/issues/4827

Author: Motohiro KOSAKI
Status: Open
Priority: Normal
Assignee: 
Category: core
Target version: 1.9.3
ruby -v: ruby 1.9.3dev (2011-06-04 trunk 31919) [x86_64-darwin10.7.4] 


TestFiber#test_term = 0.00 s = .
TestFiber#test_throw = 0.00 s = .
TestFiber#test_tls = 0.00 s = .
/Users/kosaki/ruby/lib/test/unit/parallel.rb:133: [BUG] Segmentation fault
ruby 1.9.3dev (2011-06-04 trunk 31919) [x86_64-darwin10.7.4]

-- Control frame information -----------------------------------------------
c:0007 p:---- s:0024 b:0024 l:000023 d:000023 CFUNC  :_dump
c:0006 p:---- s:0022 b:0022 l:000021 d:000021 CFUNC  :dump
c:0005 p:0071 s:0018 b:0016 l:000012 d:000015 BLOCK  /Users/kosaki/ruby/lib/test/unit/parallel.rb:133
c:0004 p:0450 s:0013 b:0013 l:000012 d:000012 METHOD /Users/kosaki/ruby/lib/test/unit/parallel.rb:139
c:0003 p:0054 s:0006 b:0006 l:002188 d:000288 EVAL   /Users/kosaki/ruby/lib/test/unit/parallel.rb:145
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:002188 d:002188 TOP   

-- Ruby level backtrace information ----------------------------------------
/Users/kosaki/ruby/lib/test/unit/parallel.rb:145:in `<main>'
/Users/kosaki/ruby/lib/test/unit/parallel.rb:139:in `run'
/Users/kosaki/ruby/lib/test/unit/parallel.rb:133:in `rescue in run'
/Users/kosaki/ruby/lib/test/unit/parallel.rb:133:in `dump'
/Users/kosaki/ruby/lib/test/unit/parallel.rb:133:in `_dump'

-- See Crash Report log file under ~/Library/Logs/CrashReporter or ---------
-- /Library/Logs/CrashReporter, for the more detail of ---------------------
-- C level backtrace information -------------------------------------------

-- Other runtime information -----------------------------------------------

* Loaded script: /Users/kosaki/ruby/lib/test/unit/parallel.rb

* Loaded features:

    0 enumerator.so
    1 /Users/kosaki/ruby/.ext/x86_64-darwin10.7.4/enc/encdb.bundle
    2 /Users/kosaki/ruby/.ext/x86_64-darwin10.7.4/enc/trans/transdb.bundle
    3 /Users/kosaki/ruby/lib/rubygems/defaults.rb
    4 /Users/kosaki/ruby/lib/tsort.rb
    5 /Users/kosaki/ruby/lib/rubygems/deprecate.rb
    6 /Users/kosaki/ruby/lib/rubygems/dependency_list.rb
    7 /Users/kosaki/ruby/lib/rubygems/path_support.rb
    8 /Users/kosaki/ruby/rbconfig.rb
    9 /Users/kosaki/ruby/lib/rubygems/exceptions.rb
   10 /Users/kosaki/ruby/lib/rubygems/custom_require.rb
   11 /Users/kosaki/ruby/lib/rubygems/version.rb
   12 /Users/kosaki/ruby/lib/rubygems/requirement.rb
   13 /Users/kosaki/ruby/lib/rubygems/platform.rb
   14 /Users/kosaki/ruby/lib/rubygems/specification.rb
   15 /Users/kosaki/ruby/lib/rubygems.rb
   16 /Users/kosaki/ruby/lib/optparse.rb
   17 /Users/kosaki/ruby/lib/minitest/unit.rb
   18 /Users/kosaki/ruby/lib/prettyprint.rb
   19 /Users/kosaki/ruby/lib/pp.rb
   20 /Users/kosaki/ruby/lib/test/unit/assertions.rb
   21 /Users/kosaki/ruby/lib/test/unit/testcase.rb
   22 /Users/kosaki/ruby/lib/test/unit.rb
   23 /Users/kosaki/ruby/.ext/x86_64-darwin10.7.4/fiber.bundle
   24 /Users/kosaki/ruby/.ext/x86_64-darwin10.7.4/continuation.bundle
   25 /Users/kosaki/ruby/lib/open3.rb
   26 /Users/kosaki/ruby/lib/timeout.rb
   27 /Users/kosaki/ruby/test/ruby/envutil.rb
   28 /Users/kosaki/ruby/test/ruby/test_fiber.rb

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html


/Users/kosaki/ruby/lib/test/unit.rb:255:in `write': closed stream (IOError)
	from /Users/kosaki/ruby/lib/test/unit.rb:255:in `puts'
	from /Users/kosaki/ruby/lib/test/unit.rb:255:in `puts'
	from /Users/kosaki/ruby/lib/test/unit.rb:498:in `block (2 levels) in _run_parallel'
	from /Users/kosaki/ruby/lib/timeout.rb:67:in `timeout'
	from /Users/kosaki/ruby/lib/timeout.rb:98:in `timeout'
	from /Users/kosaki/ruby/lib/test/unit.rb:497:in `block in _run_parallel'
	from /Users/kosaki/ruby/lib/test/unit.rb:495:in `each'
	from /Users/kosaki/ruby/lib/test/unit.rb:495:in `ensure in _run_parallel'
	from /Users/kosaki/ruby/lib/test/unit.rb:552:in `_run_parallel'
	from /Users/kosaki/ruby/lib/test/unit.rb:561:in `_run_suites'
	from /Users/kosaki/ruby/lib/minitest/unit.rb:746:in `_run_anything'
	from /Users/kosaki/ruby/lib/minitest/unit.rb:909:in `run_tests'
	from /Users/kosaki/ruby/lib/minitest/unit.rb:896:in `block in _run'
	from /Users/kosaki/ruby/lib/minitest/unit.rb:895:in `each'
	from /Users/kosaki/ruby/lib/minitest/unit.rb:895:in `_run'
	from /Users/kosaki/ruby/lib/minitest/unit.rb:884:in `run'
	from /Users/kosaki/ruby/lib/test/unit.rb:21:in `run'
	from /Users/kosaki/ruby/lib/test/unit.rb:609:in `run'
	from /Users/kosaki/ruby/lib/test/unit.rb:613:in `run'
	from ./test/runner.rb:13:in `<main>'
make: *** [yes-test-all] Error 1
[1]    8492 exit 2     make test-all OPTS="-v" TESTS="-v -q -j2 test/ruby/test_fiber.rb"





Process:         ruby-193 [8494]
Path:            /Users/kosaki/ruby/ruby-193
Identifier:      ruby-193
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  ruby-193 [8493]

Date/Time:       2011-06-05 05:07:41.668 +0900
OS Version:      Mac OS X 10.6.7 (10J4138)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000000000000d
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
abort() called

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             	0x00007fff885225d6 __kill + 10
1   libSystem.B.dylib             	0x00007fff885c2cde abort + 83
2   ruby-193                      	0x000000010003853e rb_bug_errno + 0
3   ruby-193                      	0x00000001000fc652 signal_exec + 0
4   libSystem.B.dylib             	0x00007fff8853466a _sigtramp + 26
5   ruby-193                      	0x000000010014c275 classname + 49
6   ruby-193                      	0x000000010014c406 rb_class_path + 21
7   ruby-193                      	0x000000010014c8f0 rb_class_name + 29
8   ruby-193                      	0x000000010014c907 rb_class2name + 21
9   ruby-193                      	0x000000010014c959 rb_obj_classname + 29
10  ruby-193                      	0x000000010008d58e rb_any_to_s + 21
11  ruby-193                      	0x00000001000399ff name_err_mesg_to_str + 268
12  ruby-193                      	0x00000001001756e7 call_cfunc + 337
13  ruby-193                      	0x0000000100178b6f vm_call0 + 685
14  ruby-193                      	0x0000000100179fad rb_call0 + 171
15  ruby-193                      	0x0000000100179f00 rb_call + 59
16  ruby-193                      	0x000000010017a1cd rb_funcall + 534
17  ruby-193                      	0x00000001000739a0 w_object + 1018
18  ruby-193                      	0x000000010007325c w_obj_each + 139
19  ruby-193                      	0x000000010014e777 obj_ivar_i + 195
20  ruby-193                      	0x0000000100056986 foreach_safe_i + 62
21  ruby-193                      	0x000000010010822c st_foreach + 136
22  ruby-193                      	0x00000001000569e6 st_foreach_safe + 67
23  ruby-193                      	0x000000010014e80a obj_ivar_each + 130
24  ruby-193                      	0x000000010014e851 rb_ivar_foreach + 69
25  ruby-193                      	0x00000001000735a4 w_objivar + 218
26  ruby-193                      	0x0000000100074776 w_object + 4560
27  ruby-193                      	0x0000000100074b60 marshal_dump + 608
28  ruby-193                      	0x00000001001756b0 call_cfunc + 282
29  ruby-193                      	0x0000000100175517 vm_call_cfunc + 284
30  ruby-193                      	0x00000001001746e0 vm_call_method + 373
31  ruby-193                      	0x000000010016f242 vm_exec_core + 11449
32  ruby-193                      	0x000000010017f01a vm_exec + 147
33  ruby-193                      	0x000000010017f9ed rb_iseq_eval_main + 45
34  ruby-193                      	0x000000010003d3a7 ruby_exec_internal + 193
35  ruby-193                      	0x000000010003d4cb ruby_exec_node + 30
36  ruby-193                      	0x000000010003d49e ruby_run_node + 56
37  ruby-193                      	0x0000000100000daf main + 79 (main.c:40)
38  ruby-193                      	0x0000000100000d58 start + 52

Thread 1:
0   libSystem.B.dylib             	0x00007fff8850ef8a __semwait_signal + 10
1   libSystem.B.dylib             	0x00007fff88512da1 _pthread_cond_wait + 1286
2   ruby-193                      	0x0000000100182c8f native_cond_wait + 29
3   ruby-193                      	0x000000010018294a gvl_acquire + 90
4   ruby-193                      	0x0000000100185214 blocking_region_end + 33
5   ruby-193                      	0x0000000100185477 rb_thread_io_blocking_region + 207
6   ruby-193                      	0x000000010005d2c1 rb_read_internal + 60
7   ruby-193                      	0x000000010005e97d io_fillbuf + 177
8   ruby-193                      	0x0000000100060cf4 rb_io_getline_fast + 498
9   ruby-193                      	0x0000000100061175 rb_io_getline_1 + 372
10  ruby-193                      	0x0000000100061afb rb_io_getline + 63
11  ruby-193                      	0x0000000100061b48 rb_io_gets_m + 35
12  ruby-193                      	0x00000001001756b0 call_cfunc + 282
13  ruby-193                      	0x0000000100175517 vm_call_cfunc + 284
14  ruby-193                      	0x00000001001746e0 vm_call_method + 373
15  ruby-193                      	0x000000010016f242 vm_exec_core + 11449
16  ruby-193                      	0x000000010017f01a vm_exec + 147
17  ruby-193                      	0x000000010017db32 invoke_block_from_c + 584
18  ruby-193                      	0x000000010017dcb8 rb_vm_invoke_proc + 253
19  ruby-193                      	0x0000000100183f61 thread_start_func_2 + 512
20  ruby-193                      	0x000000010018309d thread_start_func_1 + 51
21  libSystem.B.dylib             	0x00007fff8850d4f6 _pthread_start + 331
22  libSystem.B.dylib             	0x00007fff8850d3a9 thread_start + 13

Thread 2:
0   libSystem.B.dylib             	0x00007fff8850ef8a __semwait_signal + 10
1   libSystem.B.dylib             	0x00007fff88512da1 _pthread_cond_wait + 1286
2   ruby-193                      	0x0000000100182cce native_cond_timedwait + 37
3   ruby-193                      	0x000000010018367d thread_timer + 121
4   libSystem.B.dylib             	0x00007fff8850d4f6 _pthread_start + 331
5   libSystem.B.dylib             	0x00007fff8850d3a9 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000085  rcx: 0x000000010035c948  rdx: 0x0000000000000000
  rdi: 0x000000000000212e  rsi: 0x0000000000000006  rbp: 0x000000010035c960  rsp: 0x000000010035c948
   r8: 0x00007fff70f2da40   r9: 0x0000000000000000  r10: 0x00007fff8851e616  r11: 0xffffff80002e4730
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x00000001011338a8  r15: 0x00000001005ffe48
  rip: 0x00007fff885225d6  rfl: 0x0000000000000202  cr2: 0x000000010035afd8

Binary Images:
       0x100000000 -        0x100225ff7 +ruby-193 ??? (???) <0104E33C-47DB-D944-5F62-DB75E2831561> /Users/kosaki/ruby/ruby-193
       0x100362000 -        0x100363fff +encdb.bundle ??? (???) <04EBD9DF-B44E-2812-7F4F-CD5B4FB7D63E> /Users/kosaki/ruby/.ext/x86_64-darwin10.7.4/enc/encdb.bundle
       0x100366000 -        0x100367fff +transdb.bundle ??? (???) <73AC857E-8D91-621B-7AAD-9B7039388736> /Users/kosaki/ruby/.ext/x86_64-darwin10.7.4/enc/trans/transdb.bundle
       0x10036b000 -        0x10036bfff +fiber.bundle ??? (???) <CF5D174B-6ED4-E9CF-F15E-39AF1744689C> /Users/kosaki/ruby/.ext/x86_64-darwin10.7.4/fiber.bundle
       0x10036e000 -        0x10036efff +continuation.bundle ??? (???) <4A6796D6-3ABF-B495-D7D4-A7473CBCE9C0> /Users/kosaki/ruby/.ext/x86_64-darwin10.7.4/continuation.bundle
    0x7fff5fc00000 -     0x7fff5fc3bdef  dyld 132.1 (???) <DB8B8AB0-0C97-B51C-BE8B-B79895735A33> /usr/lib/dyld
    0x7fff805a7000 -     0x7fff8065dfff  libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <1960E662-D35C-5D98-EB16-D43166AE6A22> /usr/lib/libobjc.A.dylib
    0x7fff862ec000 -     0x7fff862f0ff7  libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5> /usr/lib/system/libmathCommon.A.dylib
    0x7fff86677000 -     0x7fff866f4fef  libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C> /usr/lib/libstdc++.6.dylib
    0x7fff884d3000 -     0x7fff88694fff  libSystem.B.dylib 125.2.10 (compatibility 1.0.0) <C80582B8-D8F7-A378-E27D-28411EE53901> /usr/lib/libSystem.B.dylib
    0x7fff88789000 -     0x7fff887d5fff  libauto.dylib ??? (???) <328CCF97-091D-C529-E576-C78583445711> /usr/lib/libauto.dylib
    0x7fffffe00000 -     0x7fffffe01fff  libSystem.B.dylib ??? (???) <C80582B8-D8F7-A378-E27D-28411EE53901> /usr/lib/libSystem.B.dylib

 




-- 
http://redmine.ruby-lang.org

In This Thread

Prev Next