On Wed, Jun 9, 2010 at 12:36 PM, björn <[email protected]> wrote:
> I can reliably reproduce a crashing bug in the 7.3 branch (but I don't
> have a fix, sorry).  Here's how:
>
> 1. Unpack the attached file. It contains two Haskell files: Main.hs and 
> More.hs
> 2. gvim -u NONE -U NONE --noplugin Main.hs
> 3. :syntax enable
> 4. :vimgrep where *.hs
>
> The last step crashes every time for me (the line numbers may be off,
> I'm using MacVim source code) with:
>
> Vim: Caught deadly signal SEGV
> Vim: Finished.
>
> Running through gdb I see the following:
>
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_INVALID_ADDRESS at address: 0x00000000000002d4
> 0x0000000100189a11 in syn_cmd_clear (eap=0x7fff5fbfb530, syncing=0) at
> syntax.c:3525
> 3525        if (curwin->w_s->b_syn_topgrp != 0)
> (gdb) p curwin
> $1 = (win_T *) 0x10189d800
> (gdb) p curwin->w_s
> $2 = (synblock_T *) 0x0

Are you using the latest code from Mercurial?  Bram committed a fix for
a similar crash on Monday:

http://code.google.com/p/vim/source/detail?r=772bfca06c18d559c651645dee633b629e862516

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[email protected]>

-- 
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

Raspunde prin e-mail lui