2009/9/16 nothingmuch: > > I've switched laptops and moved to 10.6 today and tried to build using > the latest git head. > > gvim is totally non functional, it segfaults using the stock RC file: > > % gdb --args /Applications/MacVim.app/Contents/MacOS/Vim -g -f -u NONE > -U NONE --noplugins -V > GNU gdb 6.3.50-20050815 (Apple version gdb-1344) (Fri Jul 3 01:19:56 > UTC 2009) > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and > you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "x86_64-apple-darwin"...Reading symbols for > shared libraries ............... done > > (gdb) r > Starting program: /Applications/MacVim.app/Contents/MacOS/Vim -g -f -u > NONE -U NONE --noplugins -V > Reading symbols for shared libraries .+++++++++++++ > +....................................................................................... > done > Reading symbols for shared libraries . done > chdir(/Applications/MacVim.app/Contents/Resources/vim/runtime) > fchdir() to previous dir > sourcing "$VIMRUNTIME/menu.vim" > Searching for "lang/menu_en_us.utf-8.vim" in "/Users/nothingmuch/.vim,/ > Applications/MacVim.app/Contents/Resources/vim/vimfiles,/Applications/ > MacVim.app/Contents/Resources/vim/runtime,/Applications/MacVim.app/ > Contents/Resources/vim/vimfiles/after,/Users/nothingmuch/.vim/after" > Searching for "/Users/nothingmuch/.vim/lang/menu_en_us.utf-8.vim" > Searching for "/Applications/MacVim.app/Contents/Resources/vim/ > vimfiles/lang/menu_en_us.utf-8.vim" > Searching for "/Applications/MacVim.app/Contents/Resources/vim/runtime/ > lang/menu_en_us.utf-8.vim" > Searching for "/Applications/MacVim.app/Contents/Resources/vim/ > vimfiles/after/lang/menu_en_us.utf-8.vim" > Searching for "/Users/nothingmuch/.vim/after/lang/ > menu_en_us.utf-8.vim" > not found in 'runtimepath': "lang/menu_en_us.utf-8.vim" > Searching for "lang/menu_en_us[^a-z]*vim" in "/Users/nothingmuch/.vim,/ > Applications/MacVim.app/Contents/Resources/vim/vimfiles,/Applications/ > MacVim.app/Contents/Resources/vim/runtime,/Applications/MacVim.app/ > Contents/Resources/vim/vimfiles/after,/Users/nothingmuch/.vim/after" > Searching for "/Users/nothingmuch/.vim/lang/menu_en_us[^a-z]*vim" > Searching for "/Applications/MacVim.app/Contents/Resources/vim/ > vimfiles/lang/menu_en_us[^a-z]*vim" > Searching for "/Applications/MacVim.app/Contents/Resources/vim/runtime/ > lang/menu_en_us[^a-z]*vim" > Searching for "/Applications/MacVim.app/Contents/Resources/vim/ > vimfiles/after/lang/menu_en_us[^a-z]*vim" > Searching for "/Users/nothingmuch/.vim/after/lang/menu_en_us[^a-z] > *vim" > not found in 'runtimepath': "lang/menu_en_us[^a-z]*vim" > Searching for "autoload/paste.vim" in "/Users/nothingmuch/.vim,/ > Applications/MacVim.app/Contents/Resources/vim/vimfiles,/Applications/ > MacVim.app/Contents/Resources/vim/runtime,/Applications/MacVim.app/ > Contents/Resources/vim/vimfiles/after,/Users/nothingmuch/.vim/after" > Searching for "/Users/nothingmuch/.vim/autoload/paste.vim" > Searching for "/Applications/MacVim.app/Contents/Resources/vim/ > vimfiles/autoload/paste.vim" > Searching for "/Applications/MacVim.app/Contents/Resources/vim/runtime/ > autoload/paste.vim" > chdir(/Applications/MacVim.app/Contents/Resources/vim/runtime/ > autoload) > fchdir() to previous dir > line 194: sourcing "/Applications/MacVim.app/Contents/Resources/vim/ > runtime/autoload/paste.vim" > finished sourcing /Applications/MacVim.app/Contents/Resources/vim/ > runtime/autoload/paste.vim > continuing in /Applications/MacVim.app/Contents/Resources/vim/runtime/ > menu.vim > finished sourcing $VIMRUNTIME/menu.vimReading symbols for shared > libraries . done > > Program received signal EXC_BAD_ACCESS, Could not access memory. > Reason: KERN_INVALID_ADDRESS at address: 0x000000013ff00034 > 0x00000001001505d1 in gui_mch_def_colors () > (gdb) bt > #0 0x00000001001505d1 in gui_mch_def_colors () > #1 0x000000010015407d in gui_mch_init () > #2 0x000000010014f40e in gui_init () > #3 0x0000000100139f0f in set_termname () > #4 0x000000010014f928 in gui_start () > #5 0x0000000100088a6c in main () > (gdb) > > > When I commented out the menu.vim source from filetype.vim it > segfaulted a little bit later (I can't remember where). > > I also had some trouble with my .vimrc, vim was segfaulting in my > adrian.vim color file on the "hi clear" line, so I commented that out. > That sounds related (also involving colors and stuff) but it wasn't > running in the GUI then. > > Any suggestions on what to do next? I don't even know how to > effectively investigate this...
It sounds to me like the build went wrong. Start over from scratch with ./configure ..., make clean, make, then go to the src/MacVim folder and open MacVim.xcodeproj and do a clean and rebuild in Xcode. Then finally run the project from within Xcode. Is the problem still there? ...or you can just use the prebuilt 10.6 binary that I'm using myself: http://b4winckler.wordpress.com/2009/09/02/macvim-on-snow-leopard/ Björn --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_mac" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
