vimr icon indicating copy to clipboard operation
vimr copied to clipboard

vimr 0.17.0 (213) / 0.18.0 (217) crashes with EXC_BAD_ACCESS (SIGSEGV) when closing from fullscreen with :qall

Open piero opened this issue 9 years ago • 14 comments

Steps to reproduce with Mac OS X 10.12.6 (16G29):

  1. Open the current directory in vimr from terminal (e.g. $ vimr -n .)
  2. Open some files (not strictly required)
  3. Go fullscreen
  4. Do :qall

Attaching the core dump: vimr_crash.txt

piero avatar Jul 25 '17 16:07 piero

Also attaching my init.vim for additional details.

Backend is NeoVim v0.2.0 installed via HomeBrew:

$ nvim --version
NVIM v0.2.0
Build type: Release
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/super/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_MSGPACK_HAS_FLOAT32 -DNDEBUG -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -I/tmp/neovim-20170707-80027-1bg0wcx/neovim-0.2.0/build/config -I/tmp/neovim-20170707-80027-1bg0wcx/neovim-0.2.0/src -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/opt/gettext/include -I/usr/include -I/tmp/neovim-20170707-80027-1bg0wcx/neovim-0.2.0/build/src/nvim/auto -I/tmp/neovim-20170707-80027-1bg0wcx/neovim-0.2.0/build/include
Compiled by [email protected]

Optional features included (+) or not (-): +acl   +iconv    +jemalloc +tui
For differences from Vim, see :help vim-differences

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/0.2.0_1/share/nvim"

piero avatar Jul 26 '17 10:07 piero

Unfortunately I cannot reproduce this. Does this also happen with the newest snapshot?

qvacua avatar Aug 16 '17 20:08 qvacua

Yes it happens with Version 0.18.0 (217) as well

piero avatar Aug 22 '17 09:08 piero

Just realised that it happens only when closing vimr from fullscreen. I updated the title and the steps to reproduce accordingly, thank you.

piero avatar Aug 22 '17 09:08 piero

Please try https://github.com/qvacua/vimr/releases/tag/snapshot%2F221

qvacua avatar Aug 23 '17 19:08 qvacua

That snapshot crashes as well on :qall from full screen, but the stack trace seems to be different: vimr_snapshot-221_crash.txt

piero avatar Aug 24 '17 14:08 piero

Unfortunately I cannot reproduce this with 221. Does this always happen? Could you post steps to reproduce?

qvacua avatar Aug 24 '17 16:08 qvacua

It always happens, steps to reproduce are:

  1. Open VimR
  2. Go to full screen
  3. Close with :q or :qall (or Cmd+w)

It wouldn't be an issue if I only had one window open (I could close it with Cmd+q) but it's a problem with multiple windows as closing one of them .

Let me know if you need additional information, stack traces, etc... and thank you for looking into this!

piero avatar Aug 25 '17 10:08 piero

Hm... Those steps do not cause a crash on my desktop and laptop, both 10.12.6. Yes, maybe stacktraces and your init.vim?

qvacua avatar Aug 25 '17 19:08 qvacua

Could you try https://github.com/qvacua/vimr/releases/tag/snapshot%2F225?

qvacua avatar Aug 28 '17 18:08 qvacua

Hi, sorry for the delay.

I've tried 226 and the problem still occurs, I'm attaching the trace and my init.vim.

Thank you

vimr_226_trace.txt init.vim.txt

piero avatar Aug 30 '17 09:08 piero

I have the same problem, with v0.19.1 (229). It only happens in fullscreen, if you have two or more windows open in the tab bar. It crashes when you quit any of the windows.

tbastos avatar Sep 16 '17 15:09 tbastos

Thank you @tbastos for commenting on this, it may be useful if you could upload a stacktrace to help the investigation.

piero avatar Oct 03 '17 15:10 piero

Sorry for the long silence, just want to say that this problem has gone away in recent releases and would like to thank you for your effort in keeping developing VimR, which is now my favourite dev environment. Really appreciated!!

piero avatar Apr 23 '18 15:04 piero