[#41916] Proposal: Bitmap Marking GC — Narihiro Nakamura <authornari@...>

Hi.

18 messages 2012/01/05

[#41941] [ruby-trunk - Bug #5851][Open] make check fails when compiling with GCC 4.7 - *** longjmp causes uninitialized stack frame *** — Vit Ondruch <v.ondruch@...>

12 messages 2012/01/06

[#41979] [ruby-trunk - Bug #5865][Open] Exception#== should return false if the classes differ — Hiro Asari <asari.ruby@...>

10 messages 2012/01/08

[#42003] [ruby-trunk - Bug #5871][Open] regexp \W matches some word characters when inside a case-insensitive character class — Gareth Adams <gareth@...>

14 messages 2012/01/09

[#42016] [ruby-trunk - Feature #5873][Open] Adopt FFI over DL — Heesob Park <phasis@...>

15 messages 2012/01/10

[#42149] [ruby-trunk - Feature #5899][Open] chaining comparsions. — Ondrej Bilka <neleai@...>

12 messages 2012/01/16

[#42164] [ruby-trunk - Feature #5903][Open] Optimize st_table (take 2) — Yura Sokolov <funny.falcon@...>

18 messages 2012/01/17

[ruby-core:42193] [Backport87 - Backport #4339] Segmentation fault during Marshal.load

From: Vit Ondruch <v.ondruch@...>
Date: 2012-01-20 15:41:44 UTC
List: ruby-core #42193
Issue #4339 has been updated by Vit Ondruch.


Bump.

Can somebody take look on the ruby-1.8.7-marshal.patch patch, please?
----------------------------------------
Backport #4339: Segmentation fault during Marshal.load
https://bugs.ruby-lang.org/issues/4339

Author: Sean Bradly
Status: Feedback
Priority: Normal
Assignee: Shyouhei Urabe
Category: core
Target version: 


=begin
 Conditions that seem to have to be satisfied:
 
 1) A call to Marshal.load must be interrupted by a context switch.
 2) Another thread calls GC.start manually.
 3) The object being marshaled needs to have a lot of child objects to be reliable.
 
 This appears to be a thread-safety issue affecting Ruby 1.8.x only. It triggers reliably for me on:
 
 Ubuntu     -> ruby 1.8.7 (2010-06-23 patchlevel 299) [i686-linux]
 Ubuntu-rvm -> ruby 1.8.7 (2010-12-23 patchlevel 330) [i686-linux]
 MacRuby    -> ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
 Mac-rvm    -> ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin10.4.0]
=end



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

In This Thread

Prev Next