[MacRuby] #1476: The dispatcher in the current master branch does not work reliable in a threaded env .
#1476: The dispatcher in the current master branch does not work reliable in a threaded env . -------------------------------------+-------------------------------------- Reporter: eloy.de.enige@… | Owner: eloy.de.enige@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: regression dispatcher threads -------------------------------------+-------------------------------------- While working on a GCD version of MacBacon I noticed that on HEAD I get a lot of warnings about passing a block to an Objective-C method and segfaults. The warning clearly shows that these messages are being sent to the incorrect object, because the code sends it to pure Ruby objects, and the segfaults are a logical result from this. The problem does not exist in 0.10. I will have to do some git bisecting to get to the commit that introduced the regression and report back. -- Ticket URL: <http://www.macruby.org/trac/ticket/1476> MacRuby <http://macruby.org/>
#1476: The dispatcher in the current master branch does not work reliable in a threaded env . -------------------------------------+-------------------------------------- Reporter: eloy.de.enige@… | Owner: eloy.de.enige@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: regression dispatcher threads -------------------------------------+-------------------------------------- Comment(by eloy.de.enige@…): Btw, the warning that I mentioned does not include any debugging info. It would be nice if it would include at least the selector and possible object info and backtrace. -- Ticket URL: <http://www.macruby.org/trac/ticket/1476#comment:1> MacRuby <http://macruby.org/>
#1476: The dispatcher in the current master branch does not work reliable in a threaded env . -------------------------------------+-------------------------------------- Reporter: eloy.de.enige@… | Owner: eloy.de.enige@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: regression dispatcher threads -------------------------------------+-------------------------------------- Comment(by watson1978@…): MacRuby's RubyGems and Rake were updated recently. I guess that warning is caused by updated them. Maybe, crashes also... -- Ticket URL: <http://www.macruby.org/trac/ticket/1476#comment:2> MacRuby <http://macruby.org/>
#1476: The dispatcher in the current master branch does not work reliable in a threaded env . -------------------------------------+-------------------------------------- Reporter: eloy.de.enige@… | Owner: eloy.de.enige@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: regression dispatcher threads -------------------------------------+-------------------------------------- Comment(by watson1978@…): I found your branch as GCD version of MacBacon. I saw crashes using latest which was compile by myself. Strangely, Nightly build does not crash.... -- Ticket URL: <http://www.macruby.org/trac/ticket/1476#comment:3> MacRuby <http://macruby.org/>
#1476: The dispatcher in the current master branch does not work reliable in a threaded env . -------------------------------------+-------------------------------------- Reporter: eloy.de.enige@… | Owner: eloy.de.enige@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: regression dispatcher threads -------------------------------------+-------------------------------------- Comment(by watson1978@…): Maybe, it looks like that MacRuby needs https://github.com/MacRuby/MacRuby/blob/master/dispatcher.cpp#L677-688 for OS X 10.7. I think Nightly build has been made on 10.6, so Nightly works without crash. -- Ticket URL: <http://www.macruby.org/trac/ticket/1476#comment:4> MacRuby <http://macruby.org/>
#1476: The dispatcher in the current master branch does not work reliable in a threaded env . -------------------------------------+-------------------------------------- Reporter: eloy.de.enige@… | Owner: eloy.de.enige@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: regression dispatcher threads -------------------------------------+-------------------------------------- Comment(by eloy.de.enige@…): Great detective work, Watson! -- Ticket URL: <http://www.macruby.org/trac/ticket/1476#comment:5> MacRuby <http://macruby.org/>
#1476: The dispatcher in the current master branch does not work reliable in a threaded env . -------------------------------------------+-------------------------------- Reporter: eloy.de.enige@… | Owner: eloy.de.enige@… Type: defect | Status: closed Priority: blocker | Milestone: Component: MacRuby | Resolution: fixed Keywords: regression dispatcher threads | -------------------------------------------+-------------------------------- Changes (by watson1978@…): * status: new => closed * resolution: => fixed Comment: Fixed with https://github.com/MacRuby/MacRuby/commit/34c0f63b0bc275f81c4e1c74909c5d2df5... -- Ticket URL: <http://www.macruby.org/trac/ticket/1476#comment:6> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby