all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#23885: SEGFAULT: In procedure char-set-contains?: Wrong type argument in position 2 (expecting character): builder for libarchive-3.1.2
@ 2016-07-03  1:42 Eus
  2016-07-03  1:58 ` Leo Famulari
  0 siblings, 1 reply; 5+ messages in thread
From: Eus @ 2016-07-03  1:42 UTC (permalink / raw)
  To: 23885

Hi everyone!

I downloaded the Guix for USB disk, booted from it, performed the instructions shown at Alt+F2 but replacing "guix system init ..." with:
$ guix pull
$ guix system --fallback --keep-failed init ...

Then, I ended up with a segfault as shown below:

grafting '/gnu/store/nvshb8zk84hjggag42nyj0a8bnyqmv3c-atk-2.20.0-doc' -> '/gnu/store/aindlj4dlxagzgvsnx127k1n0zi1jn4d-atk-2.20.0-doc'...
grafting '/gnu/store/qizy1vd86sxvn7dgwafi1c8vqhnq8nrr-atk-2.20.0' -> '/gnu/store/vafqayi2gbridw03b7x1jpxpn78mansw-atk-2.20.0'...
grafting '/gnu/store/nsd5dhp22qlimlpyj7x9svg1yl6spr3i-cups-minimal-2.1.0' -> '/gnu/store/cwy27kkz7a88bwpc8cwig1ya5127bb4c-cups-minimal-2.1.0'...
grafting '/gnu/store/777020nhx8yhgpdk9zgnpl2pnajgsdbr-cyrus-sasl-2.1.26' -> '/gnu/store/9q2x2z9bjri2dn4sciinyw2mil2g7n21-cyrus-sasl-2.1.26'...
grafting '/gnu/store/d60md8bmqfp9nh60yiwman5cvvvp19wi-dbus-1.10.8' -> '/gnu/store/r1n27559si0gc6gpf13qmam3by14jy23-dbus-1.10.8'...
grafting '/gnu/store/glbd0mzai2d83m6jab381flxrsv0h156-desktop-file-utils-0.22' -> '/gnu/store/g6yx2mr1acvws3dbhfqycsxgn4394hxq-desktop-file-utils-0.22'...
grafting '/gnu/store/kzl4d4qy66kmkblzr7pjavf9z6bd41j8-at-spi2-core-2.20.1-doc' -> '/gnu/store/sifnqqbf25lqr1pkaln6lbmpwlv0q9fq-at-spi2-core-2.20.1-doc'...
grafting '/gnu/store/rd5sjr6cafx41dla4g9z1s83zp1msy80-at-spi2-core-2.20.1' -> '/gnu/store/jlhyha061klw0nrrgc2xmwjmw9azcdjx-at-spi2-core-2.20.1'...
grafting '/gnu/store/r2bcyrm7z8pjafhihrhxydc4vkigdkrg-avahi-0.6.31' -> '/gnu/store/r7v5qbqdh94pzqs0ygpsdf3c0vmkxwdh-avahi-0.6.31'...
grafting '/gnu/store/83195wlwq4rbz4rzq96vg5c7sr90fxw5-at-spi2-atk-2.20.1' -> '/gnu/store/h3hz9gphykban1jzjgba8zair2qqy5j4-at-spi2-atk-2.20.1'...
grafting '/gnu/store/ibz8abb6aq2k8bp0krnvm53c1vmjgc01-dbus-glib-0.104' -> '/gnu/store/052wpm204hdfczgq7w9jm8gymsi8l5w6-dbus-glib-0.104'...
grafting '/gnu/store/280z99ky123fsjznpjb3vik2kyyax4g6-enchant-1.6.0' -> '/gnu/store/fqas39l0sr0i9zk4q65a6vvzk7k45mxy-enchant-1.6.0'...
`/gnu/store/r1sw6yvmnskiag8zlr7y4y6d3wjy3j4x-elogind-219.14/share/dbus-1/system-services/org.freedesktop.login1.service' -> `/gnu/store/p7c0fwqjf0hzmwdn6yhwgrdwz38c3g6n-elogind-wrapper/share/dbus-1/system-services/org.freedesktop.login1.service'
grafting '/gnu/store/fsqfr53ayw18xgdqidy3samm70zaq7m3-exempi-2.3.0' -> '/gnu/store/ji9103i1rg5pgf1qk1hwsaqzdcgqc7ir-exempi-2.3.0'...
grafting '/gnu/store/p7jvbh4g2hqfmrkqwhljd9fq984jbaci-fontconfig-2.11.94' -> '/gnu/store/4wnwvy5y1sjr2xg9nf7bjrm6xqc3p8in-fontconfig-2.11.94'...
grafting '/gnu/store/9877p5iac7084z57m48brngf0fni0n1x-gdk-pixbuf-2.34.0' -> '/gnu/store/ll196l2vjksqfms8gvq47g8ndb39lcl9-gdk-pixbuf-2.34.0'...
grafting '/gnu/store/qkvlazvwp3jdzl32n26cfrjw5sxv0ci5-cairo-1.14.6' -> '/gnu/store/bbv65l0vhp9vwgxqfr4szz08qbid4h86-cairo-1.14.6'...
grafting '/gnu/store/7hkzdkd6svcmc76hxqzlj5s7im01791r-cairo-1.14.6' -> '/gnu/store/ad5m5c81sjlwwm6zhhgvvk4947mrqpby-cairo-1.14.6'...
grafting '/gnu/store/ix381yxzkh1w0yi48azvhj92gw5hcmsz-gd-2.2.1' -> '/gnu/store/symjb2x3cmasvmm376zikxg85n35jaw4-gd-2.2.1'...
grafting '/gnu/store/44gb306m4rgv6j3w6zz3hr17vxkj95hm-cairomm-1.12.0' -> '/gnu/store/6jgbwb3g97bv330fqw3fsrrn36jhyprr-cairomm-1.12.0'...
grafting '/gnu/store/x9h2ss1fzr5fnvdn00bv67mn94j30idx-glibmm-2.48.1' -> '/gnu/store/njnw1dkd3qfs37k4r624c3f2zigwf8ql-glibmm-2.48.1'...
grafting '/gnu/store/qnxx9qnbgvsji4f9vng9l88rpy4zg3df-gmime-2.6.20' -> '/gnu/store/qfxakyk465n9j04v8d9bgi9af11y43v5-gmime-2.6.20'...
grafting '/gnu/store/31ixv2wa348zsykwaavq693z0l3faal9-atkmm-2.24.2' -> '/gnu/store/icpq6gd3q0k7mgr6lv2pprrff425qf9a-atkmm-2.24.2'...
grafting '/gnu/store/al8wigkjl4yzxhksainvcbl4rg59jbap-gom-0.3.2' -> '/gnu/store/5vi4h11yvy2j4r3rh19cnmyasgjaqalx-gom-0.3.2'...
grafting '/gnu/store/i6v4anmk12xmm3nsibk85mnv3f8nb5sq-gstreamer-1.8.0-doc' -> '/gnu/store/p64m3sf0gvyyg5hh2m4bkxsgjhhq9582-gstreamer-1.8.0-doc'...
grafting '/gnu/store/kasl32kj3423rnwd21gznjz73jfapvw0-gstreamer-1.8.0' -> '/gnu/store/pzi8863v1hhyl8zjqmyfaj1969zir42x-gstreamer-1.8.0'...
grafting '/gnu/store/1sv1hhg4vf7fn50wd83h2hx92hb5kcmp-guix-0.10.0-0.e901' -> '/gnu/store/vw26xsn24jmrijn939fjjk50m5i4hfq3-guix-0.10.0-0.e901'...
grafting '/gnu/store/cg4n0ib42apa0k6jpncpvdwd95fa7mp9-json-glib-1.2.0' -> '/gnu/store/gli388n5ylivc7ja0f0s70j0ira7mqym-json-glib-1.2.0'...
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'...
[ 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)
cannot build derivation `/gnu/store/6y3lqn4cfxsh4g87hrbmvvalip66n9hl-grilo-0.3.0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/kinnv75vg6mabiky3ha6px9ypyw1rg0q-gvfs-1.28.1.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/11y7qn07iwix7imp5ykvvxnml078mw8w-totem-3.20.1.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/15fhv0jx2mksk73pvmxd1ljiaf3168sb-profile.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/5xlkh7ivv2v78f5dd36ynjbyrqxm623s-system.drv': 1 dependencies couldn't be built
guix system: error: build failed: build of `/gnu/store/5xlkh7ivv2v78f5dd36ynjbyrqxm623s-system.drv' failed

Any suggestion as to how to debug this?

Thank you.

--
Best regards,
Eus (FSF member #4445)

In this digital era, where computing technology is pervasive, your freedom depends on the software controlling those computing devices.

Join free software movement today! It is free as in freedom, not as in free beer!

Join: http://www.fsf.org/jf?referrer=4445

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#23885: SEGFAULT: In procedure char-set-contains?: Wrong type argument in position 2 (expecting character): builder for libarchive-3.1.2
  2016-07-03  1:42 bug#23885: SEGFAULT: In procedure char-set-contains?: Wrong type argument in position 2 (expecting character): builder for libarchive-3.1.2 Eus
@ 2016-07-03  1:58 ` Leo Famulari
  2016-07-04 13:51   ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Leo Famulari @ 2016-07-03  1:58 UTC (permalink / raw)
  To: Eus; +Cc: 23885

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.

A quick `grep` in (gnu packages) didn't reveal any private libarchive
packages besides the graft replacement.

> [ 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)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#23885: SEGFAULT: In procedure char-set-contains?: Wrong type argument in position 2 (expecting character): builder for libarchive-3.1.2
  2016-07-03  1:58 ` Leo Famulari
@ 2016-07-04 13:51   ` Ludovic Courtès
  2016-07-05  1:21     ` Eus
  0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2016-07-04 13:51 UTC (permalink / raw)
  To: Leo Famulari; +Cc: Eus, 23885

Leo Famulari <leo@famulari.name> 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’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#23885: SEGFAULT: In procedure char-set-contains?: Wrong type argument in position 2 (expecting character): builder for libarchive-3.1.2
  2016-07-04 13:51   ` Ludovic Courtès
@ 2016-07-05  1:21     ` Eus
  2016-07-05  7:55       ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Eus @ 2016-07-05  1:21 UTC (permalink / raw)
  To: ludo@gnu.org, Leo Famulari; +Cc: 23885@debbugs.gnu.org

04.07.2016, 20:53, "Ludovic Courtès" <ludo@gnu.org>:
> Leo Famulari <leo@famulari.name> 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'...

[...]

>>>  [ 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
>
> ?

Since I have already wiped the partition, I did everything from the beginning like what I have done when I encountered the segfault. This time, however, the problem did not appear.

I see that the grafting lines that appeared before the segfault message differ from the grafting lines in the successful run. In the failing one, there are 29 grafting lines. In the successful one, there are 17 grafting lines. Moreover, the grafting of /gnu/store/ciga1934crxdimj5s1gsnvh74rk24hnd-libarchive-3.1.2 and /gnu/store/ji2jgkbpl4nabwn70ax6y7kg99r7xzk7-libarchive-3.1.2 are reversed in the successful run although they both are still grafted one after another as before.

Other than that, in the failed run, I have the following line after segfault:
cannot build derivation `/gnu/store/6y3lqn4cfxsh4g87hrbmvvalip66n9hl-grilo-0.3.0.drv': 1 dependencies couldn't be built

In the successful run, however, ls -d /gnu/store/*-grilo-0.3.0.drv gives:
/gnu/store/cg3qlswny4242wc8f28maljd9yvwd5dd-grilo-0.3.0.drv
/gnu/store/qiwfbwn7a7cvf2lgqjlmkclwdrgl3fzz-grilo-0.3.0.drv

Any guess as to what actually causes the segfault?

I'd rather have you pursue this matter further, but if it is not worth the effort, I am okay if this report is dismissed.

> Thanks,
> Ludo’.

Thanks,
Eus

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#23885: SEGFAULT: In procedure char-set-contains?: Wrong type argument in position 2 (expecting character): builder for libarchive-3.1.2
  2016-07-05  1:21     ` Eus
@ 2016-07-05  7:55       ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2016-07-05  7:55 UTC (permalink / raw)
  To: Eus; +Cc: 23885@debbugs.gnu.org

Eus <eus@member.fsf.org> skribis:

> 04.07.2016, 20:53, "Ludovic Courtès" <ludo@gnu.org>:
>> Leo Famulari <leo@famulari.name> 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'...
>
> [...]
>
>>>>  [ 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
>>
>> ?
>
> Since I have already wiped the partition, I did everything from the beginning like what I have done when I encountered the segfault. This time, however, the problem did not appear.
>
> I see that the grafting lines that appeared before the segfault message differ from the grafting lines in the successful run. In the failing one, there are 29 grafting lines. In the successful one, there are 17 grafting lines. Moreover, the grafting of /gnu/store/ciga1934crxdimj5s1gsnvh74rk24hnd-libarchive-3.1.2 and /gnu/store/ji2jgkbpl4nabwn70ax6y7kg99r7xzk7-libarchive-3.1.2 are reversed in the successful run although they both are still grafted one after another as before.
>
> Other than that, in the failed run, I have the following line after segfault:
> cannot build derivation `/gnu/store/6y3lqn4cfxsh4g87hrbmvvalip66n9hl-grilo-0.3.0.drv': 1 dependencies couldn't be built
>
> In the successful run, however, ls -d /gnu/store/*-grilo-0.3.0.drv gives:
> /gnu/store/cg3qlswny4242wc8f28maljd9yvwd5dd-grilo-0.3.0.drv
> /gnu/store/qiwfbwn7a7cvf2lgqjlmkclwdrgl3fzz-grilo-0.3.0.drv
>
> Any guess as to what actually causes the segfault?
>
> I'd rather have you pursue this matter further, but if it is not worth the effort, I am okay if this report is dismissed.

OK, this is weird.  The segfault would be a Guile bug, something that
should never happen.  I’ve never seen it before though, so we’d need
more data to investigate.

I’m closing this bug and we can reopen it when we have more info.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-07-05  7:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-03  1:42 bug#23885: SEGFAULT: In procedure char-set-contains?: Wrong type argument in position 2 (expecting character): builder for libarchive-3.1.2 Eus
2016-07-03  1:58 ` Leo Famulari
2016-07-04 13:51   ` Ludovic Courtès
2016-07-05  1:21     ` Eus
2016-07-05  7:55       ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.