macvim-dev / macvim-dev/macvim
Intermittent pseudo-crashes
Nessuno ha ancora preso questa issue.
- Lingua principale
- Vim Script
- Stelle
- 7.9k
- Fork
- 691
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
On multiple machines, and multiple OSes (Mav, Yos), I intermittently get the following incorrect behavior.
In a terminal, type mvim abcd where abcd is some non-existent file.
Expected: I get a MacVim window with an empty buffer that is assigned the name "abcd".
Actual: Most of the time I get what I'll call a pseudo-crash. All MacVim windows vanish instantly with no offer to save unsaved changes, and MacVim vanishes from the Dock. However, there's no crash report. The only clue as to what happened is in Console.app, and it's a meager clue at that:
Vim: 07/21/15 2:15:23.551 p Vim[89294]: -[MMBackend(Private) connectionDidDie:]@2315: Main connection was lost before process had a chance to terminate; preserving swap files.
It can also happen if I am already in a MacVim window and I do :edit abcd (where again, abcd is non-existent).
Is anyone else getting this? I see that someone else reported the same error message in Console but in a different context on Feb 19th of last year, and that Bjorn didn't know what it meant.
I can't find a way to get 100% reproduction. It tends to come and go in "streaks", i.e., a few hours of pseudocrashes, then a day without them, then two days with, then a few hours without, etc.
At first I thought maybe it was because I have Spotlight disabled (using mduitl -i off or mdutil -d), but I tested this theory by reactivating Spotlight and I still see the problem. (And surely MacVim doesn't need Spotlight to be on. I've had Spotlight off for years with no problems like this).
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia testando i punti di ingresso segnalati: esegui mvim abcd per un file inesistente e prova :edit abcd in una finestra MacVim esistente. Esamina il messaggio di Console.app relativo alla perdita della connessione di MMBackend e confronta il comportamento tra le versioni di macOS segnalate. Il lavoro è completato quando il pseudo-crash è riproducibile e il problema sottostante è stato identificato e viene prevenuto o segnalato correttamente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- macos, vim
- Ambito
- desktop
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100