[#30589] [Bug #3391] Use single exclamation mark instead of double exclamation mark for IRB — Diego Viola <redmine@...>

Bug #3391: Use single exclamation mark instead of double exclamation mark for IRB

10 messages 2010/06/04

[#30672] [Bug #3411] Time.local 1916,5,1 #=> 1916-04-30 23:00:00 +0100 — Benoit Daloze <redmine@...>

Bug #3411: Time.local 1916,5,1 #=> 1916-04-30 23:00:00 +0100

12 messages 2010/06/08

[#30699] [Bug #3419] 1.9.2-preview3 possible bug with Rails 3 active_record sqlite_adapter — Joe Sak <redmine@...>

Bug #3419: 1.9.2-preview3 possible bug with Rails 3 active_record sqlite_adapter

9 messages 2010/06/09

[#30734] [Bug #3428] ri outputs ansi escape sequences even when stdout is not a tty — caleb clausen <redmine@...>

Bug #3428: ri outputs ansi escape sequences even when stdout is not a tty

11 messages 2010/06/11

[#30756] [Feature #3436] Spawn the timer thread lazily — Maximilian Gass <redmine@...>

Feature #3436: Spawn the timer thread lazily

15 messages 2010/06/13
[#32686] [Ruby 1.9-Feature#3436] Spawn the timer thread lazily — Mark Somerville <redmine@...> 2010/10/04

Issue #3436 has been updated by Mark Somerville.

[ruby-core:30921] [Bug #1934][Assigned] Segmentation fault

From: Yusuke Endoh <redmine@...>
Date: 2010-06-27 14:47:42 UTC
List: ruby-core #30921
Issue #1934 has been updated by Yusuke Endoh.

Status changed from Open to Assigned
Assigned to set to Narihiro Nakamura
Target version set to 1.9.x

Hi,

I confirmed this issue at r28115 of trunk.
This issue has been fixed at r28191 in ruby_1_9_2, but not in trunk
because the code is quite different between 1_9_2 and trunk because
of lazy sweep feature, which is included only in trunk.
Narihiro, who is the author of lazy sweep, is assigned.

Here is a log by valgrind:

...
# of primes: 129 results: []  prime: 739  process time: 189.97
# of primes: 130 results: []  prime: 743  process time: 197.16
# of primes: 131 results: []  prime: 751  process time: 205.02
==24732==
==24732== Invalid read of size 4
==24732==    at 0x8068492: rb_newobj (gc.c:1049)
==24732==    by 0x817CDFB: ary_new (array.c:297)
==24732==    by 0x817EA16: rb_ary_combination (array.c:331)
==24732==    by 0x815AC61: vm_call0 (vm_eval.c:78)
==24732==    by 0x815B98F: iterate_method (vm_eval.c:234)
==24732==    by 0x81557C7: rb_iterate (vm_eval.c:851)
==24732==    by 0x815595E: rb_block_call (vm_eval.c:931)
==24732==    by 0x81A95FA: enumerator_each (enumerator.c:317)
==24732==    by 0x815AC61: vm_call0 (vm_eval.c:78)
==24732==    by 0x815B98F: iterate_method (vm_eval.c:234)
==24732==    by 0x81557C7: rb_iterate (vm_eval.c:851)
==24732==    by 0x815595E: rb_block_call (vm_eval.c:931)
==24732==  Address 0x501c4d4 is 116 bytes inside a block of size 16,384 free'd
==24732==    at 0x4022B8A: free (vg_replace_malloc.c:323)
==24732==    by 0x806375C: free_unused_heaps (gc.c:1869)
==24732==    by 0x816E2C4: rb_threadptr_execute_interrupts_rec (thread.c:1295)
==24732==    by 0x816E58E: rb_thread_check_ints (thread.c:968)
==24732==    by 0x81A616E: collect_all (enum.c:379)
==24732==    by 0x8159C67: vm_yield_with_cfunc (vm_insnhelper.c:724)
==24732==    by 0x8165CDE: rb_yield (vm.c:587)
==24732==    by 0x817EA75: rb_ary_combination (array.c:4078)
==24732==    by 0x815AC61: vm_call0 (vm_eval.c:78)
==24732==    by 0x815B98F: iterate_method (vm_eval.c:234)
==24732==    by 0x81557C7: rb_iterate (vm_eval.c:851)
==24732==    by 0x815595E: rb_block_call (vm_eval.c:931)

-- 
Yusuke Endoh <mame@tsg.ne.jp>
----------------------------------------
http://redmine.ruby-lang.org/issues/show/1934

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

In This Thread