Thursday, September 13, 2018

Re: 8.1.0350's Test_exit_cb_wipes_buf() causes segfault when building on Launchpad

On Do, 13 Sep 2018, 'Jonathon Fernyhough' via vim_use wrote:

> Hi!
>
> I'm not posting an issue on GitHub as I don't know this is a Vim issue
> rather than a Launchpad/pbuild/sbuild issue.
>
> The 8.1.350 patch release [1] introduces `Test_exit_cb_wipes_buf()`.
> This causes a segfault when `make test` is run - but only on Launchpad.
> When I run a `make; make test` locally, outside of any build
> environment, the tests all pass and don't crash. Removing the test,
> therefore bypassing it, (pretty obviously) allows the process to
> complete but that's hardly ideal.
>
> A full failed build log is available at [2], the main highlight being
> (L41950):
>
> > Executing Test_exit_cb_wipes_buf() Vim: Caught deadly signal SEGV
> > Vim: Finished.
> > Segmentation fault (core dumped)
> > Makefile:130: recipe for target 'test_channel.res' failed
>
> One of the difficulties debugging Launchpad is creating an equivalent
> local environment - Vim tests haven't completed in my local pbuilder
> environment for a long while (which may be something I've done).
>
> However, I'm hoping someone will already know what might cause this as
> the test has a comment:
>
> > This caused a crash, because messages were handled while peeking for a character.
>
> I'm aware this may not be much to go on let me know what other
> information I can provide to help find the root cause.
>
> Best,
>
> Jonathon
>
>
> [1]
> https://github.com/vim/vim/commit/0b1468884a2a1c5d3442cbb7119330e307f0aa3d#diff-0df32bc2f6721af01944a6045df14b1fR1363
> [2]
> https://launchpadlibrarian.net/388034031/buildlog_ubuntu-xenial-amd64.vim_2%3A8.1.0349+really.v8.1.0369-0york0~ubuntu16.04.1_BUILDING.txt.gz

Are you sure this version includes the patch for 8.1.349? I am a bit
confused because of the version number:
vim_2%3A8.1.0349+really.v8.1.0369-0


Best,
Christian
--
Takt ist der auf das Benehmen angewandte gute Geschmack.
-- Nicolas Sébastien de Chamfort

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: