#404: Segfault with ObjectSpace#each_object
---------------------------------------+------------------------------------
 Reporter:  keith.gautre...@…          |       Owner:  lsansone...@…        
     Type:  defect                     |      Status:  new                  
 Priority:  blocker                    |   Milestone:  MacRuby 0.5          
Component:  MacRuby                    |    Keywords:  objectspace segfault 
---------------------------------------+------------------------------------
 The following code causes a segfault on my machine (MacBookPro3,1):

 {{{
  #!/usr/local/bin/macruby
 ObjectSpace.each_object { |o| puts o }
 }}}

 Unfortunately, I am running the nightly build of MacRuby from
 http://macruby.icoretech.org and it doesn't seem to allow backtrace
 generation with gdb when compiled with:

 {{{
 macrubyc -o macruby_test -a x86_64 macruby_test.rb
 }}}

 I also get a segfault when the code is run under macirb.

 If someone who can generate backtraces could try that method and reproduce
 the segfault that would be great.  If no one becomes available I can try
 compiling macruby from source and running a backtrace.

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

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to