Subject: Re: bug#23885: SEGFAULT: In procedure char-set-contains?: Wrong type argument in position 2 (expecting character): builder for libarchive-3.1.2

From: [email-masked] (Ludovic Courtès)
Date: Mon, 04 Jul 2016 15:51:35 +0200

Leo Famulari <[email-masked]> skribis:

> On Sun, Jul 03, 2016 at 08:42:09AM +0700, Eus wrote:
> [...]
>
>> grafting '/gnu/store/7sba9q9dpkhcb2zmqcm8a00d1xrkccvz-libarchive-3.1.2' -> '/gnu/store/ciga1934crxdimj5s1gsnvh74rk24hnd-libarchive-3.1.2'...
>> grafting '/gnu/store/p07xa257vli65gx6vs3d0l3qxwqg13rk-libarchive-3.1.2' -> '/gnu/store/ji2jgkbpl4nabwn70ax6y7kg99r7xzk7-libarchive-3.1.2'...
>
> Can anyone say if it is expected that there are two different
> libarchives? Seems strange to me, and it immediately precedes the fault.

I think that can happen due to different graft orderings.  It’s hard to
tell without knowing the exact package set, though.

>> [ 7584.270501] guile[27326]: segfault at 0 ip 00007ffff7b41c47 sp 00007ffff4cb1930 error 4 in libguile-2.0.so.22.7.2[7ffff7a4d000+153000]
>> ERROR: In procedure char-set-contains?: Wrong type argument in position 2 (expecting character): builder for `/gnu/store/2fjf4zqh05lzg8sa7l865xvg4faqc5z4-libarchive-3.1.2.drv' failed due to signal 11 (Segmentation fault)

This is scary.  Eus, is it reproducible?  That is, does it happen again
if you run:

  guix build --rounds=4 \
     /gnu/store/2fjf4zqh05lzg8sa7l865xvg4faqc5z4-libarchive-3.1.2.drv

?

Thanks,
Ludo’.