[MacRuby] #203: Marshal.dump does not serialize an Exception's backtrace

MacRuby ruby-noreply at macosforge.org
Sat Dec 18 10:15:45 PST 2010


#203: Marshal.dump does not serialize an Exception's backtrace
----------------------------------------+-----------------------------------
 Reporter:  vincent.isambart@…          |       Owner:  lsansonetti@…        
     Type:  defect                      |      Status:  new                  
 Priority:  major                       |   Milestone:  MacRuby 1.0          
Component:  MacRuby                     |    Keywords:                       
----------------------------------------+-----------------------------------

Comment(by jhemmelg@…):

 OK.  The problem was actually in the w_objivar function in marshal.c.  In
 the 1.9.2 codebase this function marshals out all ivars, regardless of
 whether they have a single '@' character at the beginning or not.  In
 macruby the code ends up calling ivar_i in variable.c to determine what
 ivars to marshal out.  This function does discriminate and only returns
 ivars that start with a '@' character.

 The problem with strings mentioned above still exists but is probably
 better dealt with when fixing the string encoding issues.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/203#comment:3>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list