I have been encountering an intermittent coredump using vim 7.1 under
Hardy, see the subject for the exact version.  Please let me know if
this is not the correct forum for this message.

I rebuilt vim from source with symbols after I stumbled on a
reproduceable test case today.  The backtrace from the core dump is as
follows. It looks like the field uh_next_alt is being corrupted. Often
in the backtrace it also contains the value 0x11.

The coredump is sensitive to the value of VIMINIT. I can write up the
exact steps to reproduce this error for anyone interested/capable of
debugging this error.

Frank

(gdb) bt
#0  0x0000000000587e19 in u_unch_branch (uhp=0xa2d000007f4eac59) at
undo.c:1576
#1  0x0000000000587e42 in u_unch_branch (uhp=0x8ad450) at undo.c:1578
#2  0x0000000000587def in u_unchanged (buf=0x8151a0) at undo.c:1564
#3  0x00000000004988b4 in buf_write (buf=0x8151a0, fname=0x817200 "t",
sfname=0x817200 "t", start=1, end=47,
    eap=0x7fffb5727a60, append=0, forceit=0, reset_changed=1,
filtering=0) at fileio.c:4517
#4  0x000000000046724e in do_write (eap=0x7fffb5727a60) at ex_cmds.c:
2687
#5  0x000000000047e082 in ex_exit (eap=0x7fffb5727a60) at ex_docmd.c:
6590
#6  0x00000000004775cc in do_one_cmd (cmdlinep=0x7fffb5727cc8,
sourcing=0, cstack=0x7fffb5727d00,
    fgetline=0x48acd9 <getexline>, cookie=0x0) at ex_docmd.c:2621
#7  0x0000000000474dc8 in do_cmdline (cmdline=0x0, getline=0x48acd9
<getexline>, cookie=0x0, flags=0)
    at ex_docmd.c:1099
#8  0x00000000004f74b0 in nv_colon (cap=0x7fffb5728250) at normal.c:
5168
#9  0x00000000004f1080 in normal_cmd (oap=0x7fffb5728320, toplevel=1)
at normal.c:1141
#10 0x00000000004b5735 in main_loop (cmdwin=0, noexmode=0) at main.c:
1181
#11 0x00000000004b5334 in main (argc=2, argv=0x7fffb57285e8) at main.c:
940

(gdb) f 1
#1  0x0000000000587e42 in u_unch_branch (uhp=0x8ad450) at undo.c:1578
1578                u_unch_branch(uh->uh_alt_next);         /*
recursive */
(gdb) p uh->uh_alt_next
$1 = (u_header_T *) 0xa2d000007f4eac59

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

Raspunde prin e-mail lui