[Bug 1274456] Re: BOINC is always suspended, if set to work when IDLE
Jussi
1274456 at bugs.launchpad.net
Thu Jan 30 22:43:48 UTC 2014
The bug seems to be in client/hostinfo_unix.cpp.
According to documentation, right after XOpenDisplay call, there should be XScreenSaverQueryExtension call.
See http://linux.die.net/man/3/xscreensaverqueryextension .
So this:
disp = XOpenDisplay(NULL);
// XOpenDisplay may return NULL if there is no running X
// or DISPLAY points to wrong/invalid display
if(disp != NULL) {
xssInfo = XScreenSaverAllocInfo();
}
Should continue like this:
if (XScreenSaverQueryExtension(disp, &event_base_return, &error_base_return) == false ) //Undeclared variables are integers.
//Error handling here!
I would have investigate and test this by myself, but compiling documentation of BOINC is incorrect and workarounds presented on forums didn't help. I don't have the patience.
--
You received this bug notification because you are a member of Debian
BOINC Maintainers, which is subscribed to boinc in Ubuntu.
https://bugs.launchpad.net/bugs/1274456
Title:
BOINC is always suspended, if set to work when IDLE
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/boinc/+bug/1274456/+subscriptions
More information about the pkg-boinc-devel
mailing list