On Tue, Mar 24, 2009 at 10:45 AM, Tony Mechelynck
<[email protected]> wrote:
>
> On 24/03/09 18:23, George V. Reilly wrote:
>>
>> I have a reproable crash, apparently due to syntax highlighting memory
>> corruption.
>>
>> The stack traces below were taken with WinDbg while running Vim
>> 7.2.108 on Windows.
> [...]
>
> Can you reproduce it with Vim 7.2.148? You can get it (for 32-bit
> Windows) from
> https://sourceforge.net/project/showfiles.php?group_id=43866&package_id=39721
> and at least one of the intervening patches is about accessing freed memory.

I built 7.2.147 (the latest in Subversion). Still reproes.

Note: I interrupted Vim fairly early while it was digesting ":so
jquery.vim" and found apparent corruption on the stack.

0:003> ~0kp
ChildEBP RetAddr
0012f6b4 00424460 gvim!fastzero_I(void * dst = 0x03500020, int len =
1556096)+0x3d
0012f6d4 004cabeb gvim!_VEC_memzero(void * dst = 0x03500020, int val =
1556096, int len = 585564160)+0x36
0012f6f0 0045dc0d gvim!ga_grow(struct growarray * gap = 0x005bd2c4,
int n = 4342880)+0x3b [d:\projects\vimsrc\vim7\src\misc2.c @ 1997]
0012f6fc 0045dfa1 gvim!push_current_state(int idx = <Memory access
error>)+0xd [d:\projects\vimsrc\vim7\src\syntax.c @ 2727]
0012f710 0045e981 gvim!push_next_match(struct state_item * cur_si =
0x03500020)+0x21 [d:\projects\vimsrc\vim7\src\syntax.c @ 2379]
0012f860 0045ecd1 gvim!syn_current_attr(int syncing = <Memory access
error>, int displaying = <Memory access error>, int * can_spell =
<Memory access error>, int keep_state = <Memory access error>)+0x811
[d:\projects\vimsrc\vim7\src\syntax.c @ 2171]
0012f880 004609a6 gvim!syn_finish_line(int syncing = 56258464)+0x21
[d:\projects\vimsrc\vim7\src\syntax.c @ 1693]
0012f8a4 0048beca gvim!syntax_start(struct window_S * wp = 0x03500020,
long lnum = <Memory access error>)+0x1f6
[d:\projects\vimsrc\vim7\src\syntax.c @ 565]
0012fb40 0048ff4a gvim!win_line(struct window_S * wp = 0x00001a9e,
long lnum = <Memory access error>, int startrow = <Memory access
error>, int endrow = <Memory access error>, int nochange = <Memory
access error>)+0x1da [d:\projects\vimsrc\vim7\src\screen.c @ 2728]
0012fbec 00492bc9 gvim!win_update(struct window_S * wp =
0x01d059e8)+0x142a [d:\projects\vimsrc\vim7\src\screen.c @ 1768]
0012fc0c 004f5bcf gvim!update_screen(int type = 35)+0x499
[d:\projects\vimsrc\vim7\src\screen.c @ 522]
0012fc88 004f8b2c gvim!main_loop(int cmdwin = 0, int noexmode =
0)+0x24f [d:\projects\vimsrc\vim7\src\main.c @ 1109]
0012fdcc 005747b2 gvim!VimMain(void)+0xbbc
[d:\projects\vimsrc\vim7\src\main.c @ 942]
0012fef0 0040af4f gvim!WinMain(struct HINSTANCE__ * hInstance =
0x769d4911, struct HINSTANCE__ * hPrevInst = 0x7ffd6000, char *
lpszCmdLine = 0x0012ffd4 "???", int nCmdShow = 1997857974)+0x92
[d:\projects\vimsrc\vim7\src\os_w32exe.c @ 131]
0012ff88 769d4911 gvim!__tmainCRTStartup(void)+0x177
[f:\qfe\vctools\crt_bld\self_x86\crt\src\cr

-- 
/George V. Reilly  [email protected]
http://www.georgevreilly.com/blog  http://blogs.cozi.com/tech

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui