From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: Re: Seg fault when building from git Date: Sat, 23 Nov 2013 16:50:56 +0100 Message-ID: <20131123155055.GA32705@jocasta.intra> References: <20131123132131.GA26055@jocasta.intra> <87txf3xhnd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tsOsTdHNUZQcU9Ye" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VkFUI-00070S-J0 for guix-devel@gnu.org; Sat, 23 Nov 2013 10:51:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VkFUE-0005G9-8X for guix-devel@gnu.org; Sat, 23 Nov 2013 10:51:14 -0500 Content-Disposition: inline In-Reply-To: <87txf3xhnd.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic Court??s Cc: guix-devel@gnu.org --tsOsTdHNUZQcU9Ye Content-Type: multipart/mixed; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 23, 2013 at 04:27:34PM +0100, Ludovic Court??s wrote: =20 Could you do: =20 ulimit -c unlimited rm -f guix/scripts/build.go make guix/scripts/build.go =20 and then, assuming it segfaulted again: =20 gdb $(which guile) core (gdb) bt full Backtrace is attached. =20 What does ???guile --version??? say? guile (GNU Guile) 2.0.5-deb+1-3 =20 Also, the problem appears to be related to lack of space in /tmp --=20 PGP Public key ID: 1024D/2DE827B3=20 fingerprint =3D 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key. --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=bt Content-Transfer-Encoding: quoted-printable john@jocasta:/Scratch/john/guix-dev$ ulimit -c unlimited john@jocasta:/Scratch/john/guix-dev$ rm -rf guix/scripts/build.go=20 john@jocasta:/Scratch/john/guix-dev$ make !$ make guix/scripts/build.go /bin/mkdir -p `dirname "guix/scripts/build.go"` ; \ LC_ALL=3DC \ ./pre-inst-env \ /usr/bin/guild compile -L "." -L "/home/john/guix" \ -Wformat -Wunbound-variable -Warity-mismatch \ --target=3D"i686-pc-linux-gnu" = \ -o "guix/scripts/build.go" "/home/john/guix/guix/scripts/build.sc= m" ;;; note: source file /Scratch/john/guix-dev/srfi/srfi-37.scm ;;; newer than compiled /usr/lib/guile/2.0/ccache/srfi/srfi-37.go ;;; found fresh local cache at /home/john/.cache/guile/ccache/2.0-LE-4-2.0/= Scratch/john/guix-dev/srfi/srfi-37.scm.go /bin/bash: line 6: 32675 Segmentation fault (core dumped) LC_ALL=3DC .= /pre-inst-env /usr/bin/guild compile -L "." -L "/home/john/guix" -Wformat -= Wunbound-variable -Warity-mismatch --target=3D"i686-pc-linux-gnu" -o "guix/= scripts/build.go" "/home/john/guix/guix/scripts/build.scm" make: *** [guix/scripts/build.go] Error 139 john@jocasta:/Scratch/john/guix-dev$ ls core=20 core john@jocasta:/Scratch/john/guix-dev$ gdb $(which guile) core GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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 "i486-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/bin/guile...(no debugging symbols found)...done. [New LWP 32675] warning: Can't read pathname for load map: Input/output error. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db= =2Eso.1". Core was generated by `/usr/bin/guile -e (@@ (guild) main) -s /usr/bin/guil= d compile -L . -L /home/joh'. Program terminated with signal 11, Segmentation fault. #0 0x408701e5 in scm_init_gnutls () from /usr/lib/i386-linux-gnu/libguile-= gnutls-v-1.so (gdb) bt full #0 0x408701e5 in scm_init_gnutls () from /usr/lib/i386-linux-gnu/libguile-= gnutls-v-1.so No symbol table info available. #1 0x4012aee2 in scm_dynamic_call () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #2 0x40093949 in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #3 0x40093980 in scm_load_extension () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #4 0x401282ce in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #5 0x40129afa in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #6 0x4008f887 in scm_primitive_eval () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #7 0x400b61f3 in scm_primitive_load () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #8 0x400b66cc in scm_primitive_load_path () from /usr/lib/libguile-2.0.so.= 22 No symbol table info available. #9 0x401282dc in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #10 0x40129afa in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #11 0x4008f21c in scm_call_3 () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #12 0x400bac4a in scm_module_variable () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #13 0x400baafc in scm_module_variable () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #14 0x401282ce in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #15 0x40129afa in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #16 0x4008f887 in scm_primitive_eval () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #17 0x400b61f3 in scm_primitive_load () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #18 0x400b66cc in scm_primitive_load_path () from /usr/lib/libguile-2.0.so.= 22 No symbol table info available. #19 0x401282dc in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #20 0x40129afa in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #21 0x4008f887 in scm_primitive_eval () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #22 0x400b61f3 in scm_primitive_load () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #23 0x400b66cc in scm_primitive_load_path () from /usr/lib/libguile-2.0.so.= 22 No symbol table info available. #24 0x401282dc in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #25 0x40129afa in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #26 0x4008f887 in scm_primitive_eval () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #27 0x400b61f3 in scm_primitive_load () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #28 0x400b66cc in scm_primitive_load_path () from /usr/lib/libguile-2.0.so.= 22 No symbol table info available. #29 0x401282dc in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #30 0x40129afa in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #31 0x4008f887 in scm_primitive_eval () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #32 0x400b61f3 in scm_primitive_load () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #33 0x400b66cc in scm_primitive_load_path () from /usr/lib/libguile-2.0.so.= 22 No symbol table info available. #34 0x401282dc in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #35 0x40129afa in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #36 0x4008f887 in scm_primitive_eval () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #37 0x400b61f3 in scm_primitive_load () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #38 0x400b66cc in scm_primitive_load_path () from /usr/lib/libguile-2.0.so.= 22 No symbol table info available. #39 0x401282dc in ?? () from /usr/lib/libguile-2.0.so.22 ---Type to continue, or q to quit---=20 No symbol table info available. #40 0x40129afa in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #41 0x4008f887 in scm_primitive_eval () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #42 0x400b61f3 in scm_primitive_load () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #43 0x400b66cc in scm_primitive_load_path () from /usr/lib/libguile-2.0.so.= 22 No symbol table info available. #44 0x401282dc in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #45 0x40129afa in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #46 0x4008f887 in scm_primitive_eval () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #47 0x400b61f3 in scm_primitive_load () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #48 0x400b66cc in scm_primitive_load_path () from /usr/lib/libguile-2.0.so.= 22 No symbol table info available. #49 0x401282dc in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #50 0x40129afa in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #51 0x4008f887 in scm_primitive_eval () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #52 0x4008f900 in scm_eval () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #53 0x400e6ae3 in scm_shell () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #54 0x400afcdc in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #55 0x400849b0 in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #56 0x4010ff58 in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #57 0x401284bf in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #58 0x40129afa in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #59 0x4008f284 in scm_call_4 () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #60 0x401103ea in scm_catch_with_pre_unwind_handler () from /usr/lib/libgui= le-2.0.so.22 No symbol table info available. #61 0x401105dc in scm_c_catch () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #62 0x400852a3 in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #63 0x40085386 in scm_c_with_continuation_barrier () from /usr/lib/libguile= -2.0.so.22 No symbol table info available. #64 0x4010d7c0 in ?? () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #65 0x4038ea2e in GC_call_with_stack_base () from /usr/lib/libgc.so.1 No symbol table info available. #66 0x4010d98f in scm_with_guile () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #67 0x400afe65 in scm_boot_guile () from /usr/lib/libguile-2.0.so.22 No symbol table info available. #68 0x080487b5 in ?? () No symbol table info available. #69 0x4022ce46 in __libc_start_main (main=3D0x8048780, argc=3D17, ubp_av=3D= 0xbfcae7f4, init=3D0x80488a0, fini=3D0x8048890, rtld_fini=3D0x4000e590,=20 stack_end=3D0xbfcae7ec) at libc-start.c:228 result =3D unwind_buf =3D {cancel_jmp_buf =3D {{jmp_buf =3D {1077366772, 0, 0,= -1077221432, -1950746100, 1542147571}, mask_was_saved =3D 0}},=20 priv =3D {pad =3D {0x0, 0x0, 0x11, 0x80487bc}, data =3D {prev =3D= 0x0, cleanup =3D 0x0, canceltype =3D 17}}} not_first_call =3D #70 0x080487dd in ?? () No symbol table info available. (gdb) quit --3MwIy2ne0vdjdPXF-- --tsOsTdHNUZQcU9Ye Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlKQzt8ACgkQimdxnC3oJ7NelgCdHIc58mhwrzo0uqjFK0a0dxQr PPYAniXXXgTAi1IKsYeekkhBJYE1mkGS =o3QC -----END PGP SIGNATURE----- --tsOsTdHNUZQcU9Ye--