[MacRuby] #757: NSProgressIndicator takes 100% CPU
#757: NSProgressIndicator takes 100% CPU -----------------------------------+---------------------------------------- Reporter: jakub.suder@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: -----------------------------------+---------------------------------------- I've just noticed that in a MacRuby app (this happened in mine, but it also seems to happen in a blank new MacRuby app, but not in a pure ObjC app) if there's a spinner (NSProgressIndicator) in the window and it's turned on, it takes 100% of the CPU (switching between the cores now and then). I think this might be the same issue as here: http://www.macruby.org/trac/ticket/136. I'm running on 0.6 stable. Attaching sample project for testing. -- Ticket URL: <http://www.macruby.org/trac/ticket/757> MacRuby <http://macruby.org/>
#757: NSProgressIndicator takes 100% CPU -----------------------------------+---------------------------------------- Reporter: jakub.suder@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: -----------------------------------+---------------------------------------- Comment(by lsansonetti@…): I reproduce the problem and confirm that a pure Objective-C variant (even with GC enabled) doesn't have this issue. Strangely, sharking the process doesn't reveal anything interesting, the program spending most of its time in NSUIHeartBeat. But I do suspect the GCD thread hooks. -- Ticket URL: <http://www.macruby.org/trac/ticket/757#comment:1> MacRuby <http://macruby.org/>
#757: NSProgressIndicator takes 100% CPU -----------------------------------+---------------------------------------- Reporter: jakub.suder@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: -----------------------------------+---------------------------------------- Comment(by lsansonetti@…): It's not the thread hooks. It's also apparently not related to GC, since the problem persists when disabling it. -- Ticket URL: <http://www.macruby.org/trac/ticket/757#comment:2> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby