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

Causes Segfault #47

Closed
kurtisnelson opened this issue Oct 13, 2012 · 10 comments
Closed

Causes Segfault #47

kurtisnelson opened this issue Oct 13, 2012 · 10 comments

Comments

@kurtisnelson
Copy link

If I have the plugin installed, I'm segfaulting on a brand new Fedora 17 install

[kurt@jiko ~]$ vim --version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Aug 28 2012 13:51:38)
Included patches: 1-415, 417-638
[kurt@jiko ~]$ vim
Vim: Caught deadly signal SEGV
Vim: Finished.
Segmentation fault (core dumped)
@benmills
Copy link
Collaborator

Does your vim installation has ruby support compiled in and if you uninstall vimux vim will not segfault?

@kurtisnelson
Copy link
Author

If I uninstall vimux, it works. I'm not sure about the ruby support as I'm using the vim-enhanced fedora RPM

@benmills
Copy link
Collaborator

If you run vim --version | grep ruby you should see +ruby if you have ruby support, otherwise it will be -ruby. I googled around to see if there is an easy way to install vim with ruby support on Fedora but nothing came up. If you don't actually have ruby support in vim one option is compiling it yourself and including the ruby compiler flag.

@kurtisnelson
Copy link
Author

Yeah, I've got +ruby. But it looks like gcc is linked without ruby?
[kurt@jiko ~]$ vim --version | grep 'ruby'
+python -python3 +quickfix +reltime +rightleft +ruby +scrollbind +signs
Linking: gcc -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE -Wl,-z,relro -L/usr/local/lib -Wl,--as-needed -o vim -lm -lnsl -lselinux -lncurses -lacl -lattr -lgpm -ldl -Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE -fstack-protector -L/usr/lib64/perl5/CORE -lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc -L/usr/lib64/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -lruby -lpthread -lrt -ldl -lcrypt -lm

@benmills
Copy link
Collaborator

Hmm that looks similar to my output for vim --version. What version of ruby and tmux are you using? I'm downloading Fedora 17 now so I can see if I can recreate this.

@kurtisnelson
Copy link
Author

╭─kurt@jiko ~/.vim/bundle ‹system› ‹master*› 
╰─➤  tmux -V
tmux 1.6
╭─kurt@jiko ~/.vim/bundle ‹system› ‹master*› 
╰─➤  ruby --version
ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-linux]

@benmills
Copy link
Collaborator

Well that's almost exactly the version of ruby and tmux I'm currently running on Arch Linux. I did have a problem with ruby support in vim but it cased a run time error not a segfault. I still have some time for my Fedora iso to finish downloading. Hopefully that will help me diagnose this issue.

@kurtisnelson
Copy link
Author

Eh, wonderful. I just created a new user with only pathogen and vimux and it works fine. I'll investigate further, something must be conflicting. What is strange is I'm using the same dotfiles repo that works fine on Mountain Lion.

@benmills
Copy link
Collaborator

Do you use CommandT? I've had a few occasions where it caused a segfault since it needs to be compiled. I'm going to close this issue for now and reopen if either of us can confirm this is a problem with vimux. Thanks for your help and patience.

@kurtisnelson
Copy link
Author

So strange. I've got all of these loaded in:

ctrlp.vim  markdown          supertab     vim-coffee-script  vim-powerline  vim-rake  vim-slim
html5.vim  rubycomplete.vim  taglist.vim  vim-haml           vim-rails      vim-ruby  vim-vroom

I add in vimux and it breaks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants