On Mon, May 20, 2013 at 6:34 PM, Bram Moolenaar <[email protected]> wrote:
>
> Matteo Cavalleri wrote:
>
>> hi, i compiled vim from source (from the mercurial repo) with all the
>> latest patches, my system is a ubuntu 13.04 64 bit. when i run vim and
>> load a PHP file i get this error:
>>
>> "classes/ORM/Product.php" 495L, 17856C*** Error in `vim': free(): invalid 
>> next size (normal): 0x00000000042cabe0 ***
>>
>> and then i have to "kill -9" it. i tried to load the same file with:
>>
>> vim -u NONE -U NONE --noplugin classes/ORM/Product.php
>>
>> and it loaded, but when i did a ":syntax on" it crashed, writing on the 
>> console just "Segmentation fault (core dumped)"
>>
>> i tried also to load some other files:
>>  - bash script: no crash
>>  - short coffeescript file: no crash
>>  - smarty template: crash
>>  - very very short and simple php file: crash
>>
>> i need to put "set regexpengine=1" in my .vimrc to be able to work.
>>
>> here's my vim version, if you need some more info, feel free to ask to
>> me (except for the source code i tried to edit :P that's my company
>> code and i obviously can't share it)
>
> It might be the same crash that happens on:
>
>         :echo search("[^A-z]")

:echo search("[^A-z]") works fine in my compiled gvim. So it's
probably an interaction between a vim feature and the regexp engine.

My build info
-arabic          +comments        -emacs_tags      -hangul_input
+lua             +path_extra      +scrollbind      -tcl
+viminfo
+autocmd         +conceal         +eval            -iconv
+menu            -perl            +signs           -tgetent
+vreplace
+balloon_eval    -cryptv          +ex_extra        +insert_expand
+mksession       -persistent_undo +smartindent     -termresponse
+wildignore
+browse          -cscope          +extra_search    +jumplist
+modify_fname    -printer         -sniff           +textobjects
+wildmenu
+byte_offset     +cursorbind      -farsi           -keymap
+mouse           -profile         +startuptime     +title
+windows
+cindent         +cursorshape     +file_in_path    -langmap
+mouseshape      +python          +statusline      +toolbar
+writebackup
+clientserver    +dialog_con_gui  +find_in_path    +libcall
+multi_byte      -python3         -sun_workshop    +user_commands
-xfontset
+clipboard       -diff            +float           +linebreak
-multi_lang      +quickfix        +syntax          +vertsplit
-xim
+cmdline_compl   +digraphs        +folding         -lispindent
-mzscheme        +reltime         +tag_binary      +virtualedit
-xterm_save
+cmdline_hist    -dnd             -footer          +listcmds
-netbeans_intg   -rightleft       +tag_old_static  +visual
-xpm_w32
+cmdline_info    -ebcdic          -gettext         +localmap
-ole             -ruby            -tag_any_white   +visualextra

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui