Loading ...
Sorry, an error occurred while loading the content.
 

Procedures to reproduce the crash related with "language messages zh_CN.UTF-8"

Expand Messages
  • adah@netstd.com
    Hi Vim developers here, Accidentally I found the procedures required to reproduce the crash related with language messages zh_CN.UTF-8 . It is related with
    Message 1 of 1 , May 1, 2005
      Hi Vim developers here,

      Accidentally I found the procedures required to reproduce the crash
      related with "language messages zh_CN.UTF-8". It is related with my
      cvsmenu.vim script

      http://vim.sourceforge.net/scripts/script.php?script_id=1245

      Without my script this crash bug can be produced as follows:

      1) Execute :language messages zh_CN.UTF-8

      2) Paste the following lines into a new buffer:

      amenu &CVS.In&fo
      amenu &CVS.Settin&gs\ .In&fo\ (buffer)
      amenu &CVS.Settin&gs\ .Show\ &mappings

      3) Execute :%s/^\s*amenu\s\([^'."\t".']*\).\+/\1/eg

      4) Vim should crash now

      So I think it is a bug. Can I expect a fix soon?

      Best regards,

      Yongwei






      adah@...
      2005-04-30 21:49


      To: vim@...
      CC:
      Subject: Details of the crash caused by "language messages zh_CN.UTF-8"

      My test shows that a single line of

      language messages zh_CN.UTF-8

      in _vimrc will crash gvim.exe 6.3, 6.3.67, and 6.3.71 on Chinese Windows
      2000. The patched versions were downloaded from Antoine's site.

      When testing with gvimd.exe 6.3.71 (from Antoine's site), I got the
      following information (output from Dr MinGW). Hope the Vim developers
      will find it useful.

      My msvcrt.dll is dated 2003-6-19, sized 286,773 bytes, and versioned
      6.1.9844.0.

      Anyone else found the same crash problem?

      Best regards,

      Yongwei

      ---------------------------------------

      gvimd.exe caused an Access Violation at location 7800fa97 in module
      msvcrt.dll Reading from location 00000005.

      Registers:
      eax=00000005 ebx=00000073 ecx=00000005 edx=7fffffff esi=7ffffffe
      edi=00000800
      eip=7800fa97 esp=0022e018 ebp=0022e270 iopl=0 nv up ei pl nz na po

      nc
      cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000206

      Call stack:
      7800FA97 msvcrt.dll:7800FA97 setvbuf
      780238DC msvcrt.dll:780238DC sprintf
      0042E006 gvimd.exe:0042E006 do_sub_msg ex_cmds.c:4289
      0042DE3C gvimd.exe:0042DE3C do_sub ex_cmds.c:4243
      00439990 gvimd.exe:00439990 do_one_cmd ex_docmd.c:2474
      00437582 gvimd.exe:00437582 do_cmdline ex_docmd.c:991
      00424C84 gvimd.exe:00424C84 ex_execute eval.c:8727
      00439990 gvimd.exe:00439990 do_one_cmd ex_docmd.c:2474
      00437582 gvimd.exe:00437582 do_cmdline ex_docmd.c:991
      0042671D gvimd.exe:0042671D call_user_func eval.c:9562
      0041E1B6 gvimd.exe:0041E1B6 call_func eval.c:3192
      0041DEB0 gvimd.exe:0041DEB0 get_func_var eval.c:3051
      0041BBCF gvimd.exe:0041BBCF ex_call eval.c:1345
      00439990 gvimd.exe:00439990 do_one_cmd ex_docmd.c:2474
      00437582 gvimd.exe:00437582 do_cmdline ex_docmd.c:991
      0042671D gvimd.exe:0042671D call_user_func eval.c:9562
      0041E1B6 gvimd.exe:0041E1B6 call_func eval.c:3192
      0041DEB0 gvimd.exe:0041DEB0 get_func_var eval.c:3051
      0041BBCF gvimd.exe:0041BBCF ex_call eval.c:1345
      00439990 gvimd.exe:00439990 do_one_cmd ex_docmd.c:2474
      00437582 gvimd.exe:00437582 do_cmdline ex_docmd.c:991
      00434A63 gvimd.exe:00434A63 do_source ex_cmds2.c:2353
      0043417B gvimd.exe:0043417B source_callback ex_cmds2.c:1852
      00434372 gvimd.exe:00434372 do_in_runtimepath ex_cmds2.c:1936
      004341A6 gvimd.exe:004341A6 cmd_runtime ex_cmds2.c:1866
      00466BF9 gvimd.exe:00466BF9 VimMain main.c:1467
      0052A8FD gvimd.exe:0052A8FD
      0052D23A gvimd.exe:0052D23A
      004011E7 gvimd.exe:004011E7
      00401238 gvimd.exe:00401238
      77E8893D KERNEL32.dll:77E8893D ProcessIdToSessionId
    Your message has been successfully submitted and would be delivered to recipients shortly.