Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neovim 0.4.3 crashes when pasting text from clipboard #12205

Closed
1kit opened this issue Apr 29, 2020 · 5 comments
Closed

Neovim 0.4.3 crashes when pasting text from clipboard #12205

1kit opened this issue Apr 29, 2020 · 5 comments
Labels
bug-crash issue reporting a crash or segfault needs:repro We need minimal steps to reproduce the issue needs:response waiting for reply from the author

Comments

@1kit
Copy link

1kit commented Apr 29, 2020

  • nvim --version: 0.4.3
  • vim -u DEFAULTS (version: ) behaves differently? YES
  • Operating system/version: Fedora 4.9.76 kernel
  • Terminal name/version: iterm + tmux
  • $TERM: xterm-256color

Steps to reproduce using nvim -u NORC

Not reproducible with NORC.

nvim -u NORC
# Alternative for shell-related problems:
# env -i TERM=ansi-256color "$(which nvim)"

Actual behaviour

#0 0x000000000072a595 in __strlen_avx2 ()
#1 0x00000000006d4e85 in get_cie_encoding ()
#2 0x00000000006d5779 in classify_object_over_fdes ()
#3 0x00000000006d5b48 in search_object ()
#4 0x00000000006d6556 in _Unwind_Find_FDE ()
#5 0x00000000006d2673 in uw_frame_state_for ()
#6 0x00000000006d3850 in uw_init_context_1 ()
#7 0x00000000006d4092 in _Unwind_RaiseException ()
#8 0x000000000066b70b in err_raise_ext (errcode=2) at lj_err.c:305
#9 lj_err_throw (L=0x41d6b378, errcode=errcode@entry=2) at lj_err.c:461
#10 0x000000000067c78a in lj_trace_err_info (J=, e=e@entry=LJ_TRERR_NYIFF) at lj_trace.c:48
#11 0x00000000006a4511 in recff_nyi (J=, rd=) at lj_ffrecord.c:112
#12 0x00000000006a676e in lj_ffrecord_func (J=J@entry=0x41d6b550) at lj_ffrecord.c:877
#13 0x00000000006a10b8 in lj_record_ins (J=J@entry=0x41d6b550) at lj_record.c:2078
#14 0x000000000067d2a0 in trace_state (L=0x41d6b378, dummy=, ud=0x41d6b550) at lj_trace.c:597
#15 0x0000000000687c2b in lj_vm_cpcall ()
#16 0x000000000067dd2b in lj_trace_ins (J=0x41d6b550, pc=pc@entry=0x41d6b4a4) at lj_trace.c:657
#17 0x00000000006703e8 in lj_dispatch_call (L=0x41d6b378, pc=0x41d6b4a8) at lj_dispatch.c:468
#18 0x000000000068932e in lj_vm_hotcall ()
#19 0x00000000006740c6 in lua_pcall (L=0x41d6b378, nargs=, nresults=0, errfunc=) at lj_api.c:1052
#20 0x0000000000523bf3 in nlua_enter ()
#21 0x0000000000528364 in executor_exec_lua_api ()
#22 0x00000000005f9722 in nvim_paste ()
#23 0x000000000044d914 in tinput_paste_event ()
#24 0x000000000058b5c9 in multiqueue_process_events ()
#25 0x00000000005de49a in insert_execute.lto_priv ()
#26 0x00000000004696bd in state_enter ()
#27 0x00000000005d056f in edit ()
#28 0x00000000004e8926 in invoke_edit.isra ()
#29 0x00000000004f286a in nv_edit.lto_priv ()
#30 0x0000000000502661 in normal_execute.lto_priv ()
#31 0x00000000004696f5 in state_enter ()
#32 0x00000000004f9290 in normal_enter ()
#33 0x0000000000403ce9 in main ()

Expected behaviour

@1kit 1kit added the bug issues reporting wrong behavior label Apr 29, 2020
@glacambre
Copy link
Member

Can you reproduce this issue using neovim nightly?

If yes, since you can't reproduce this issue with a default config, could you comment bits of your config until you find what setting is making neovim crash?

@1kit
Copy link
Author

1kit commented Apr 29, 2020

Can you reproduce this issue using neovim nightly?
Sure, I can give it a try

I already tried commenting out parts of my config and this is what I found.

I use Plug to install various plugins. When I have a count of 11 "Plug ..." calls in my init.vim, things are fine. The moment, I exceed 11, it crashes when I insert from clipboard. I have tried various combinations of the plugins. So it is not any specific plugin. It is just the number.
My .vimrc source my init.vim and I have the exact same dot files for vim8 and nvim. Vim8 works just fine for me.

@1kit
Copy link
Author

1kit commented Apr 29, 2020

So I built the master and tried the nvim from there. The same problem persists.
The version I see is "NVIM v0.5.0-477-gf9055c585"

thanks

@teto teto added bug-crash issue reporting a crash or segfault needs:repro We need minimal steps to reproduce the issue labels Jun 22, 2020
@glacambre
Copy link
Member

@1kit if you can still reproduce this crash on master/nightly, please give us a way to reproduce it. You did not give us the content of your rc file :)

@dundargoc dundargoc removed the bug issues reporting wrong behavior label Aug 4, 2021
@zeertzjq zeertzjq added the needs:response waiting for reply from the author label Dec 8, 2021
@teto
Copy link
Member

teto commented Dec 14, 2021

will reopen if someone can post a repro with 0.6

@teto teto closed this as completed Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-crash issue reporting a crash or segfault needs:repro We need minimal steps to reproduce the issue needs:response waiting for reply from the author
Projects
None yet
Development

No branches or pull requests

5 participants