Recientemente descubrí que algunas aplicaciones de Mac OS X se bloquean con frecuencia con retrocesos como el siguiente:
Process: Mail [39226]
Path: /Applications/Mail.app/Contents/MacOS/Mail
Identifier: com.apple.mail
Version: 4.4 (1082)
Build Info: Mail-10820000~1
Code Type: X86-64 (Native)
Parent Process: launchd [338]
Date/Time: 2011-01-12 21:59:48.383 -0500
OS Version: Mac OS X 10.6.6 (10J567)
Report Version: 6
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 12 Dispatch queue: com.apple.root.default-priority
[...]
Thread 12 Crashed: Dispatch queue: com.apple.root.default-priority
0 com.apple.CoreFoundation 0x00007fff81653975 __THE_SYSTEM_HAS_NO_PORT_SETS_AVAILABLE__ + 5
1 com.apple.CoreFoundation 0x00007fff815a1f69 __CFRunLoopFindMode + 553
2 com.apple.CoreFoundation 0x00007fff815a1c5d __CFRunLoopCreate + 317
3 com.apple.CoreFoundation 0x00007fff815a1a78 _CFRunLoopGet0 + 744
4 com.apple.CoreFoundation 0x00007fff815dc90a CFRunLoopRunInMode + 58
5 com.apple.MessageFramework 0x00007fff81d01183 +[NSRunLoop(MessageExtensions) _flushQueuedEventsAddingSource:] + 120
6 com.apple.MessageFramework 0x00007fff81d010d2 +[NSRunLoop(MessageExtensions) flushQueuedEvents] + 36
7 com.apple.MessageFramework 0x00007fff81ce6515 -[_MFInvocationOperation main] + 275
8 com.apple.Foundation 0x00007fff83921de4 -[__NSOperationInternal start] + 681
9 com.apple.Foundation 0x00007fff83a00beb __doStart2 + 97
10 libSystem.B.dylib 0x00007fff801402c4 _dispatch_call_block_and_release + 15
11 libSystem.B.dylib 0x00007fff8011e831 _dispatch_worker_thread2 + 239
12 libSystem.B.dylib 0x00007fff8011e168 _pthread_wqthread + 353
13 libSystem.B.dylib 0x00007fff8011e005 start_wqthread + 13
[...]
y:
Process: osascript [34568]
Path: /usr/bin/osascript
Identifier: osascript
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: GeekTool [6699]
Date/Time: 2011-01-19 06:06:41.198 -0500
OS Version: Mac OS X 10.6.6 (10J567)
Report Version: 6
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 com.apple.CoreFoundation 0x00007fff81653975 __THE_SYSTEM_HAS_NO_PORT_SETS_AVAILABLE__ + 5
1 com.apple.CoreFoundation 0x00007fff815a1f69 __CFRunLoopFindMode + 553
2 com.apple.CoreFoundation 0x00007fff815a1c5d __CFRunLoopCreate + 317
3 com.apple.CoreFoundation 0x00007fff815a1988 _CFRunLoopGet0 + 504
4 com.apple.CoreFoundation 0x00007fff815a177f CFRunLoopGetMain + 79
5 com.apple.CoreFoundation 0x00007fff815a08ef _CFXNotificationCenterCreate + 383
6 com.apple.CoreFoundation 0x00007fff815a073b _CFXNotificationGetHostCenter + 75
7 com.apple.CoreFoundation 0x00007fff815a0532 __CFXPreferencesGetSourceForTriplet + 354
8 com.apple.CoreFoundation 0x00007fff8159db49 __CFXPreferencesGetSearchListForBundleID + 217
9 com.apple.CoreFoundation 0x00007fff8159d9fb CFPreferencesCopyAppValue + 43
10 com.apple.CoreFoundation 0x00007fff8159d999 _CFBundleCopyUserLanguages + 665
11 com.apple.CoreFoundation 0x00007fff8159d1b4 _CFBundleAddPreferredLprojNamesInDirectory + 404
12 com.apple.CoreFoundation 0x00007fff8159cc8a _CFBundleGetLanguageSearchList + 170
13 com.apple.CoreFoundation 0x00007fff8159d4ba _CFBundleAddPreferredLprojNamesInDirectory + 1178
14 com.apple.CoreFoundation 0x00007fff8159cc8a _CFBundleGetLanguageSearchList + 170
15 com.apple.CoreFoundation 0x00007fff8159cadf CFBundleCopyResourceURL + 47
16 com.apple.CoreFoundation 0x00007fff815fe4c4 _CFBundleCopyResourceForkURLMayBeLocal + 148
17 com.apple.CoreFoundation 0x00007fff8162c7d0 CFBundleOpenBundleResourceFiles + 144
18 ...ple.CoreServices.CarbonCore 0x00007fff885f3130 _openFrameworkResourceFiles + 137
19 ...ple.CoreServices.CarbonCore 0x00007fff885e048c CLVVisitValuesForKey + 81
20 ...ple.CoreServices.CarbonCore 0x00007fff885f2fee INIT_ResourceManager + 734
21 ...ple.CoreServices.CarbonCore 0x00007fff885f2bed StandardEntry + 57
22 ...ple.CoreServices.CarbonCore 0x00007fff885f2af9 FSOpenResourceFile + 77
23 ...ple.CoreServices.CarbonCore 0x00007fff886543fc FSOpenResFile + 75
24 com.apple.openscripting 0x00007fff844e8884 OSADoIt(short, ComponentInstanceRecord*, FSRef const*, unsigned int, unsigned int, int, unsigned int*, AEDesc*, unsigned char*) + 2715
25 com.apple.openscripting 0x00007fff844e8b6a OSALoadFile + 50
26 osascript 0x0000000100001898 0x100000000 + 6296
27 osascript 0x0000000100000fa0 0x100000000 + 4000
¿Alguna idea sobre lo que podría estar causando esto y / o cómo remediarlo?
macos
crash
apple-mail
smokris
fuente
fuente

Respuestas:
No soy un programador de kernel, pero supongo que ese mensaje tiene algo que ver con quedarse sin puertos Mach en el kernel. ¿Tiene millones de procesos en ejecución o está haciendo mucha comunicación entre procesos? ¿Es posible que tenga poca memoria y espacio en disco (no hay espacio para expandir su intercambio)?
Intente usar
topo el Monitor de actividad para ver si tiene algún proceso que se está volviendo loco, como quizás haya escrito un AppleScript recursivo o un script de shell que está generando millones de procesos secundarios (como una "bomba tenedora" accidental).Presta atención a las aplicaciones que tienes en ejecución cuando llegas a este bloqueo. Tal vez hay una aplicación que usa en exceso los puertos Mach y a veces los engulle. ¿Es más probable que este problema se presente cuando está ejecutando un sistema de máquina virtual como VMware, Parallels o VirtualBox?
fuente
Hmm Intenté restablecer SyncServices --- http://support.apple.com/kb/TS1627 --- y Mail no se ha bloqueado desde entonces.
fuente