[MacRuby] #930: SIGABRT in MacRuby 0.7 with Sequel + SQLite3-Ruby gem

MacRuby ruby-noreply at macosforge.org
Tue Oct 5 01:07:59 PDT 2010


#930: SIGABRT in MacRuby 0.7 with Sequel + SQLite3-Ruby gem
-------------------------------+--------------------------------------------
 Reporter:  mario@…            |       Owner:  lsansonetti@…        
     Type:  defect             |      Status:  new                  
 Priority:  blocker            |   Milestone:  MacRuby 0.7          
Component:  MacRuby            |    Keywords:                       
-------------------------------+--------------------------------------------
 When using MacRuby 0.7 official release, I attempt to cycle through a
 directory of files with MP3's in them, to gather the MP3 tags from them,
 using TagLibBundle.  The storage Medium I've choosen, is Sequel, and
 SQLite3.  After patching for Kernel#require issue in Sequel, I am able to
 load both Sequel, and SQLite3, with no problems.  But when I attempt to
 scan through the directory, and start creating new Entries in my Database,
 it crashes on the first song it runs into.  I've tested even with using
 generic strings, and it still remains the same.

 Attached, is the Backtrace, and the minimalistic version of the code.
 Required libraries are Sequel (Patched for Kernel.require, instead of
 super in Sequel#self.require), and SQLite3-Ruby.  Checking through
 Backtrace, and rb_symbolicate, it seems that it is crashing on the inspect
 object, in which it returns the printable version of the Instance,
 specifically line 858:

 def inspect
   "#<#{model.name} @values=#{inspect_values}>" <-- this line
 end

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



More information about the macruby-tickets mailing list