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

E132: Function call depth is higher than 'maxfuncdepth' #45

Closed
sammcj opened this issue Jul 9, 2013 · 12 comments
Closed

E132: Function call depth is higher than 'maxfuncdepth' #45

sammcj opened this issue Jul 9, 2013 · 12 comments
Labels

Comments

@sammcj
Copy link

sammcj commented Jul 9, 2013

When launching vim:

Error detected while processing function airline#update_statusline..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>
28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_
window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_ov
errides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..
<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_a
pply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_wind
ow_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overri
des..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR
>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply
_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_o
verrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides.
.<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_
apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_win
dow_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overr
ides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SN
R>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_appl
y_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_
overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides
..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28_apply_window_overrides..<SNR>28
_apply_window_overrides:
line   15:
E132: Function call depth is higher than 'maxfuncdepth'

my .vimrc:

execute pathogen#infect()
syntax on
filetype plugin indent on

set modeline
set ruler

set laststatus=2
let g:airline_powerline_fonts=1

Terminal is iTerm2 set to xterm-256colour

$ vim --version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jun 14 2013 18:02:01)
Compiled by root@apple.com
Normal version without GUI.  Features included (+) or not (-):
-arabic +autocmd -balloon_eval -browse +builtin_terms +byte_offset +cindent 
-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments 
-conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con +diff +digraphs 
-dnd -ebcdic -emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path 
+find_in_path +float +folding -footer +fork() -gettext -hangul_input +iconv 
+insert_expand +jumplist -keymap -langmap +libcall +linebreak +lispindent 
+listcmds +localmap -lua +menu +mksession +modify_fname +mouse -mouseshape 
-mouse_dec -mouse_gpm -mouse_jsbterm -mouse_netterm -mouse_sysmouse 
+mouse_xterm +multi_byte +multi_lang -mzscheme +netbeans_intg -osfiletype 
+path_extra -perl +persistent_undo +postscript +printer -profile +python/dyn 
-python3 +quickfix +reltime -rightleft +ruby/dyn +scrollbind +signs 
+smartindent -sniff +startuptime +statusline -sun_workshop +syntax +tag_binary 
+tag_old_static -tag_any_white -tcl +terminfo +termresponse +textobjects +title
 -toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo 
+vreplace +wildignore +wildmenu +windows +writebackup -X11 -xfontset -xim -xsmp
 -xterm_clipboard -xterm_save 
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -D_FORTIFY_SOURCE=0 -Iproto -DHAVE_CONFIG_H -arch i386 -arch x86_64 -g -Os -pipe
Linking: gcc -arch i386 -arch x86_64 -o vim -lncurses
@jsvana
Copy link

jsvana commented Jul 9, 2013

Seconded, using Vundle.

@zealot128
Copy link

Same here, latest vim-airline on vim 7.3 huge. Some of the newer commits. On 3e1f8c8 everything fine!

@zealot128
Copy link

OK, the last commit, c0427e4, introduces the bug for me

@drudru
Copy link

drudru commented Jul 9, 2013

+1 - vundle, last commit. I just manually backed out of the commit to keep going.

@nicolaiarocci
Copy link

Same here since latest update.

@bling
Copy link
Member

bling commented Jul 9, 2013

this is what happens when you commit and then go to sleep T_T. @sammcj, for some odd reason your :version doesn't have a "included patches" line in it....is that the default vim that ships with OSX?

@bling
Copy link
Member

bling commented Jul 9, 2013

i reproduced with the windows 7.3 install. it would appear that one of the 1000+ patches between 7.3 and 7.4 fixed this.

@dalizard
Copy link

dalizard commented Jul 9, 2013

@bling So, it is not the plugin's fault?

@bling
Copy link
Member

bling commented Jul 9, 2013

@dalizard it is and it isn't. it just happens to be first error i've come across where the version of vim matters. i've already reverted the change since i know a lot of people like to use stock vim on whatever system they're on. but i'd like to leave this open so my initial change can make it in properly and support older versions.

@nicolaiarocci
Copy link

Yes it's fixed for me now. Thanks for the quick action (had the plugin disabled in the meanwhile).

@dalizard
Copy link

dalizard commented Jul 9, 2013

@bling Thank you. I am not using stock vim though. Installed via homebrew:

↳ vim --version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled May 21 2013 10:59:02)
MacOS X (unix) version
Included patches: 1-976
Compiled by dimitar@Bilbo.local
Huge version without GUI.  Features included (+) or not (-):
+arabic          +file_in_path    +mouse_sgr       +tag_binary
+autocmd         +find_in_path    -mouse_sysmouse  +tag_old_static
-balloon_eval    +float           +mouse_urxvt     -tag_any_white
-browse          +folding         +mouse_xterm     -tcl
++builtin_terms  -footer          +multi_byte      +terminfo
+byte_offset     +fork()          +multi_lang      +termresponse
+cindent         -gettext         -mzscheme        +textobjects
-clientserver    -hangul_input    +netbeans_intg   +title
+clipboard       +iconv           +path_extra      -toolbar
+cmdline_compl   +insert_expand   -perl            +user_commands
+cmdline_hist    +jumplist        +persistent_undo +vertsplit
+cmdline_info    +keymap          +postscript      +virtualedit
+comments        +langmap         +printer         +visual
+conceal         +libcall         +profile         +visualextra
+cryptv          +linebreak       +python          +viminfo
+cscope          +lispindent      -python3         +vreplace
+cursorbind      +listcmds        +quickfix        +wildignore
+cursorshape     +localmap        +reltime         +wildmenu
+dialog_con      -lua             +rightleft       +windows
+diff            +menu            +ruby            +writebackup
+digraphs        +mksession       +scrollbind      -X11
-dnd             +modify_fname    +signs           -xfontset
-ebcdic          +mouse           +smartindent     -xim
+emacs_tags      -mouseshape      -sniff           -xsmp
+eval            +mouse_dec       +startuptime     -xterm_clipboard
+ex_extra        -mouse_gpm       +statusline      -xterm_save
+extra_search    -mouse_jsbterm   -sun_workshop
+farsi           +mouse_netterm   +syntax
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: /usr/bin/clang -c -I. -Iproto -DHAVE_CONFIG_H   -DMACOS_X_UNIX -no-cpp-precomp  -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: /usr/bin/clang   -L. -L/Users/dimitar/.rbenv/versions/1.9.3-p429/lib  -L/usr/local/lib -o vim        -lm  -lncurses -liconv -framework Cocoa    -framework Python   -lruby-static -lobjc -L/Users/dimitar/.rbenv/versions/1.9.3-p429/lib

I hope this helps a bit :)

@bling
Copy link
Member

bling commented Jul 9, 2013

yes, that definitely saved some time on my manual binary search :-). it turns out that 1058 is the version that fixes this.

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

No branches or pull requests

7 participants