Thursday, September 13, 2018

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJbmhmzAAoJEOAwQ4KMP/S75zgP/3WRYmWZwODJCaUtIYRIirEq
c1bMfq72HQCdx3yjnj3j3mRUFgjkOoWytRErwGbU+DywQKnmFHBLFAif+2Le9RVh
CkT6SNxckKZmod9jyAhdcLMf6gxP+SAp+u2hmf9nYqdmNcCXBzq22XhIgeNXhqrb
+CibiIr21gsmrGF/TFbCsd7NRg7bBP0xRDsmJ6RQk6CVmy/sxBF9r+vE4OHevsTT
AB2IzYadmPqJFSRdH6NttTNWqhZKzq10A1zxqywGDzPShz1QxvXp/lyvfp671s8l
u06FPxqQFTiinG319P0PQU9/PvTDwQGzfrbp1tzMOlZj6Twa9OhJVUfHt4ZkBmcd
qmuJ/2HHncHJpLzVlC5j4deUJIL3Le179PlXMUOTqcP/0CdBUkKTeseV93jEKwcp
JL6c0+6auUQvJ/fF6bUZ22HBCdlFrSWEmbVk67HKzE7dvujqMRgKJzfA8fTtvrOv
nHdmxmxPAeiDNCVCPFcmhFm/kRpnM9AKg6YCpLY/jOOemYzwhnYZvKmPYFc3SaCh
6vPgVJXrLoqUwyY1CwQrYcvbdRGHYedOZ5BuCv2Tl0TcuPdbsYeK4UTC0/VWLDHS
3QX3BXg9HR6tFYYcGMapc2bb5sb2ngM+CHSDmAJ4h23Tl81RWXYpULowrE9D/eGr
NjVCeqPNFgeE75/qxEbv
=So6v
-----END PGP SIGNATURE-----
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

--
--
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: