Questo succede occasionalmente e non riesco a inchiodare la fonte. Quello che succede è che a volte dopo che il mio Mac si è risvegliato da un sonno, non posso lanciare nessuna app usando Launchpad. Posso fare clic sull'icona del launchpad e posso vedere il launchpad, ma qualsiasi app clicca lì non funzionerà. Solo dopo pochi minuti tutte le app su cui ho fatto clic vengono avviate tutte contemporaneamente e quindi il launchpad inizia a funzionare correttamente.
Durante questo stallo posso eseguire app che sono nel mio dock senza problemi - iniziano immediatamente. Posso usare il terminale e lavorare normalmente all'interno di app aperte. L'unico problema è che per pochi minuti non posso lanciare nuove app dal launchpad.
Ciò che è interessante, durante questo stallo, quando faccio clic sulle icone delle app nel launchpad, il launchpad non si chiude. Posso vederlo tutto il tempo. Devo fare clic su uno spazio vuoto attorno alle icone per chiudere il launchpad.
Qualche consiglio su questo? Ho provato a guardare il syslog, ma francamente non ho idea di cosa cercare. system.log
è un po 'macchiato di cose che non mi sono familiari. Non so nemmeno cosa cercare.
[Aggiornamento]
È successo di nuovo oggi. Volevo lanciare Notes
app e il launchpad si è di nuovo bloccato. Ho provato a cercare i log e questo è quello che ho trovato:
Questa voce è davvero fastidiosa - sta sparpagliando l'intero log, quindi l'ho rimosso dai risultati:
sharingd[322]: Stopping Handoff advertising
Questo è il log dal momento in cui ho notato che il launchpad è in stallo. Puoi vedere che ho immediatamente lanciato la console per ridurre system.log
. Non posso dire l'ora esatta. Tutto è durato per 2-3 minuti:
09.12.2014 10:57:59,668 discoveryd[48]: Basic Sockets SetDelegatePID() failed for PID[7681] errno[3] result[-1]
09.12.2014 10:58:14,029 discoveryd[48]: Basic Sockets SetDelegatePID() failed for PID[7681] errno[3] result[-1]
09.12.2014 10:58:32,552 discoveryd[48]: Basic Sockets SetDelegatePID() failed for PID[7681] errno[3] result[-1]
09.12.2014 10:59:02,015 com.apple.xpc.launchd[1]: (com.apple.quicklook[25085]) Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.quicklook
09.12.2014 10:59:05,353 discoveryd[48]: Basic Sockets SetDelegatePID() failed for PID[7681] errno[3] result[-1]
09.12.2014 10:59:18,018 discoveryd[48]: Basic Sockets SetDelegatePID() failed for PID[484] errno[3] result[-1]
09.12.2014 10:59:21,325 login[25086]: USER_PROCESS: 25086 ttys001
09.12.2014 10:59:38,000 kernel[0]: smb2_smb_parse_change_notify: smb_rq_reply failed 60
09.12.2014 10:59:42,102 discoveryd[48]: Basic Sockets SetDelegatePID() failed for PID[7681] errno[3] result[-1]
09.12.2014 10:59:43,000 kernel[0]: smb_fid_get_kernel_fid: No SMB 2/3 fid found for fid 22de630e7003b4f9
09.12.2014 10:59:43,000 kernel[0]: smb_iod_reconnect: Reconnected share FRANCESCA with server Mac mini (Anna)._smb._tcp.local
09.12.2014 10:59:43,840 com.apple.xpc.launchd[1]: (com.apple.imfoundation.IMRemoteURLConnectionAgent) The _DirtyJetsamMemoryLimit key is not available on this platform.
09.12.2014 10:59:44,562 Notes[25097]: *** WebKit discarded an uncaught exception in the webView:didFinishLoadForFrame: delegate: <NSInvalidArgumentException> *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]
09.12.2014 10:59:44,769 sandboxd[360]: ([291]) softwareupdated(291) deny mach-lookup com.apple.webinspector
09.12.2014 10:59:44,784 sandboxd[360]: ([453]) storedownloadd(453) deny mach-lookup com.apple.webinspector
09.12.2014 10:59:46,443 mds[32]: ERROR: where = <RPCChannelRequest()> why = <MDSChannelRequestRPC()> error code = 0x16c9a036 reason = <rpc_s_connection_closed (dce / rpc)>
09.12.2014 10:59:46,443 mds[32]: ERROR: _MDSChannelRPCRequest: RPCChannelRequest failed 5
09.12.2014 10:59:46,443 mds[32]: (Message.Error:142) MDSChannel RPC failure (fetchAllAttributes:forOIDArray:context:)
09.12.2014 10:59:46,443 mds[32]: (Store.Error:273) <MDSDistantStore 0x7ff9040785a0 shutdown:NO got shutdown notification:NO>{channel:0x7ff8fa5ec7c0 localPath:'/Volumes/Francesca'} MDSChannel failed -- initiating recovery
09.12.2014 10:59:56,654 mds[32]: (Server.Error:221) Failed to register path "/Volumes/Francesca" to store <MDSStoreToken: 0x7ff8fa764c50>{storeID:0x6b000060 registered:YES private:NO age:8h42m56s uuid:2C23554A-0D78-4575-9E41-09635551B697}
09.12.2014 10:59:56,854 Notes[25097]: *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]
09.12.2014 10:59:56,871 Notes[25097]: (
0 CoreFoundation 0x00007fff8c68d64c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff87e126de objc_exception_throw + 43
2 CoreFoundation 0x00007fff8c531068 -[__NSPlaceholderArray initWithObjects:count:] + 360
3 CoreFoundation 0x00007fff8c5976b4 +[NSArray arrayWithObjects:count:] + 52
4 Notes 0x0000000103167d94 Notes + 101780
5 Notes 0x0000000103167c17 Notes + 101399
6 libsystem_trace.dylib 0x00007fff92485cd7 _os_activity_initiate + 75
7 AppKit 0x00007fff8d8b9497 -[NSApplication sendAction:to:from:] + 410
8 AppKit 0x00007fff8d8b92c0 -[NSControl sendAction:to:] + 86
9 AppKit 0x00007fff8da8dc5f __26-[NSCell _sendActionFrom:]_block_invoke + 131
10 libsystem_trace.dylib 0x00007fff92485cd7 _os_activity_initiate + 75
11 AppKit 0x00007fff8d901ddc -[NSCell _sendActionFrom:] + 144
12 AppKit 0x00007fff8d933cb5 -[NSSegmentedCell _sendActionFrom:] + 49
13 libsystem_trace.dylib 0x00007fff92485cd7 _os_activity_initiate + 75
14 AppKit 0x00007fff8d91c916 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2731
15 AppKit 0x00007fff8d9336a7 -[NSSegmentedCell trackMouse:inRect:ofView:untilMouseUp:] + 1160
16 AppKit 0x00007fff8d91b139 -[NSControl mouseDown:] + 714
17 AppKit 0x00007fff8de14f4f -[NSWindow _reallySendEvent:] + 12827
18 AppKit 0x00007fff8d89f50c -[NSWindow sendEvent:] + 368
19 AppKit 0x00007fff8d851096 -[NSApplication sendEvent:] + 2238
20 AppKit 0x00007fff8d6dde98 -[NSApplication run] + 711
21 AppKit 0x00007fff8d6c92d4 NSApplicationMain + 1832
22 libdyld.dylib 0x00007fff905565c9 start + 1
23 ??? 0x0000000000000001 0x0 + 1
)
09.12.2014 10:59:59,933 discoveryd[48]: Basic Sockets SetDelegatePID() failed for PID[484] errno[3] result[-1]
09.12.2014 11:00:45,348 discoveryd[48]: Basic Sockets SetDelegatePID() failed for PID[484] errno[3] result[-1]
09.12.2014 11:01:49,888 discoveryd[48]: Basic Sockets SetDelegatePID() failed for PID[7681] errno[3] result[-1]
09.12.2014 11:01:52,660 com.apple.xpc.launchd[1]: (com.apple.imfoundation.IMRemoteURLConnectionAgent) The _DirtyJetsamMemoryLimit key is not available on this platform.
09.12.2014 11:01:52,879 sandboxd[360]: ([291]) softwareupdated(291) deny mach-lookup com.apple.webinspector
09.12.2014 11:01:52,899 sandboxd[360]: ([453]) storedownloadd(453) deny mach-lookup com.apple.webinspector
09.12.2014 11:01:52,927 Notes[25113]: *** WebKit discarded an uncaught exception in the webView:didFinishLoadForFrame: delegate: <NSInvalidArgumentException> *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]
09.12.2014 11:01:55,704 Notes[25113]: *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]
09.12.2014 11:01:55,706 Notes[25113]: (
0 CoreFoundation 0x00007fff8c68d64c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff87e126de objc_exception_throw + 43
2 CoreFoundation 0x00007fff8c531068 -[__NSPlaceholderArray initWithObjects:count:] + 360
3 CoreFoundation 0x00007fff8c5976b4 +[NSArray arrayWithObjects:count:] + 52
4 Notes 0x000000010915ed94 Notes + 101780
5 Notes 0x000000010915ec17 Notes + 101399
6 libsystem_trace.dylib 0x00007fff92485cd7 _os_activity_initiate + 75
7 AppKit 0x00007fff8d8b9497 -[NSApplication sendAction:to:from:] + 410
8 AppKit 0x00007fff8d8b92c0 -[NSControl sendAction:to:] + 86
9 AppKit 0x00007fff8da8dc5f __26-[NSCell _sendActionFrom:]_block_invoke + 131
10 libsystem_trace.dylib 0x00007fff92485cd7 _os_activity_initiate + 75
11 AppKit 0x00007fff8d901ddc -[NSCell _sendActionFrom:] + 144
12 AppKit 0x00007fff8d933cb5 -[NSSegmentedCell _sendActionFrom:] + 49
13 libsystem_trace.dylib 0x00007fff92485cd7 _os_activity_initiate + 75
14 AppKit 0x00007fff8d91c916 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2731
15 AppKit 0x00007fff8d9336a7 -[NSSegmentedCell trackMouse:inRect:ofView:untilMouseUp:] + 1160
16 AppKit 0x00007fff8d91b139 -[NSControl mouseDown:] + 714
17 AppKit 0x00007fff8de14f4f -[NSWindow _reallySendEvent:] + 12827
18 AppKit 0x00007fff8d89f50c -[NSWindow sendEvent:] + 368
19 AppKit 0x00007fff8d851096 -[NSApplication sendEvent:] + 2238
20 AppKit 0x00007fff8d6dde98 -[NSApplication run] + 711
21 AppKit 0x00007fff8d6c92d4 NSApplicationMain + 1832
22 libdyld.dylib 0x00007fff905565c9 start + 1
23 ??? 0x0000000000000001 0x0 + 1
)
09.12.2014 11:01:56,800 Notes[25113]: *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]
09.12.2014 11:01:56,801 Notes[25113]: (
0 CoreFoundation 0x00007fff8c68d64c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff87e126de objc_exception_throw + 43
2 CoreFoundation 0x00007fff8c531068 -[__NSPlaceholderArray initWithObjects:count:] + 360
3 CoreFoundation 0x00007fff8c5976b4 +[NSArray arrayWithObjects:count:] + 52
4 Notes 0x000000010915ed94 Notes + 101780
5 Notes 0x000000010915ec17 Notes + 101399
6 libsystem_trace.dylib 0x00007fff92485cd7 _os_activity_initiate + 75
7 AppKit 0x00007fff8d8b9497 -[NSApplication sendAction:to:from:] + 410
8 AppKit 0x00007fff8d8b92c0 -[NSControl sendAction:to:] + 86
9 AppKit 0x00007fff8da8dc5f __26-[NSCell _sendActionFrom:]_block_invoke + 131
10 libsystem_trace.dylib 0x00007fff92485cd7 _os_activity_initiate + 75
11 AppKit 0x00007fff8d901ddc -[NSCell _sendActionFrom:] + 144
12 AppKit 0x00007fff8d933cb5 -[NSSegmentedCell _sendActionFrom:] + 49
13 libsystem_trace.dylib 0x00007fff92485cd7 _os_activity_initiate + 75
14 AppKit 0x00007fff8d91c916 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2731
15 AppKit 0x00007fff8d9336a7 -[NSSegmentedCell trackMouse:inRect:ofView:untilMouseUp:] + 1160
16 AppKit 0x00007fff8d91b139 -[NSControl mouseDown:] + 714
17 AppKit 0x00007fff8de14f4f -[NSWindow _reallySendEvent:] + 12827
18 AppKit 0x00007fff8d89f50c -[NSWindow sendEvent:] + 368
19 AppKit 0x00007fff8d851096 -[NSApplication sendEvent:] + 2238
20 AppKit 0x00007fff8d6dde98 -[NSApplication run] + 711
21 AppKit 0x00007fff8d6c92d4 NSApplicationMain + 1832
22 libdyld.dylib 0x00007fff905565c9 start + 1
23 ??? 0x0000000000000001 0x0 + 1
)
09.12.2014 11:01:58,684 Notes[25113]: *** WebKit discarding exception: <NSInvalidArgumentException> *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]
09.12.2014 11:01:58,719 Notes[25113]: *** WebKit discarding exception: <NSInvalidArgumentException> *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]
09.12.2014 11:01:58,775 Notes[25113]: *** WebKit discarding exception: <NSInvalidArgumentException> *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]
09.12.2014 11:01:59,215 Notes[25113]: *** WebKit discarding exception: <NSInvalidArgumentException> *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]
09.12.2014 11:01:59,223 Notes[25113]: *** WebKit discarding exception: <NSInvalidArgumentException> *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]
09.12.2014 11:01:59,279 Notes[25113]: *** WebKit discarding exception: <NSInvalidArgumentException> *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]
[Aggiornamento 2]
È successo di nuovo oggi. Ho esaminato nuovamente i log e sembra che sia causato da Finder che tenta di connettersi a un computer remoto che non è più disponibile.
Dec 14 11:35:11 pc36.home discoveryd[48]: Basic Sockets SetDelegatePID() failed for PID[484] errno[3] result[-1]
Dec 14 11:35:32 pc36 kernel[0]: smbfs_lookup: Server failed Query Info 57
Dec 14 11:35:32 pc36.home KernelEventAgent[67]: tid 54485244 received event(s) VQ_DEAD (32)
Dec 14 11:35:32 pc36.home KernelEventAgent[67]: tid 54485244 type 'smbfs', mounted on '/Volumes/Francesca', from '//francesca@Mac%20mini%20%28Anna%29._smb._tcp.local/Francesca', dead
Dec 14 11:35:32 pc36.home KernelEventAgent[67]: tid 54485244 force unmount //francesca@Mac%20mini%20%28Anna%29._smb._tcp.local/Francesca from /Volumes/Francesca
Dec 14 11:35:32 pc36.home Finder[312]: No _kCFURLVolumeRefNumKey property for URL file:///Volumes/Francesca/
Dec 14 11:35:32 --- last message repeated 1 time ---
Dec 14 11:35:32 pc36.home KernelEventAgent[67]: tid 54485244 found 1 filesystem(s) with problem(s)
Dec 14 11:35:32 pc36.home Finder[312]: No _kCFURLVolumeRefNumKey property for URL file:///Volumes/Recovery%20HD/
Dec 14 11:35:32 --- last message repeated 1 time ---
Dec 14 11:35:32 pc36.home Finder[312]: CreateWithFileInfo failed to create URL with FSRef, falling back to blank icon.
Dec 14 11:35:32 pc36.home sharingd[322]: getVolumeRefNumForURL::CFURLCopyResourcePropertyForKey(NSCocoaErrorDomain, 256, "Nie można otworzyć pliku „Francesca”.")
Dec 14 11:35:32 pc36.home sharingd[322]: 11:35:32.184 : SDConnectedBrowser::getResourceValue Error Domain=NSCocoaErrorDomain Code=4 "Plik „Francesca” nie istnieje." UserInfo=0x7f9260d7cf70 {NSURL=file:///Volumes/Francesca/, NSFilePath=/Volumes/Francesca}
Non sono sicuro che sia una coincidenza, ma dopo l'ultimo messaggio tutte le app che ho cliccato nel launchpad sono state avviate immediatamente. Qualche idea sul perché questo sta succedendo?