[MacRuby-devel] [MacRuby] #573: Creating a void pointer causes abort()

MacRuby ruby-noreply at macosforge.org
Fri Jan 22 00:58:01 PST 2010


#573: Creating a void pointer causes abort()
--------------------------------+-------------------------------------------
 Reporter:  carlo@…             |       Owner:  lsansonetti@…        
     Type:  defect              |      Status:  new                  
 Priority:  major               |   Milestone:  MacRuby 0.5          
Component:  MacRuby             |    Keywords:                       
--------------------------------+-------------------------------------------
 When creating a void pointer (`Pointer.new_with_type("v")`), the app
 exits:

     Assertion failed: (Ty->isSized() && "Cannot getTypeInfo() on a type
 that is unsized!"), function getTypeSizeInBits, file TargetData.cpp, line
 397.
     Abort trap

 Tested in MR 0.5b2 on Snow Leopard.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/573>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list