[MacPorts] #43965: tclsh8.5 takes 100% CPU drawing fetch progress bar
#43965: tclsh8.5 takes 100% CPU drawing fetch progress bar --------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.99 Keywords: | Port: --------------------------+-------------------------------- While fetching a large distfile, tclsh8.5 takes 100% CPU, presumably to draw the new progress bar. -- Ticket URL: <https://trac.macports.org/ticket/43965> MacPorts <http://www.macports.org/> Ports system for OS X
#43965: tclsh8.5 takes 100% CPU drawing fetch progress bar ---------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.99 Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Comment (by cal@…): I noticed the same thing, but I'm not entirely convinced it's the progress bar. Do you see the same thing in 2.3.0? This could just as well be caused by the new code using curl_multi_perform to be able to quickly handle Ctrl+C. -- Ticket URL: <https://trac.macports.org/ticket/43965#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43965: tclsh8.5 takes 100% CPU drawing fetch progress bar ---------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.99 Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Comment (by starkhalo@…): I've experience two times now —since macports upgrade— issues with the progress bar bugging out with it filling over the entire screen while flashing progress status text at different offsets leaving me after I ctrl-brk with an inverted terminal text. I have no idea how to report this, perhaps I can log all terminal output for when it happens again. -- Ticket URL: <https://trac.macports.org/ticket/43965#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43965: tclsh8.5 takes 100% CPU drawing fetch progress bar ---------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.99 Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Comment (by cal@…): Replying to [comment:2 starkhalo@…]:
I've experienced two times now —since macports upgrade— issues with the progress bar bugging out with it filling over the entire screen while flashing progress status text at different offsets, leaving me after I ctrl-brk with an inverted terminal text.
That's a different issue, please open a separate ticket about this. I don't think there's anything we can do about that as long as we don't have signal handling (which is what I'm currently working on on trunk), though. You'll probably also get weird results when resizing the terminal or in very small terminals. We need to handle SIGWINCH to fix this. -- Ticket URL: <https://trac.macports.org/ticket/43965#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#43965: tclsh8.5 takes 100% CPU drawing fetch progress bar ---------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.3.99 Resolution: fixed | Keywords: Port: | ---------------------------+-------------------------------- Changes (by cal@…): * status: new => closed * resolution: => fixed Comment: Fixed in r120901, r120902. Not setting a milestone, because this was caused by the signal handling code, not the progress bar, and that hasn't been in a released version, so it's a trunk-only bug. -- Ticket URL: <https://trac.macports.org/ticket/43965#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#43965: tclsh8.5 takes 100% CPU drawing fetch progress bar ---------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.3.99 Resolution: fixed | Keywords: Port: | ---------------------------+-------------------------------- Comment (by ryandesign@…): Thanks. I forgot to let you know that yes, I did try 2.3.0, and did not see the same problem there. -- Ticket URL: <https://trac.macports.org/ticket/43965#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts