A task does not suspend correctly if my mac was displaying the Einstein screensaver when I interrupted it.
I think it's because the einstein screensaver (einsteinbinary_BRP4_1.00_graphics_i686-apple-darwin) is not code-signed and is denied access in some way.
Here's my log:
2/13/13 4:44:28.809 PM ScreenSaverEngine[43323]: *** WARNING: -[NSImage compositeToPoint:operation:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead. 2/13/13 4:44:28.809 PM ScreenSaverEngine[43323]: *** WARNING: -[NSImage compositeToPoint:fromRect:operation:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead. 2/13/13 4:44:29.970 PM einsteinbinary_BRP4_1.00_graphics_i686-apple-darwin[43326]: CPSGetCurrentProcess(): This call is deprecated and should not be called anymore. 2/13/13 4:44:29.970 PM einsteinbinary_BRP4_1.00_graphics_i686-apple-darwin[43326]: CPSSetForegroundOperationState(): This call is deprecated and should not be called anymore. 2/13/13 4:44:29.981 PM coreservicesd[60]: Application App:"einsteinbinary_BRP4_1.00_graphics_i686-apple-darwin" [ 0x0/0xd2ed2e] @ 0x0x7fa202ca9d50 tried to be brought forward, but isn't in fPermittedFrontASNs ( ( ASN:0x0-0xd2dd2d:) ), so denying. 2/13/13 4:44:29.981 PM WindowServer[74]: [cps/setfront] Failed setting the front application to einsteinbinary_BRP4_1.00_graphics_i686-apple-darwin, psn 0x0-0xd2ed2e, securitySessionID=0x186a4, err=-13066
Thereafter, the einsteinbinary_BRP4_1.33_i686-apple-darwin__BRP4cuda32OSX process continues to execute even though the BOINC Project Manager shows it as suspended (computer is in use).
If I disable Gatekeeper and let the screen saver come back on it all works fine, hence my suspicion that the screen saver is not code signed.
Also, if I use some other screensaver everything works fine, as expected.
I'm using a MacBook Pro with NVIDIA GeForce 8600M GT 512 MB, running 10.8.2 (Mountain Lion).
Copyright © 2024 Einstein@Home. All rights reserved.
Task not suspending on Mac OS X Mountain Lion
)
FYI, none of our applications, graphics or science apps, are code signed for Apple's Gatekeeper right now. You may add a rule to Gatekeeper that allows our apps to run like this:
Please make sure the path to the application is correct on your system.
However, it seems unlikely that the screensaver/Gatekeeper issue is related to the suspend issue which should rely solely on the communication between the BOINC client and the science application.
I'll ask the BOINC devs about it.
Cheers,
Oliver
Einstein@Home Project
Some more findings: * I can
)
Some more findings:
* The errors seem harmless as the screensaver works normally (standalone, called from the manager and as screensaver)
* Even core system apps show the same error:
2/15/13 2:31:50.145 PM coreservicesd[27]: Application App:"loginwindow" [ 0x0/0x1001] @ 0x0x7fbdd0c0f1a0 tried to be brought forward, but isn't in fPermittedFrontASNs ( ( ASN:0x0-0x413212e:) ), so denying.
* The workaround I suggested doesn't work unfortunately (in terms of getting rid of the "denying" log messages)
* Even disabling Gatekeeper (sudo spctl --master-disable) didn't silence those messages so it should be unrelated to this issue
Oliver
Einstein@Home Project
mmm you bought apple no need
)
mmm you bought apple no need to say anything else ....roll on ground laughing my ass off sorry not nice .......