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.
The bug seems to be in client/ hostinfo_ unix.cpp. ryExtension call. linux.die. net/man/ 3/xscreensaverq ueryextension .
According to documentation, right after XOpenDisplay call, there should be XScreenSaverQue
See http://
So this:
disp = XOpenDisplay(NULL);
xssInfo = XScreenSaverAll ocInfo( );
// XOpenDisplay may return NULL if there is no running X
// or DISPLAY points to wrong/invalid display
if(disp != NULL) {
}
Should continue like this:
if (XScreenSaverQu eryExtension( 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.