Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116536 - electricsheep grabs all available X11 sockets due to critical xloadimage bug
Summary: electricsheep grabs all available X11 sockets due to critical xloadimage bug
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-23 12:56 UTC by Chet McNeill
Modified: 2006-01-04 14:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch removing the xloadimage calls from electricsheep (electricsheep-2.6.3-xloadimg.patch,810 bytes, patch)
2005-12-23 12:57 UTC, Chet McNeill
Details | Diff
Ebuild that applies suggested patch to fix xlaodimage related bug (electricsheep-2.6.3-r2.ebuild,2.12 KB, text/plain)
2005-12-23 12:58 UTC, Chet McNeill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chet McNeill 2005-12-23 12:56:47 UTC
The electricsheep screensaver shows fractal movies in a rotation. Each time it switches movies it calls xsetbg (aka xloadimage). Xloadimage grabs two X11 client sockets, and only releases one of them. So over time electricsheep calls xloadimage enough times that there are no free X11 sockets left and no new X11 clients can be opened. This generally occurs within a relatively short period, say a couple of days.

The enclosed patch and ebuild temporarily fix the problem by bypassing electricsheep's calls to xloadimage.

More details on the xloadinfo bug can be seen here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=325689
Comment 1 Chet McNeill 2005-12-23 12:57:46 UTC
Created attachment 75405 [details, diff]
Patch removing the xloadimage calls from electricsheep
Comment 2 Chet McNeill 2005-12-23 12:58:22 UTC
Created attachment 75406 [details]
Ebuild that applies suggested patch to fix xlaodimage related bug
Comment 3 Daniel Black (RETIRED) gentoo-dev 2006-01-04 13:41:19 UTC
desktop-misc people media-gfx/xloadimage patch attached.
Comment 4 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-01-04 13:45:04 UTC
Dupe of 72589.
Comment 5 Daniel Black (RETIRED) gentoo-dev 2006-01-04 14:31:45 UTC
Chet - thanks your patch is in electricsheep-2.6.3-r2

It seemed to also be included in 2.6.4 that I also added.