[MacRuby-devel] [MacRuby] #299: macruby core dumps.

2009-07-21 Thread MacRuby
#299: macruby core dumps.
--+-
 Reporter:  rohinton.ka...@…  |   Owner:  lsansone...@…
 Type:  defect|  Status:  new  
 Priority:  minor |   Milestone:   
Component:  MacRuby   |Keywords:   
--+-
 I ran the following test

 lapfmigaou2:ruby$ cat r32.rb
 a = [ 1, 3, "cat" ]

 h = { dog: "canine", fox: "lupine" }

 # Create an Enumerators
 enum_a = a.to_enum
 enum_h = h.to_enum

 enum_a.next
 enum_h.next
 enum_a.next
 enum_h.next
 lapfmigaou2:ruby$


 and got the following;

 lapfmigaou2:ruby$ /usr/local/bin/macruby r32.rb
 r32.rb:9: [BUG] Segmentation fault
 MacRuby version 0.4 (ruby 1.9.1) [universal-darwin9.5, x86_64]

 -- stack frame 
  (0xc0860): 0004
 0001 (0xc0868): 
 0002 (0xc0870): 0004
 0003 (0xc0878): 
 0004 (0xc0880): 8000a1440
 0005 (0xc0888): 800037ac0
 0006 (0xc0890): 8000a1080
 0007 (0xc0898): 8000a0f00
 0008 (0xc08a0): 0004
 0009 (0xc08a8): 
 0010 (0xc08b0): 8000a1080
 0011 (0xc08b8): 0004
 0012 (0xc08c0): 8000a0c00
 -- control frame --
 c:0004 p: s:0013 b:0013 l:0019e0 d:0019e0 CFUNC  :next
 c:0003 p:0050 s:0010 b:0010 l:09 d:09 TOPr32.rb:9
 c:0002 p: s:0004 b:0004 l:03 d:03 FINISH :inherited:
 c:0001 p: s:0002 b:0002 l:01 d:01 TOP
 ---
 DBG> : "r32.rb:9:in `next'"
 DBG> : "r32.rb:9:in `'"
 -- backtrace of native function call (Use addr2line) --
 0x10010f301
 0x100029544
 0x100029628
 0x1000c245d
 0x7fff8031e3fa
 0x100247000
 ---
 Abort trap

 This was against the latest version of MacRuby.

-- 
Ticket URL: 
MacRuby 

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] [MacRuby] #300: HotCocoa toolbar doesn't always honour ordering of items

2009-07-21 Thread MacRuby
#300: HotCocoa toolbar doesn't always honour ordering of items
-+--
 Reporter:  d...@…|   Owner:  lsansone...@…
 Type:  defect   |  Status:  new  
 Priority:  major|   Milestone:   
Component:  MacRuby  |Keywords:  HotCocoa NSToolbar   
-+--
 If you have a toolbar and use a mix of default symbols and NSToolbarItems
 then the toolbar will not maintain the ordering specified. All of the
 symboled items will move to the left of the toolbar and all the
 NSToolbarItems will be on the right.

 The attached patch fixes this issue.

-- 
Ticket URL: 
MacRuby 

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel