I am trying to run a simple racket script from within a syntax.
This causes a SEGV.

It seems to be in GC_add_roots -- but I don't know whose GC_add_roots
that is (I think my racket is actually a 3m variant)

The minimal case to cause a core dump in vim in my configuration is attached.

vim -u segv.vim

System:
> uname -a
Linux timlinux 2.6.32-5-amd64 #1 SMP Fri Sep 9 20:23:16 UTC 2011
x86_64 GNU/Linux

vim configure (from config.log):

$ auto/configure --enable-mzschemeinterp --with-features=huge
--prefix=/usr --with-plthome=/usr/local/racket-5.1.3 --srcdir=.
--cache-file=auto/config.cache --srcdir=.
--cache-file=auto/config.cache

racket configure (racket-5.1.3 from source):

$ ./configure --prefix=/usr/local/racket-5.1.3 --enable-shared

vim version:

:version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Sep 30 2011 11:04:06)
Included patches: 49
Compiled by tim@timlinux
Huge version with GTK2 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_gui +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 -python3 +quickfix +reltime +rightleft -ruby +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_interact +xterm_clipboard -xterm_save
  system vimrc file: "$VIM/vimrc"
    user vimrc file: "$HOME/.vimrc"
     user exrc file: "$HOME/.exrc"
 system gvimrc file: "$VIM/gvimrc"
   user gvimrc file: "$HOME/.gvimrc"
   system menu file: "$VIMRUNTIME/menu.vim"
 fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/
include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include
/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixm
an-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I
/usr/lib/glib-2.0/include     -g -O2 -D_FORTIFY_SOURCE=1   -DMZ_PRECISE_GC -DINC
LUDE_MZSCHEME_BASE -I/usr/local/racket-5.1.3/include/racket       -DMZSCHEME_COL
LECTS=/usr/local/racket-5.1.3/lib/racket/collects
Linking: gcc   -L/usr/local/lib -o vim   -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -l
atk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lgio-2.0 -lpan
go-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -l
glib-2.0   -lXt -lm -lncurses -L/usr/local/racket-5.1.3/lib -lracket3m -Wl,-rpat
h -Wl,/usr/local/racket-5.1.3/lib


gdb `which vim`
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/vim...(no debugging symbols found)...done.
(gdb) run -u segv.vim
Starting program: /usr/bin/vim -u segv.vim
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
GC_add_roots (start=0x8b7ee8, end=0x8b7ef1) at ./roots.c:86
86        if (roots->count >= roots->size) {

Regards,

Tim

--
| Tim Brown <tim.br...@timb.net> | M:+44(0)7771714159 | H:01372747875 |

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Attachment: segv.vim
Description: Binary data

Raspunde prin e-mail lui