all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Everything segfaults
@ 2016-06-09 15:20 Paul van der Walt
  2016-06-09 17:28 ` Andreas Enge
  0 siblings, 1 reply; 9+ messages in thread
From: Paul van der Walt @ 2016-06-09 15:20 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 1066 bytes --]

Hello Guix (sorry for the cross-post, and thanks Roel for the tip),

It's been a while, so i apologise for asking what are probably dumb
questions.

Quite a while ago i ran into this issue where (it might have been after
a system upgrade including libc and such, i'm using git Guix on Arch
Linux) all binaries segfault.  This is quite a while ago, so it would've
definitely been an older kernel version then, but i can't say which
one.  We're talking like 4 months ago.

I didn't really have time to look at it then, and now i'm trying to get
back on the Guix-horse.  I've done `guix package -i ..` for a few
packages, some of which have and some of which haven't been updated in
the meantime, but the problem persists.  Should i blow away the entire
/gnu/store and reinstall Guix from scratch, or can something be
debugged/salvaged?  My debugging-fu is weak, so i might need pointers.

I've taken Roel's suggestion and attached the output of `strace less`
which is one of the binaries that segfaults.

Hope this isn't too much PEBKAC for one afternoon!

Cheers,
p.

[-- Attachment #2: strace-less.log --]
[-- Type: text/plain, Size: 3975 bytes --]

execve("/home/paul/.guix-profile/bin/less", ["less"], [/* 55 vars */]) = 0
brk(NULL)                               = 0x1319000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f99bd00c000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/home/paul/GNUstep/Library/Libraries/tls/x86_64/libncursesw.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/paul/GNUstep/Library/Libraries/tls/x86_64", 0x7ffd3128db80) = -1 ENOENT (No such file or directory)
open("/home/paul/GNUstep/Library/Libraries/tls/libncursesw.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/paul/GNUstep/Library/Libraries/tls", 0x7ffd3128db80) = -1 ENOENT (No such file or directory)
open("/home/paul/GNUstep/Library/Libraries/x86_64/libncursesw.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/paul/GNUstep/Library/Libraries/x86_64", 0x7ffd3128db80) = -1 ENOENT (No such file or directory)
open("/home/paul/GNUstep/Library/Libraries/libncursesw.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/paul/GNUstep/Library/Libraries", 0x7ffd3128db80) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/x86_64/libncursesw.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/tls/x86_64", 0x7ffd3128db80) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libncursesw.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/tls", 0x7ffd3128db80)    = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64/libncursesw.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64", 0x7ffd3128db80) = -1 ENOENT (No such file or directory)
open("/usr/lib/libncursesw.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260u\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=444680, ...}) = 0
mmap(NULL, 2542224, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f99bcb81000
mprotect(0x7f99bcbe8000, 2097152, PROT_NONE) = 0
mmap(0x7f99bcde8000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x67000) = 0x7f99bcde8000
close(3)                                = 0
open("/usr/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p*\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=721704, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f99bd00b000
mmap(NULL, 2185552, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f99bc96b000
mprotect(0x7f99bc981000, 2093056, PROT_NONE) = 0
mmap(0x7f99bcb80000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f99bcb80000
close(3)                                = 0
open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\10\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1960968, ...}) = 0
mmap(NULL, 3803440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f99bc5ca000
mprotect(0x7f99bc761000, 2097152, PROT_NONE) = 0
mmap(0x7f99bc961000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x197000) = 0x7f99bc961000
mmap(0x7f99bc967000, 14640, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f99bc967000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f99bd00a000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f99bd009000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f99bd008000
arch_prctl(ARCH_SET_FS, 0x7f99bd009700) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
+++ killed by SIGSEGV (core dumped) +++
zsh: segmentation fault (core dumped)  strace less &> strace-less.log

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Everything segfaults
@ 2016-06-09 14:50 Paul van der Walt
  2016-06-09 15:11 ` Roel Janssen
  0 siblings, 1 reply; 9+ messages in thread
From: Paul van der Walt @ 2016-06-09 14:50 UTC (permalink / raw)
  To: guix-devel@gnu.org

Hello Guix,

It's been a while, so i apologise for asking what are probably dumb
questions.

Quite a while ago i ran into this issue where (it might have been after
a system upgrade including libc and such, i'm using git Guix on Arch
Linux) all binaries segfault.

I didn't really have time to look at it then, and now i'm trying to get
back on the Guix-horse.  I've done `guix package -i ..` for a few
packages, some of which have and some of which haven't been updated in
the meantime, but the problem persists.  Should i blow away the entire
/gnu/store and reinstall Guix from scratch, or can something be
debugged/salvaged?  My debugging-fu is weak, so i might need pointers.

Hope this isn't too much PEBKAC for one afternoon!

Cheers,
p.

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

end of thread, other threads:[~2016-06-15 11:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-09 15:20 Everything segfaults Paul van der Walt
2016-06-09 17:28 ` Andreas Enge
2016-06-14 18:30   ` Paul van der Walt
2016-06-14 21:46     ` Ludovic Courtès
2016-06-14 22:27       ` Paul van der Walt
2016-06-15 11:24         ` Ludovic Courtès
  -- strict thread matches above, loose matches on Subject: below --
2016-06-09 14:50 Paul van der Walt
2016-06-09 15:11 ` Roel Janssen
2016-06-09 15:14   ` Paul van der Walt

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.