raf <[email protected]> wrote:

> Hi,
>
> Happy New Year Bram et al!
>
> I just tried to compile and test vim for the
> first time in ages and got a segmentation fault.
>
> Environment:
>
>   macos-10.14.6
>   vim-8.2 patches 1-2251
>   XQuartz 2.7.11 (xorg-server 1.18.4)
>   (plus other xorg stuff via macports might be relevant)

Hi

Athena GUI works fine for me on Linux x86_6.

Can you try building Vim with the address sanitizer (asan)?
It should only be a matter of uncommenting this line vim
vim/src/Makefile:

SANITIZER_CFLAGS = -g -O0 -fsanitize=address -fno-omit-frame-pointer

Then:

$ make clean ; make

Then try to reproduce the crash. If a memory error happens, asan will
dump useful information on stderr.  You may need to redirect stderr
like this:

$ cd vim/src ; ./vim 2> asan.log

Alternatively, you can try running Vim with valgrind, which is
much slower. Don't use valgrind with a asan build though.
If you want to run tests with valgrind, you
can uncomment the following line in vim/src/testdir/Makefile:

VALGRIND = valgrind --tool=memcheck --leak-check=yes --num-callers=25
--log-file=valgrind.$*

I suggest to change it to the following to get even more information
at the cost of running slower:

VALGRIND = valgrind --track-origins=yes --leak-check=yes
--num-callers=40 --log-file=valgrind.$*

Regards
Dominique

-- 
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAON-T_gDUW_O_uws43hwq3FC2s7mPoyYkxQ5%2BzZiQtu%3DYo0ZPQ%40mail.gmail.com.

Raspunde prin e-mail lui