VIM crashes after executing xelatex and colorscheme
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- macos, vim
- 领域
- desktop
调研方向
首先使用提供的 .vimrc、WinEnter colorscheme autocommand 和 xelatex makeprg mapping 在 MacVim 中重现崩溃。将加载一个 LaTeX 文件、运行 k 以及导航到另一个文件时的行为与 macOS 崩溃报告进行比较。当在此场景中在文件之间导航不再导致 MacVim 崩溃时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
When there is an autocommand to change the colorscheme Vim crashes after executing xelatex.
To Reproduce
Detailed steps to reproduce the behavior:
- Include the code below in the
.vimrcfile:
let g:colors = "lucius"
augroup color
au!
au WinEnter * exe "colorscheme ".g:colors
augroup END
set makeprg=xelatex\ \-file\-line\-error\ \-interaction=nonstopmode
nmap <leader>k :exec "silent make ".shellescape(expand('%'))<cr>
- Load a
latexfile - Compile with
<leader>k - Navigate to another
latexfile - Vim crashes
See report below:
Process: MacVim [33498]
Path: /Applications/MacVim.app/Contents/MacOS/MacVim
Identifier: org.vim.MacVim
Version: 8.2.2164 (169)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: MacVim [33498]
User ID: 502
Date/Time: 2021-07-21 18:42:43.350 -0700
OS Version: Mac OS X 10.15.7 (19H2)
Report Version: 12
Bridge OS Version: 4.6 (17P6610)
Anonymous UUID: 35483298-412C-44A4-AED8-52EE10686945
Sleep/Wake UUID: A07E24BD-D769-40DF-B2B1-77023F65444C
Time Awake Since Boot: 14000 seconds
Time Since Wake: 4400 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000076141ecb4d88
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [33498]
VM Regions Near 0x76141ecb4d88:
Stack 00007000021fc000-000070000227e000 [ 520K] rw-/rwx SM=COW thread 6
-->
MALLOC_TINY 00007f84c8400000-00007f84c8500000 [ 1024K] rw-/rwx SM=PRV
Application Specific Information:
objc_msgSend() selector name: retain
Expected behavior
Vim should load new file without crashing.
Environment (please complete the following information):
- Vim version: 8.2 (Dec 19 2020)
- OS: MacOS 10.15.7
- Terminal: GUI
- 主要语言
- Vim Script
- 星标
- 7.9k
- 派生
- 691
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
macvim-dev/macvim 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
macvim-dev/macvim#1697 · 5 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
macvim-dev/macvim#1658 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
macvim-dev/macvim#1657 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
macvim-dev/macvim#1655 ·
-
难度 2/5 半天 新手友好度 72/100
macvim-dev/macvim#1653 ·
查看 macvim-dev/macvim 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
flutter/flutter-intellij#9133 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
coollabsio/jean#781 ·
-
NavigationViewItemAutomationPeer implements IInvokeProvider but never advertises the Invoke pattern 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
unoplatform/uno#24629 ·
-
comp/desktop P3 type/feature
难度 2/5 1-3 小时 新手友好度 75/100
NousResearch/hermes-agent#120879 ·