Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 282251

Summary: Please update cl-opengl to latest commit, fixes idle problem
Product: Gentoo Linux Reporter: Brent Millare <puttanginyournose>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://common-lisp.net/cgi-bin/darcsweb/darcsweb.cgi?r=cl-opengl-cl-opengl;a=commitdiff;h=20090725225554-28748-44af07993c30ff5a08f63ce8c379c1d392041eda.gz
Whiteboard:
Package list:
Runtime testing required: ---

Description Brent Millare 2009-08-21 22:48:41 UTC
From xristos in cl-opengl-devel:

* enable-event & disable-event do not check if the event
is already enabled/disabled. This can lead to enabling
the idle callback more than once for a given window
which can break the event loop in various ways.
For instance, in current cl-opengl, rb-double enables
idle once per mouseclick and this leads to multiple
entires in *windows-with-idle-event* which in turn
means that the idle method will get called multiple times
breaking the logic.

* Currently the idle callback is disabled only in close,
and only when *windows-with-idle-event* is nil. We need to
do the same check in disable-event too. Currently this
manifests in gears.lisp. If you minimize the window,
(disable-event :idle) will get called but the callback
will continue to run -> 100% cpu usage.



Reproducible: Always
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-22 18:47:40 UTC
Need more info. Reopen as necessary.

%% emerge -pv cl-opengl

emerge: there are no ebuilds to satisfy "cl-opengl".