Subject: bug#23581: closed (Re: bug#23581: Grafted binaries crash)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 24 May 2016 21:59:01 +0000

Your bug report

#23581: Grafted binaries crash

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
23581: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23581
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#23581: Grafted binaries crash
From: [email-masked] (Ludovic Courtès)
To: [email-masked]
Date: Tue, 24 May 2016 23:58:29 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

[email-masked] (Ludovic Courtès) skribis:

> [email-masked] (Ludovic Courtès) skribis:
>
>> Bus-eraro(nekropsio elŝutita)
>
> I was able to reproduce the bus error by grafting in ENOSPC conditions:
>
> @ build-started /gnu/store/dc8pxfdmmp35cpivsr78bwfp15ppx5ih-icecat-38.8.0-gnu1.drv - x86_64-linux /var/log/guix/drvs/dc//8pxfdmmp35cpivsr78bwfp15ppx5ih-icecat-38.8.0-gnu1.drv.bz2
> grafting '/gnu/store/5z1q4zw73r8cx409qbmh7abhd6llm31c-icecat-38.8.0-gnu1' -> '/gnu/store/yahn165sj4ajx0zklgql6s4yiadmdpay-icecat-38.8.0-gnu1'...
> In thread:
> ERROR: In procedure scm_flush: No space left on device
> In thread:
> ERROR: In procedure scm_flush: No space left on device
> Backtrace:
> In unknown file:
>    ?: 2 [apply-smob/1 #<catch-closure 8c96e0> quit #<unspecified>]
> In ice-9/boot-9.scm:
>  157: 1 [catch #t #<catch-closure 1d54ce0> ...]
> In unknown file:
>    ?: 0 [apply-smob/1 #<catch-closure 1d54ce0>]
>
> ERROR: In procedure apply-smob/1:
> ERROR: In procedure scm_flush: No space left on device
> @ build-succeeded /gnu/store/dc8pxfdmmp35cpivsr78bwfp15ppx5ih-icecat-38.8.0-gnu1.drv -
> @ build-started /gnu/store/3phgf8166l7dahscy5si13cky49yfwp7-conkeror-1.0pre1.20150730.drv - x86_64-linux /var/log/guix/drvs/3p//hgf8166l7dahscy5si13cky49yfwp7-conkeror-1.0pre1.20150730.drv.bz2
> grafting '/gnu/store/19hbrx9nhr9g5a2am8yxhd7i7rn778j5-conkeror-1.0pre1.20150730' -> '/gnu/store/n5swnzg1gr48x53q3hjn953nph4vbz1l-conkeror-1.0pre1.20150730'...
> @ build-succeeded /gnu/store/3phgf8166l7dahscy5si13cky49yfwp7-conkeror-1.0pre1.20150730.drv -
> /gnu/store/n5swnzg1gr48x53q3hjn953nph4vbz1l-conkeror-1.0pre1.20150730
> $ /gnu/store/n5swnzg1gr48x53q3hjn953nph4vbz1l-conkeror-1.0pre1.20150730/bin/conkeror
> Bus-eraro
>
> Note that, despite ENOSPC, the grafting derivation is marked as
> succeeding.

Fixed in 007c20b61c84af11289f96d43374e2e688838a26.

Ludo’.

Subject: Grafted binaries crash
From: [email-masked] (Ludovic Courtès)
To: [email-masked]
Date: Thu, 19 May 2016 10:18:40 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello!

After an update to roughly 1c29f3ef8452860c4301d7ae57c89ac5956d1663, I
notice that several binaries crash, notably Evince and Conkeror:

Here’s an example:

--8<---------------cut here---------------start------------->8---
ludo@pluto ~$ guix build evince --no-grafts
/gnu/store/6d1az58r5bldgwjrg3n417359g1ixh2b-evince-3.20.0
ludo@pluto ~$ /gnu/store/6d1az58r5bldgwjrg3n417359g1ixh2b-evince-3.20.0/bin/evince

** (evince:16436): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

(evince:16436): Gtk-WARNING **: Theme parsing error: <data>:56:20: The 'gtk-key-bindings' property has been renamed to '-gtk-key-bindings'

(Works fine.)

ludo@pluto ~$ guix build evince 
/gnu/store/kj8hfbwwg6vpzf1ryzdl514xbziml7y6-evince-3.20.0
ludo@pluto ~$ ulimit -c unlimited
ludo@pluto ~$ /gnu/store/kj8hfbwwg6vpzf1ryzdl514xbziml7y6-evince-3.20.0/bin/evince

** (evince:16467): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

(evince:16467): Gtk-WARNING **: Theme parsing error: <data>:56:20: The 'gtk-key-bindings' property has been renamed to '-gtk-key-bindings'
Bus-eraro(nekropsio elŝutita)
ludo@pluto ~$ gdb /gnu/store/kj8hfbwwg6vpzf1ryzdl514xbziml7y6-evince-3.20.0/bin/.evince-real core 
GNU gdb (GDB) 7.11
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
[<gdb.printing.RegexpCollectionPrettyPrinter object at 0x7f69057d4438>, <function lookup_function at 0x7f69057d2ea0>]
Reading symbols from /gnu/store/kj8hfbwwg6vpzf1ryzdl514xbziml7y6-evince-3.20.0/bin/.evince-real...(no debugging symbols found)...done.
[New LWP 16480]
[New LWP 16470]
[New LWP 16467]
[New LWP 16473]
[New LWP 16479]
[New LWP 16474]
[New LWP 16471]
[New LWP 16478]
[New LWP 16475]
[New LWP 16472]
[New LWP 16476]
[New LWP 16477]

warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/lib/libthread_db.so.1".
Core was generated by `/gnu/store/kj8hfbwwg6vpzf1ryzdl514xbziml7y6-evince-3.20.0/bin/evince'.
Program terminated with signal SIGBUS, Bus error.
#0  0x00007f8372c1315a in memset () from /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/lib/ld-linux-x86-64.so.2
[Current thread is 1 (Thread 0x7f8353fff700 (LWP 16480))]
(gdb) bt
#0  0x00007f8372c1315a in memset () from /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/lib/ld-linux-x86-64.so.2
#1  0x00007f8372c00ced in _dl_map_object_from_fd () from /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/lib/ld-linux-x86-64.so.2
#2  0x00007f8372c0244e in _dl_map_object () from /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/lib/ld-linux-x86-64.so.2
#3  0x00007f8372c069e2 in openaux () from /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/lib/ld-linux-x86-64.so.2
#4  0x00007f8372c08f34 in _dl_catch_error () from /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/lib/ld-linux-x86-64.so.2
#5  0x00007f8372c06c40 in _dl_map_object_deps () from /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/lib/ld-linux-x86-64.so.2
#6  0x00007f8372c0d3e4 in dl_open_worker () from /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/lib/ld-linux-x86-64.so.2
#7  0x00007f8372c08f34 in _dl_catch_error () from /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/lib/ld-linux-x86-64.so.2
#8  0x00007f8372c0cd33 in _dl_open () from /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/lib/ld-linux-x86-64.so.2
#9  0x00007f836ff2bfb9 in dlopen_doit () from /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/lib/libdl.so.2
#10 0x00007f8372c08f34 in _dl_catch_error () from /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/lib/ld-linux-x86-64.so.2
#11 0x00007f836ff2c589 in _dlerror_run () from /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/lib/libdl.so.2
#12 0x00007f836ff2c051 in dlopen@@GLIBC_2.2.5 () from /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/lib/libdl.so.2
#13 0x00007f836f117a32 in g_module_open () from /gnu/store/3yq04ykz98s4yli05nq5qvwaqya7ni9p-glib-2.48.0/lib/libgmodule-2.0.so.0
#14 0x00007f83729daeb9 in ev_module_load () from /gnu/store/kj8hfbwwg6vpzf1ryzdl514xbziml7y6-evince-3.20.0/lib/libevdocument3.so.4
#15 0x00007f836cbb3981 in g_type_module_use () from /gnu/store/3yq04ykz98s4yli05nq5qvwaqya7ni9p-glib-2.48.0/lib/libgobject-2.0.so.0
#16 0x00007f83729d6fa5 in ev_document_factory_new_document_for_mime_type () from /gnu/store/kj8hfbwwg6vpzf1ryzdl514xbziml7y6-evince-3.20.0/lib/libevdocument3.so.4
#17 0x00007f83729d71f5 in new_document_for_uri () from /gnu/store/kj8hfbwwg6vpzf1ryzdl514xbziml7y6-evince-3.20.0/lib/libevdocument3.so.4
#18 0x00007f83729d7460 in ev_document_factory_get_document () from /gnu/store/kj8hfbwwg6vpzf1ryzdl514xbziml7y6-evince-3.20.0/lib/libevdocument3.so.4
#19 0x00007f8372787a7f in ev_job_load_run () from /gnu/store/kj8hfbwwg6vpzf1ryzdl514xbziml7y6-evince-3.20.0/lib/libevview3.so.3
#20 0x00007f8372788f8a in ev_job_thread_proxy () from /gnu/store/kj8hfbwwg6vpzf1ryzdl514xbziml7y6-evince-3.20.0/lib/libevview3.so.3
#21 0x00007f836c8dfd45 in g_thread_proxy () from /gnu/store/3yq04ykz98s4yli05nq5qvwaqya7ni9p-glib-2.48.0/lib/libglib-2.0.so.0
#22 0x00007f836f685464 in start_thread () from /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/lib/libpthread.so.0
#23 0x00007f836be875cd in clone () from /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/lib/libc.so.6
(gdb) p (void*)$rdi
$1 = (void *) 0x7f83583f8728
(gdb) p (int)$rsi
$2 = 0
(gdb) p (int)$rdx
$3 = 1480558376
--8<---------------cut here---------------end--------------->8---

Ludo’.