unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: 34427@debbugs.gnu.org
Subject: bug#34427: guile-bootstrap@2.2 segfault?
Date: Mon, 11 Feb 2019 11:11:36 +0200	[thread overview]
Message-ID: <20190211091136.GA3284@macbook41> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 362 bytes --]

I'm testing %bootstrap-guile from bootstrap.scm and I'm getting a
segfault when runing guile --version. I've attached an strace of the
process.


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #1.2: guile_strace --]
[-- Type: text/plain, Size: 7700 bytes --]

16301 execve("/gnu/store/m7xa9rd869yrd88x6x7ri6wnan4f7yl4-guile-bootstrap-2.0/bin/guile", ["/gnu/store/m7xa9rd869yrd88x6x7ri"..., "--version"], 0xbf8fd040 /* 27 vars */) = 0
16301 brk(NULL)                         = 0x106cc000
16301 brk(0x106ccd4c)                   = 0x106ccd4c
16301 uname({sysname="Linux", nodename="g4", ...}) = 0
16301 set_tid_address(0x106cc068)       = 16301
16301 set_robust_list(0x106cc070, 12)   = 0
16301 rt_sigaction(SIGRTMIN, {sa_handler=0x100f0748, sa_mask=[], sa_flags=SA_SIGINFO}, NULL, 8) = 0
16301 rt_sigaction(SIGRT_1, {sa_handler=0x100f0828, sa_mask=[], sa_flags=SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
16301 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
16301 ugetrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
16301 readlink("/proc/self/exe", "/gnu/store/m7xa9rd869yrd88x6x7ri"..., 4096) = 73
16301 brk(0x106edd4c)                   = 0x106edd4c
16301 brk(0x106ee000)                   = 0x106ee000
16301 openat(AT_FDCWD, "/run/current-system/locale/2.28/locale-archive", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
16301 openat(AT_FDCWD, "/gnu/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-cross-powerpc-linux-gnu-2.28/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
16301 openat(AT_FDCWD, "/run/current-system/locale/2.28/en_IL/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
16301 openat(AT_FDCWD, "/run/current-system/locale/2.28/en/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
16301 write(2, "guile: warning: failed to instal"..., 41) = 41
16301 futex(0x1036dd44, FUTEX_WAKE_PRIVATE, 2147483647) = 0
16301 openat(AT_FDCWD, "/proc/self/maps", O_RDONLY|O_CLOEXEC) = 3
16301 ugetrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
16301 fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
16301 read(3, "00100000-00103000 r-xp 00000000 "..., 1024) = 456
16301 close(3)                          = 0
16301 sched_getaffinity(16301, 32, [0]) = 4
16301 brk(0x106fe000)                   = 0x106fe000
16301 brk(0x1070e000)                   = 0x1070e000
16301 brk(0x1071e000)                   = 0x1071e000
16301 brk(0x1072e000)                   = 0x1072e000
16301 brk(0x1073e000)                   = 0x1073e000
16301 rt_sigaction(SIGPWR, {sa_handler=0x100e1514, sa_mask=~[INT QUIT ABRT TERM RTMIN RT_1], sa_flags=SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
16301 rt_sigaction(SIGXCPU, {sa_handler=0x100e1200, sa_mask=~[INT QUIT ABRT TERM RTMIN RT_1], sa_flags=SA_RESTART}, NULL, 8) = 0
16301 rt_sigprocmask(SIG_UNBLOCK, [XCPU PWR], NULL, 8) = 0
16301 openat(AT_FDCWD, "/proc/stat", O_RDONLY) = 3
16301 read(3, "cpu  79046 1474 32444 6400729 91"..., 4096) = 1308
16301 close(3)                          = 0
16301 swapcontext(0xbfd68968, 0)        = 0
16301 brk(0x107be000)                   = 0x107be000
16301 pipe2([3, 4], O_CLOEXEC)          = 0
16301 futex(0x1036dc98, FUTEX_WAKE_PRIVATE, 2147483647) = 0
16301 clock_gettime(CLOCK_REALTIME, {tv_sec=1549875824, tv_nsec=168848026}) = 0
16301 clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {tv_sec=0, tv_nsec=7758656}) = 0
16301 openat(AT_FDCWD, "/gnu/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-cross-powerpc-linux-gnu-2.28/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
16301 openat(AT_FDCWD, "/gnu/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-cross-powerpc-linux-gnu-2.28/lib/gconv/gconv-modules", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
16301 futex(0x10380884, FUTEX_WAKE_PRIVATE, 2147483647) = 0
16301 openat(AT_FDCWD, "/dev/urandom", O_RDONLY|O_LARGEFILE) = 5
16301 fstat64(5, {st_mode=S_IFCHR|0666, st_rdev=makedev(0x1, 0x9), ...}) = 0
16301 ioctl(5, TCGETS, 0xbfd68ec8)      = -1 EINVAL (Invalid argument)
16301 read(5, "U\254.\237\4u\321\354\272\36e\316\7%\262\230\31A\2373\372p\313V7Le\325s\32\351\225"..., 4096) = 4096
16301 close(5)                          = 0
16301 brk(0x107ce000)                   = 0x107ce000
16301 ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
16301 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7b6e000
16301 fcntl64(0, F_GETFL)               = 0x2 (flags O_RDWR)
16301 _llseek(0, 0, 0xbfd68a38, SEEK_CUR) = -1 ESPIPE (Illegal seek)
16301 ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
16301 fcntl64(1, F_GETFL)               = 0x2 (flags O_RDWR)
16301 _llseek(1, 0, 0xbfd68a38, SEEK_CUR) = -1 ESPIPE (Illegal seek)
16301 ioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0
16301 fcntl64(2, F_GETFL)               = 0x2 (flags O_RDWR)
16301 _llseek(2, 0, 0xbfd68a38, SEEK_CUR) = -1 ESPIPE (Illegal seek)
16301 readlink("/proc/self/exe", "/gnu/store/m7xa9rd869yrd88x6x7ri"..., 256) = 73
16301 lstat64("/gnu", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
16301 lstat64("/gnu/store", {st_mode=S_IFDIR|S_ISVTX|0775, st_size=73728, ...}) = 0
16301 lstat64("/gnu/store/m7xa9rd869yrd88x6x7ri6wnan4f7yl4-guile-bootstrap-2.0", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
16301 lstat64("/gnu/store/m7xa9rd869yrd88x6x7ri6wnan4f7yl4-guile-bootstrap-2.0/bin", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
16301 stat64("/gnu/store/m7xa9rd869yrd88x6x7ri6wnan4f7yl4-guile-bootstrap-2.0/share/guile/2.2/ice-9/eval.scm", {st_mode=S_IFREG|0444, st_size=25718, ...}) = 0
16301 stat64("/gnu/store/m7xa9rd869yrd88x6x7ri6wnan4f7yl4-guile-bootstrap-2.0/lib/guile/2.2/ccache/ice-9/eval.go", {st_mode=S_IFREG|0444, st_size=87205, ...}) = 0
16301 openat(AT_FDCWD, "/gnu/store/m7xa9rd869yrd88x6x7ri6wnan4f7yl4-guile-bootstrap-2.0/lib/guile/2.2/ccache/ice-9/eval.go", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 5
16301 _llseek(5, 0, [87205], SEEK_END)  = 0
16301 mmap2(NULL, 87205, PROT_READ, MAP_PRIVATE, 5, 0) = 0xb7b58000
16301 close(5)                          = 0
16301 mprotect(0xb7b68000, 1892, PROT_READ|PROT_WRITE) = 0
16301 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
16301 stat64("/gnu/store/m7xa9rd869yrd88x6x7ri6wnan4f7yl4-guile-bootstrap-2.0/share/guile/2.2/init.scm", 0xbfd69048) = -1 ENOENT (No such file or directory)
16301 stat64("/gnu/store/m7xa9rd869yrd88x6x7ri6wnan4f7yl4-guile-bootstrap-2.0/share/guile/2.2/ice-9/boot-9.scm", {st_mode=S_IFREG|0444, st_size=147360, ...}) = 0
16301 stat64("/gnu/store/m7xa9rd869yrd88x6x7ri6wnan4f7yl4-guile-bootstrap-2.0/lib/guile/2.2/ccache/ice-9/boot-9.go", {st_mode=S_IFREG|0444, st_size=516373, ...}) = 0
16301 openat(AT_FDCWD, "/gnu/store/m7xa9rd869yrd88x6x7ri6wnan4f7yl4-guile-bootstrap-2.0/lib/guile/2.2/ccache/ice-9/boot-9.go", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 5
16301 _llseek(5, 0, [516373], SEEK_END) = 0
16301 mmap2(NULL, 516373, PROT_READ, MAP_PRIVATE, 5, 0) = 0xb7ad9000
16301 close(5)                          = 0
16301 mprotect(0xb7b29000, 73344, PROT_READ|PROT_WRITE) = 0
16301 stat64("/gnu/store/m7xa9rd869yrd88x6x7ri6wnan4f7yl4-guile-bootstrap-2.0/share/guile/2.2/ice-9/psyntax-pp.scm", {st_mode=S_IFREG|0444, st_size=185011, ...}) = 0
16301 stat64("/gnu/store/m7xa9rd869yrd88x6x7ri6wnan4f7yl4-guile-bootstrap-2.0/lib/guile/2.2/ccache/ice-9/psyntax-pp.go", {st_mode=S_IFREG|0444, st_size=472229, ...}) = 0
16301 openat(AT_FDCWD, "/gnu/store/m7xa9rd869yrd88x6x7ri6wnan4f7yl4-guile-bootstrap-2.0/lib/guile/2.2/ccache/ice-9/psyntax-pp.go", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 5
16301 _llseek(5, 0, [472229], SEEK_END) = 0
16301 mmap2(NULL, 472229, PROT_READ, MAP_PRIVATE, 5, 0) = 0xb7a65000
16301 close(5)                          = 0
16301 mprotect(0xb7ab5000, 34496, PROT_READ|PROT_WRITE) = 0
16301 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x31dbc378} ---
16301 +++ killed by SIGSEGV +++

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

             reply	other threads:[~2019-02-11  9:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-11  9:11 Efraim Flashner [this message]
2019-02-12  9:17 ` bug#34427: [PATCH] build guile-static with guile-2.0 Efraim Flashner
2019-02-16 16:06   ` bug#34427: [bug#34453] " Ludovic Courtès
2022-04-12 10:10     ` bug#34427: bug#34453: " zimoun
2019-02-12 14:27 ` bug#34427: guile-bootstrap@2.2 segfault? Ludovic Courtès
2019-02-12 15:44   ` Efraim Flashner
2022-04-12 10:12     ` zimoun
2022-04-12 16:01     ` Ludovic Courtès
2022-04-13 21:01       ` Efraim Flashner
2022-04-15  7:45         ` Ludovic Courtès
2022-06-23  8:17           ` zimoun
2022-10-18 16:14             ` zimoun
2022-10-18 16:22               ` Efraim Flashner
2022-10-19 10:40                 ` zimoun
2022-10-08  2:46         ` Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190211091136.GA3284@macbook41 \
    --to=efraim@flashner.co.il \
    --cc=34427@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).