[MacRuby-devel] [MacRuby] #794: `pthread_mutex_unlock(&t->sleep_mutex)' failed: Invalid argument (22)

MacRuby ruby-noreply at macosforge.org
Thu Jul 15 13:55:14 PDT 2010


#794: `pthread_mutex_unlock(&t->sleep_mutex)' failed: Invalid argument (22)
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by lsansonetti@…):

 Looks like it's related to thread cancelation. This is an area we are
 currently looking at (in order to fix similar bugs you filed with
 threads).

 Regarding crash traces, if you can, it's better to run your test using the
 version of MacRuby in the build directory instead of the one that has been
 installed. This way, it has full debugging symbols. I generally do it like
 this: $ DYLD_LIBRARY_PATH=. ./macruby -I./lib foo.rb.

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



More information about the MacRuby-devel mailing list