[MacRuby] #1029: Possible PDFKit bug

MacRuby ruby-noreply at macosforge.org
Tue Dec 7 19:26:55 PST 2010


#1029: Possible PDFKit bug
----------------------------------+-----------------------------------------
 Reporter:  yasuimao@…            |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by lsansonetti@…):

 This is a very strange bug. I'm 99% convinced that this is a bug in
 PDFKit, as it seems that the internal PDFSelection objects get corrupted
 during the -findString:withOptions: call.

 In 10.6.5 I am able to reproduce the crash from MacRuby but can't
 reproduce it from pure Objective-C, yet.

 A temporary workaround is to pause the collection when calling
 findString:withOptions:.

 {{{
 GC.disable
 ary = doc.findString("the", withOptions:NSCaseInsensitiveSearch)
 GC.enable
 }}}

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



More information about the macruby-tickets mailing list