Jump to content
20 posts in this topic

Recommended Posts

Hi there,

 

on my freshly installed and with Time Machine restored ML GM I am experiencing problems accessing the Security and Privacy-panel in the preferences. Every other section like Dock, Mail, iCloud, Network, etc. are working properly.

But when I am trying to visit the Security it just shows "Loading Security..." in the upper bar in the Preferences window and stands still at the overview, even after 10 mins it won't get loaded.

 

Is there any fix or did anyone experience the same problem?

Same issue with a HP Probook 4530s, look in console for the error message.

Upgraded from Lion, same process as my main rig which is working fine, only difference is a patched AppleIntelCPUPowerManagement on the Probook for SandyBridge.

Repaired permissions, no difference.

I had both Time Machine and Migration Assistant foul up numerous permissions, many of which are not addressed using Disk Utility's repair. Try using Onyx and have it also reset home folder ACLs. Have no idea why, but Migration Assistant even managed to change permissions on "/" which diskutil won't fix and will cause serious issues :)

Repairing the permissions didn't fix it aswell and I don't have a patched IntelCPUPowerManagement but the NullCPUPowerManagement.

 

Cannot use Onyx because the developer is not verified by Apple, so I would have to change the Security-prefs to allow launching non-verified apps but I cannot access the Security-prefs ._.

 

@rcork:

A clean install.

 

I am wondering where the plist for GateKeeper is stored, so I might be able to change it manually.

you can also have onyx find bad plists in /L/Preferences but I had to remove a couple from ~/L/Preferences manually I believe security tab settings are in ~/Library/Preferences/com.apple.systempreferences.plist and not a separate plist

Where do I see the error msg?

In console

 

Here's my console log for opening System Preferences and then attempting to open Security & privacy prefpane:

23/07/2012 20:57:55.775 com.apple.launchd.peruser.501[129]: (com.apple.UserEventAgent-Aqua[299]) Could not setup Mach task special port 8: (os/kern) invalid argument
23/07/2012 20:57:56.330 blued[277]: kBTXPCUpdateUserPreferences gConsoleUserUID = 501
23/07/2012 20:57:56.383 UserEventAgent[299]: +[CLLocationManager appsUsingLocationWithInfo]: unrecognized selector sent to class 0x1171beea8
23/07/2012 20:57:56.384 UserEventAgent[299]: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[CLLocationManager appsUsingLocationWithInfo]: unrecognized selector sent to class 0x1171beea8'
*** First throw call stack:
(
0   CoreFoundation					  0x000000010e3f1716 __exceptionPreprocess + 198
1   libobjc.A.dylib					 0x000000010e231470 objc_exception_throw + 43
2   CoreFoundation					  0x000000010e487bba +[NSObject(NSObject) doesNotRecognizeSelector:] + 186
3   CoreFoundation					  0x000000010e3dfc3e ___forwarding___ + 414
4   CoreFoundation					  0x000000010e3dfa28 _CF_forwarding_prep_0 + 232
5   LocationMenu						0x000000010ff243be UserEventAgentFactory + 1614
6   LocationMenu						0x000000010ff241b0 UserEventAgentFactory + 1088
7   LocationMenu						0x000000010ff24119 UserEventAgentFactory + 937
8   UserEventAgent					  0x000000010d88f32f UserEventAgent + 4911
9   libdyld.dylib					   0x000000010ea517e1 start + 0
10  ???								 0x0000000000000002 0x0 + 2
)
23/07/2012 20:57:56.411 com.apple.launchd.peruser.501[129]: ([0x0-0x19019].com.apple.systempreferences[300]) Could not setup Mach task special port 8: (os/kern) invalid argument
23/07/2012 20:57:56.906 UserEventAgent[11]: Captive: [userAgentDied:139] User Agent @port=12039 Died
23/07/2012 20:57:56.910 com.apple.launchd.peruser.501[129]: (com.apple.UserEventAgent-Aqua[299]) Job appears to have crashed: Abort trap: 6
23/07/2012 20:57:56.910 com.apple.launchd.peruser.501[129]: (com.apple.UserEventAgent-Aqua) Throttling respawn: Will start in 9 seconds
23/07/2012 20:57:57.055 ReportCrash[274]: Saved crash report for UserEventAgent[299] version 46.17 to /Users/Simon/Library/Logs/DiagnosticReports/UserEventAgent_2012-07-23-205757_Simons-MacBook-Pro.crash
23/07/2012 20:57:57.060 ReportCrash[274]: Removing excessive log: file://localhost/Users/Simon/Library/Logs/DiagnosticReports/UserEventAgent_2012-07-23-205420_Simons-MacBook-Pro.crash
23/07/2012 20:58:02.463 System Preferences[300]: +[CLLocationManager appsUsingLocationWithInfo]: unrecognized selector sent to class 0x114ba8ea8
23/07/2012 20:58:02.464 System Preferences[300]: +[CLLocationManager appsUsingLocationWithInfo]: unrecognized selector sent to class 0x114ba8ea8
23/07/2012 20:58:02.466 System Preferences[300]: (
0   CoreFoundation					  0x0000000105d27716 __exceptionPreprocess + 198
1   libobjc.A.dylib					 0x0000000105b6a470 objc_exception_throw + 43
2   CoreFoundation					  0x0000000105dbdbba +[NSObject(NSObject) doesNotRecognizeSelector:] + 186
3   CoreFoundation					  0x0000000105d15c3e ___forwarding___ + 414
4   CoreFoundation					  0x0000000105d15a28 _CF_forwarding_prep_0 + 232
5   Security							0x000000010ec41323 SecurityPrefDebugLog + 13640
6   Security							0x000000010ec3fe9f SecurityPrefDebugLog + 8388
7   Security							0x000000010ec400f4 SecurityPrefDebugLog + 8985
8   Security							0x000000010ec40794 SecurityPrefDebugLog + 10681
9   CoreFoundation					  0x0000000105cd9b8a _CFXNotificationPost + 2554
10  Foundation						  0x0000000106029a76 -[NSNotificationCenter postNotificationName:object:userInfo:] + 64
11  AppKit							  0x0000000106823aa0 -[NSTableView _sendSelectionChangedNotificationForRows:columns:] + 176
12  AppKit							  0x0000000106808cdc -[NSTableView _enableSelectionPostingAndPost] + 411
13  AppKit							  0x0000000106807c32 -[NSTableView _verifySelectionIsOK] + 1194
14  AppKit							  0x00000001067ef6cd -[NSTableView _tileAndRedisplayAll] + 350
15  Security							0x000000010ec3fbfa SecurityPrefDebugLog + 7711
16  Security							0x000000010ec236ce Security + 22222
17  System Preferences				  0x000000010522ec4b System Preferences + 35915
18  System Preferences				  0x000000010522dbf4 System Preferences + 31732
19  Foundation						  0x0000000106053fe5 __NSFireDelayedPerform + 358
20  CoreFoundation					  0x0000000105ce44b4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
21  CoreFoundation					  0x0000000105ce3fcd __CFRunLoopDoTimer + 557
22  CoreFoundation					  0x0000000105cc97b9 __CFRunLoopRun + 1513
23  CoreFoundation					  0x0000000105cc8dd2 CFRunLoopRunSpecific + 290
24  HIToolbox						   0x0000000108097774 RunCurrentEventLoopInMode + 209
25  HIToolbox						   0x0000000108097454 ReceiveNextEventCommon + 166
26  HIToolbox						   0x00000001080973a3 BlockUntilNextEventMatchingListInMode + 62
27  AppKit							  0x00000001066b8fa3 _DPSNextEvent + 685
28  AppKit							  0x00000001066b8862 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
29  AppKit							  0x00000001066afc03 -[NSApplication run] + 517
30  AppKit							  0x0000000106654656 NSApplicationMain + 869
31  libdyld.dylib					   0x00000001095cd7e1 start + 0
32  ???								 0x0000000000000002 0x0 + 2
)
23/07/2012 20:58:05.912 com.apple.launchd.peruser.501[129]: (com.apple.UserEventAgent-Aqua[306]) Could not setup Mach task special port 8: (os/kern) invalid argument
23/07/2012 20:58:06.398 blued[277]: kBTXPCUpdateUserPreferences gConsoleUserUID = 501
23/07/2012 20:58:06.455 UserEventAgent[306]: +[CLLocationManager appsUsingLocationWithInfo]: unrecognized selector sent to class 0x10d0faea8
23/07/2012 20:58:06.456 UserEventAgent[306]: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[CLLocationManager appsUsingLocationWithInfo]: unrecognized selector sent to class 0x10d0faea8'
*** First throw call stack:
(
0   CoreFoundation					  0x0000000104315716 __exceptionPreprocess + 198
1   libobjc.A.dylib					 0x0000000104156470 objc_exception_throw + 43
2   CoreFoundation					  0x00000001043abbba +[NSObject(NSObject) doesNotRecognizeSelector:] + 186
3   CoreFoundation					  0x0000000104303c3e ___forwarding___ + 414
4   CoreFoundation					  0x0000000104303a28 _CF_forwarding_prep_0 + 232
5   LocationMenu						0x000000010d0af3be UserEventAgentFactory + 1614
6   LocationMenu						0x000000010d0af1b0 UserEventAgentFactory + 1088
7   LocationMenu						0x000000010d0af119 UserEventAgentFactory + 937
8   UserEventAgent					  0x00000001037aa32f UserEventAgent + 4911
9   libdyld.dylib					   0x00000001049557e1 start + 0
10  ???								 0x0000000000000002 0x0 + 2
)
23/07/2012 20:58:06.816 UserEventAgent[11]: Captive: [userAgentDied:139] User Agent @port=24023 Died
23/07/2012 20:58:06.818 com.apple.launchd.peruser.501[129]: (com.apple.UserEventAgent-Aqua[306]) Job appears to have crashed: Abort trap: 6
23/07/2012 20:58:06.818 com.apple.launchd.peruser.501[129]: (com.apple.UserEventAgent-Aqua) Throttling respawn: Will start in 10 seconds
23/07/2012 20:58:06.949 ReportCrash[274]: Saved crash report for UserEventAgent[306] version 46.17 to /Users/Simon/Library/Logs/DiagnosticReports/UserEventAgent_2012-07-23-205806_Simons-MacBook-Pro.crash
23/07/2012 20:58:06.954 ReportCrash[274]: Removing excessive log: file://localhost/Users/Simon/Library/Logs/DiagnosticReports/UserEventAgent_2012-07-23-205431_Simons-MacBook-Pro.crash
23/07/2012 20:58:08.796 Console[295]:  Marker - 23 Jul 2012 20:58:08

 

Fixing permissions through Onyx made no difference.

 

Using the com.apple.SystemPreferences.plist from a working mac made no difference, though it did enable the bluetooth prefpane so I guess that's a bonus.

Here's the new console log for opening the Security & Privacy prefpane:

23/07/2012 21:23:04.693 com.apple.launchd.peruser.501[135]: ([0x0-0x1d01d].com.apple.systempreferences[260]) Could not setup Mach task special port 8: (os/kern) invalid argument
23/07/2012 21:23:08.734 com.apple.launchd.peruser.501[135]: (com.apple.UserEventAgent-Aqua[265]) Could not setup Mach task special port 8: (os/kern) invalid argument
23/07/2012 21:23:08.995 blued[63]: kBTXPCUpdateUserPreferences gConsoleUserUID = 501
23/07/2012 21:23:09.087 UserEventAgent[265]: +[CLLocationManager appsUsingLocationWithInfo]: unrecognized selector sent to class 0x10c616ea8
23/07/2012 21:23:09.089 UserEventAgent[265]: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[CLLocationManager appsUsingLocationWithInfo]: unrecognized selector sent to class 0x10c616ea8'
*** First throw call stack:
(
0   CoreFoundation					  0x0000000103746716 __exceptionPreprocess + 198
1   libobjc.A.dylib					 0x000000010358b470 objc_exception_throw + 43
2   CoreFoundation					  0x00000001037dcbba +[NSObject(NSObject) doesNotRecognizeSelector:] + 186
3   CoreFoundation					  0x0000000103734c3e ___forwarding___ + 414
4   CoreFoundation					  0x0000000103734a28 _CF_forwarding_prep_0 + 232
5   LocationMenu						0x000000010c5cb3be UserEventAgentFactory + 1614
6   LocationMenu						0x000000010c5cb1b0 UserEventAgentFactory + 1088
7   LocationMenu						0x000000010c5cb119 UserEventAgentFactory + 937
8   UserEventAgent					  0x0000000102bea32f UserEventAgent + 4911
9   libdyld.dylib					   0x0000000103da07e1 start + 0
10  ???								 0x0000000000000002 0x0 + 2
)
23/07/2012 21:23:09.301 System Preferences[260]: +[CLLocationManager appsUsingLocationWithInfo]: unrecognized selector sent to class 0x11cb7dea8
23/07/2012 21:23:09.303 System Preferences[260]: +[CLLocationManager appsUsingLocationWithInfo]: unrecognized selector sent to class 0x11cb7dea8
23/07/2012 21:23:09.306 System Preferences[260]: (
0   CoreFoundation					  0x000000010db1e716 __exceptionPreprocess + 198
1   libobjc.A.dylib					 0x000000010d95f470 objc_exception_throw + 43
2   CoreFoundation					  0x000000010dbb4bba +[NSObject(NSObject) doesNotRecognizeSelector:] + 186
3   CoreFoundation					  0x000000010db0cc3e ___forwarding___ + 414
4   CoreFoundation					  0x000000010db0ca28 _CF_forwarding_prep_0 + 232
5   Security							0x000000011c9f7323 SecurityPrefDebugLog + 13640
6   Security							0x000000011c9f5e9f SecurityPrefDebugLog + 8388
7   Security							0x000000011c9f60f4 SecurityPrefDebugLog + 8985
8   Security							0x000000011c9f6794 SecurityPrefDebugLog + 10681
9   CoreFoundation					  0x000000010dad0b8a _CFXNotificationPost + 2554
10  Foundation						  0x000000010de28a76 -[NSNotificationCenter postNotificationName:object:userInfo:] + 64
11  AppKit							  0x000000010e621aa0 -[NSTableView _sendSelectionChangedNotificationForRows:columns:] + 176
12  AppKit							  0x000000010e606cdc -[NSTableView _enableSelectionPostingAndPost] + 411
13  AppKit							  0x000000010e605c32 -[NSTableView _verifySelectionIsOK] + 1194
14  AppKit							  0x000000010e5ed6cd -[NSTableView _tileAndRedisplayAll] + 350
15  Security							0x000000011c9f5bfa SecurityPrefDebugLog + 7711
16  Security							0x000000011c9d96ce Security + 22222
17  System Preferences				  0x000000010d030c4b System Preferences + 35915
18  System Preferences				  0x000000010d02fbf4 System Preferences + 31732
19  Foundation						  0x000000010de52fe5 __NSFireDelayedPerform + 358
20  CoreFoundation					  0x000000010dadb4b4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
21  CoreFoundation					  0x000000010dadafcd __CFRunLoopDoTimer + 557
22  CoreFoundation					  0x000000010dac07b9 __CFRunLoopRun + 1513
23  CoreFoundation					  0x000000010dabfdd2 CFRunLoopRunSpecific + 290
24  HIToolbox						   0x000000010fe9a774 RunCurrentEventLoopInMode + 209
25  HIToolbox						   0x000000010fe9a454 ReceiveNextEventCommon + 166
26  HIToolbox						   0x000000010fe9a3a3 BlockUntilNextEventMatchingListInMode + 62
27  AppKit							  0x000000010e4b6fa3 _DPSNextEvent + 685
28  AppKit							  0x000000010e4b6862 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
29  AppKit							  0x000000010e4adc03 -[NSApplication run] + 517
30  AppKit							  0x000000010e452656 NSApplicationMain + 869
31  libdyld.dylib					   0x00000001113c57e1 start + 0
32  ???								 0x0000000000000002 0x0 + 2
)
23/07/2012 21:23:09.481 UserEventAgent[11]: Captive: [userAgentDied:139] User Agent @port=16743 Died
23/07/2012 21:23:09.484 com.apple.launchd.peruser.501[135]: (com.apple.UserEventAgent-Aqua[265]) Job appears to have crashed: Abort trap: 6
23/07/2012 21:23:09.484 com.apple.launchd.peruser.501[135]: (com.apple.UserEventAgent-Aqua) Throttling respawn: Will start in 10 seconds
23/07/2012 21:23:09.610 ReportCrash[253]: Saved crash report for UserEventAgent[265] version 46.17 to /Users/Simon/Library/Logs/DiagnosticReports/UserEventAgent_2012-07-23-212309_Simons-MacBook-Pro.crash
23/07/2012 21:23:09.614 ReportCrash[253]: Removing excessive log: file://localhost/Users/Simon/Library/Logs/DiagnosticReports/UserEventAgent_2012-07-23-211936_Simons-MacBook-Pro.crash
23/07/2012 21:23:14.218 com.apple.launchd.peruser.501[135]: (com.apple.mdworker.bundles[266]) Could not setup Mach task special port 8: (os/kern) invalid argument
23/07/2012 21:23:19.486 com.apple.launchd.peruser.501[135]: (com.apple.UserEventAgent-Aqua[268]) Could not setup Mach task special port 8: (os/kern) invalid argument
23/07/2012 21:23:19.690 blued[63]: kBTXPCUpdateUserPreferences gConsoleUserUID = 501
23/07/2012 21:23:19.765 UserEventAgent[268]: +[CLLocationManager appsUsingLocationWithInfo]: unrecognized selector sent to class 0x116091ea8
23/07/2012 21:23:19.765 UserEventAgent[268]: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[CLLocationManager appsUsingLocationWithInfo]: unrecognized selector sent to class 0x116091ea8'
*** First throw call stack:
(
0   CoreFoundation					  0x000000010d152716 __exceptionPreprocess + 198
1   libobjc.A.dylib					 0x000000010cf93470 objc_exception_throw + 43
2   CoreFoundation					  0x000000010d1e8bba +[NSObject(NSObject) doesNotRecognizeSelector:] + 186
3   CoreFoundation					  0x000000010d140c3e ___forwarding___ + 414
4   CoreFoundation					  0x000000010d140a28 _CF_forwarding_prep_0 + 232
5   LocationMenu						0x0000000115dba3be UserEventAgentFactory + 1614
6   LocationMenu						0x0000000115dba1b0 UserEventAgentFactory + 1088
7   LocationMenu						0x0000000115dba119 UserEventAgentFactory + 937
8   UserEventAgent					  0x000000010c5ee32f UserEventAgent + 4911
9   libdyld.dylib					   0x000000010d7a67e1 start + 0
10  ???								 0x0000000000000002 0x0 + 2
)
23/07/2012 21:23:20.138 UserEventAgent[11]: Captive: [userAgentDied:139] User Agent @port=19583 Died
23/07/2012 21:23:20.140 com.apple.launchd.peruser.501[135]: (com.apple.UserEventAgent-Aqua[268]) Job appears to have crashed: Abort trap: 6
23/07/2012 21:23:20.141 com.apple.launchd.peruser.501[135]: (com.apple.UserEventAgent-Aqua) Throttling respawn: Will start in 10 seconds
23/07/2012 21:23:20.272 ReportCrash[253]: Saved crash report for UserEventAgent[268] version 46.17 to /Users/Simon/Library/Logs/DiagnosticReports/UserEventAgent_2012-07-23-212320_Simons-MacBook-Pro.crash
23/07/2012 21:23:20.276 ReportCrash[253]: Removing excessive log: file://localhost/Users/Simon/Library/Logs/DiagnosticReports/UserEventAgent_2012-07-23-211946_Simons-MacBook-Pro.crash
23/07/2012 21:23:22.468 Console[240]:  Marker - 23 Jul 2012 21:23:22

When you copy system preference files manually, the ownership and file permissions can be changed as well and puts you right back in the same boat. 9 times out of 10 if you just delete the plist, a new one will be recreated automatically the next time you launch that app, or in this case prefpane, and other than maybe needing to reapply a setting or two that was changed back to default, it should start behaving normal.

I have same problems, and i don't think it's already solved. Upgraded from Lion to Mountain Lion. Security panel was not loading. I did try your plist, and it helped loading, although still not fluid. And the biggest problem is, something is still crashing permanently in an endless loop. Console is getting filled up constantly and my CPU is never idle. It should be related to Location Services. I unticked that so it should not be running, but its still trying to do something.

post-38872-0-74299200-1343810815_thumb.jpg

post-38872-0-03407700-1343810823_thumb.jpg

post-38872-0-97638800-1343810827_thumb.jpg

Oook. com.apple.UserEventAgent-Aqua was the name of the process making the problems(restarting and crashing every 10 seconds).

I moved the file com.apple.UserEventAgent-Aqua.plist into a backup folder from /System/Library/LaunchAgents/

Now it does not respawn again :)

Also i noticed mds was going all the time and eating cpu. That is the Spotlight Indexer process. I had to put my ntfs drives into Spotlight's Do Not Search settings, and now it stopped, cpu is cooling back ! :)

The Security Settings and the Privacy tab is still not fluid, but it doesn't matter anymore.

the "helper partitions" only apply to RAID-0 so you will always see kextd look for them, if not using RAID then it won't find them and move on, if booting from RAID, it will acquire a lock on them and rebuild their caches

  • Like 1
×
×
  • Create New...