pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Vim crashes with "Caught deadly signal ABRT" unless launched without .vimrc



Hi,

I'm forwarding this email from the vim_use mailing list with some
suggestions as below, and I'd like to have your feedback.

On Fri, 12 Jul 2019 at 07:18, Dominique Pellé <dominique.pelle%gmail.com@localhost> wrote:
> My guess is that you did not build with:
>
>  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1

I think this was definitely in the build options, wasn't it?

>
> Without this, Vim crashes at startup.
>
> Normally the configure script should set those
> compilation flags but if you override it, you may
> run into the problem.
>
> Other things to try:
[...]
> 2) You can also build with asan (address sanitizer).
> Uncomment out this line in vim/src/Makefile:
>
> SANITIZER_CFLAGS = -g -O0 -fsanitize=undefined -fno-omit-frame-pointer
>
> Then:
>
> $ cd vim/src
> $ make clean ; make -j8
> $ ./vim 2> asan.log
>
> And look into the asan.log for memory errors.

Is this something I could try? And how would I do this on pkgsrc? This
looks like a lot of work.

-- 
Ottavio Caruso


Home | Main Index | Thread Index | Old Index