Perché la finestra di login continua a congelarsi a Mojave?

0

Questo è un seguito alla mia domanda precedente: I tasti funzione smettono di funzionare dopo un po 'in Mojave

Il problema che ho riscontrato è che loginwindow ha mantenuto il congelamento. In questo Gist , il problema è spiegato in dettaglio. La spiegazione può essere trovata sotto.

macOS Mojave build >18A326g has a nasty issue.

Basically, loginwindow likes threads. It's so passionate about threads that
it will continue to collect threads endlessly. Now, the problem with such a
process collecting so many threads is that, as the owner of all processes
running under your account, if the process crashes, say goodbye to most of
macOS.

Well, this is exactly what happens. loginwindow freezes at 4096 threads and
causes most of macOS to become unstable or unusable. For example, most of the
menu items under the apple menu become useless, such as About This Mac or the
Sleep/Restart/Shut Down options. Some of the function/media keys stop working
as well, such as the brightness, keyboard backlight, and volume keys.

I also believe the log out option gets disabled too, but I haven't tested it.
However, if this is indeed the case, this means the only way to log out
reliably is using this script with the --kill option, which finds and kills
loginwindow for you.

loginwindow raccoglie effettivamente 4096 thread e quindi si blocca. Ogni volta. Infatti, ho creato un notificatore che utilizza JXA per avvertirmi quando la corruzione (thread / 4096) raggiunge oltre il 90%.

Tuttavia, questo è il punto. Per quanto posso dire, nessun altro ha il problema (o quello o non hanno mai capito perché).

Ho segnalato questo problema ad Apple 4 beta, ma il problema è ancora qui.

Come faccio a capire che cosa sta causando questo problema? Come posso impedirlo?

    
posta Dev 11.09.2018 - 06:29
fonte

1 risposta

0

So che la community di StackExchange tende a odiare questo tipo di risposte, ma non so esattamente quale sia stato il problema risolto.

loginwindow sta terminando correttamente i thread. Vale a dire, ad un certo punto ha avuto meno discussioni di prima, e si aggira intorno al 2-3.

Ho fatto scherzi con kexts e LaunchDaemon. Ho disinstallato alcune cose, come Karabiner Elements e il driver audio di Camtasia. Ho disabilitato alcuni elementi di avvio, come SIMBL. Ma non so esattamente cosa ha risolto il problema.

Se qualcun altro con questo problema ha qualcuno di questo stesso software, ti consigliamo di provare a disabilitare alcuni in /Library/LaunchDaemons . ( /Library/Extensions per kexts)

    
risposta data 14.09.2018 - 04:14
fonte

Leggi altre domande sui tag