Lcd wrote:

> On 12 March 2016, Bram Moolenaar <[email protected]> wrote:
> > 
> > Patch 7.4.1551
> > Problem:    Cannot generate help tags in all doc directories.
> > Solution:   Make ":helptags ALL" work.
> > Files:      src/ex_cmds2.c, src/proto/ex_cmds2.pro, src/ex_cmds.c, 
> > src/vim.h,
> >             src/testdir/test_packadd.vim
> [...]
> 
>     I get a segfault running ":helptags ALL":
> 
> (gdb) bt
> #0  0xffffffff in kill () at /lib/libc.so.6
> #1  0x081c6969 in may_core_dump () at os_unix.c:3296
> #2  0x081c6838 in mch_exit (r=1) at os_unix.c:3262
> #3  0x082c4d1b in getout (exitval=1) at main.c:1532
> #4  0x08173e8b in preserve_exit () at misc1.c:9488
> #5  0x081ccbb8 in deathtrap (sigarg=6) at os_unix.c:1109
> #6  0xffffffff in <signal handler called> ()
> #7  0xffffffff in raise () at /lib/libc.so.6
> #8  0xffffffff in abort () at /lib/libc.so.6
> #9  0xffffffff in __libc_message () at /lib/libc.so.6
> #10 0xffffffff in _int_free () at /lib/libc.so.6
> #11 0xffffffff in free () at /lib/libc.so.6
> #12 0x0817922e in vim_free (x=0x9edde68) at misc2.c:1695
> #13 0x081765d5 in FreeWild (count=0, files=0x9eddde8) at misc1.c:11181
> #14 0x080e70eb in do_in_path (path=0x9eda750 
> "/home/lcd047/.vim,/usr/local/share/vim/vimfiles,/usr/local/share/vim,/usr/local/share/vim/vimfiles/after,/home/lcd047/.vim/after",
>  name=0x82d4c35 "doc", flags=3, callback=
>     0x80ddeb0 <helptags_cb>, cookie=0xbfe019d8) at ex_cmds2.c:3049
> #15 0x080ddddc in ex_helptags (eap=0xbfe01cf0) at ex_cmds.c:6965
> #16 0x080ee8ea in do_one_cmd (cmdlinep=0xbfe02210, sourcing=0, 
> cstack=0xbfe01ef8, fgetline=0x810e390 <getexline>, cookie=0x0)
>     at ex_docmd.c:2921
> #17 0x080ea916 in do_cmdline (cmdline=0x0, fgetline=0x810e390 <getexline>, 
> cookie=0x0, flags=0) at ex_docmd.c:1107
> #18 0x0819764b in nv_colon (cap=0xbfe02380) at normal.c:5325
> #19 0x0818da92 in normal_cmd (oap=0xbfe02450, toplevel=1) at normal.c:1149
> #20 0x082c56ce in main_loop (cmdwin=0, noexmode=0) at main.c:1353
> #21 0x082c164f in main (argc=1, argv=0xbfe02804) at main.c:1045

Well, don't do that then! :-)

Looks like a double free...

-- 
Those who live by the sword get shot by those who don't.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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/d/optout.

Raspunde prin e-mail lui