From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: primus Newsgroups: gmane.lisp.guile.bugs Subject: Re: [1.9.12][OpenBSD] run time failure ... Date: Wed, 8 Sep 2010 21:07:02 +0100 Message-ID: <20100908200702.GJ8535@x.lence.net> References: <20100908192137.GH8535@x.lence.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="ZwgA9U+XZDXt4+m+" X-Trace: dough.gmane.org 1283976449 13835 80.91.229.12 (8 Sep 2010 20:07:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Sep 2010 20:07:29 +0000 (UTC) To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Sep 08 22:07:27 2010 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OtQvW-0006mC-JQ for guile-bugs@m.gmane.org; Wed, 08 Sep 2010 22:07:27 +0200 Original-Received: from localhost ([127.0.0.1]:44551 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OtQvV-0007VA-PM for guile-bugs@m.gmane.org; Wed, 08 Sep 2010 16:07:25 -0400 Original-Received: from [140.186.70.92] (port=54853 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OtQvK-0007Tl-Oa for bug-guile@gnu.org; Wed, 08 Sep 2010 16:07:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OtQvF-0002P7-C6 for bug-guile@gnu.org; Wed, 08 Sep 2010 16:07:14 -0400 Original-Received: from mail-bw0-f41.google.com ([209.85.214.41]:51910) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OtQvF-0002Ot-4G for bug-guile@gnu.org; Wed, 08 Sep 2010 16:07:09 -0400 Original-Received: by bwz6 with SMTP id 6so571290bwz.0 for ; Wed, 08 Sep 2010 13:07:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=NIF8S8d0JdVzK0H68L4xWKOe7xs9FD8D+vJpcBP6h34=; b=cj2WvlKfH4hAPUZ6ijuOJNGNs7XuHXmy+718+mh/67tYoAN3u4vf40gh0T9Togc5s9 Q6X5qsc+H1wqVv/oGxWhoCjSs/l9PXJ2SJl64Rjq6MdMTXVgU2e4g3GoBHvzBj/gJ3zW 95UO+oi4oUFINFRAunyaaGJ8XvZtaQfJFaN78= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=nmLTQ87+cyNV2SNd4FRqI7Nm6yeeY4VSnymec5/J9L9j5Tg2iTHTZXzoIg33S52WJd rQHrqkCUwpku62PJN20yj+3+DbOrxyAy8tJvvsB06P93vw/MF7XWysLcjeCRys/t0Pln 02iuYQLtN/yYm51IaHTCoX8egGT+p0WuV0mKc= Original-Received: by 10.204.35.69 with SMTP id o5mr43782bkd.87.1283976425849; Wed, 08 Sep 2010 13:07:05 -0700 (PDT) Original-Received: from x.lence.net (lence.net [93.97.42.123]) by mx.google.com with ESMTPS id 11sm389320bkj.11.2010.09.08.13.07.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 08 Sep 2010 13:07:05 -0700 (PDT) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4777 Archived-At: --ZwgA9U+XZDXt4+m+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Sep 08, 2010 at 09:46:41PM +0200, Andy Wingo wrote: > Hi, > > On Wed 08 Sep 2010 21:21, primus writes: > > > Failure is at: (won't know where to start debugging this - scheme land now). > > > > gmake[2]: Entering directory `/usr/obj/micro/guile-1.9.12/module' > > GUILEC ice-9/eval.go > > guile: uncaught throw to wrong-type-arg: (#f Wrong type (expecting ~A): ~S (exact integer (#t # # #)) ((#t # # #))) > > Ew. What version of libgc do you have? Wed Sep 8 21:01:19 BST 2010 Hi Andy, # pkg_info | grep boehm boehm-gc-7.0p2 garbage collection and memory leak detection for C and C++ # for i in `pkg_info -L boehm-gc-7.0p2 | grep lib`;do ls -la $i done -rw-r--r-- 1 root bin 41461 Mar 18 15:24 /usr/local/lib/libcord.so.2.3 -rw-r--r-- 1 root bin 146136 Mar 18 15:24 /usr/local/lib/libgc.so.3.0 -rw-r--r-- 1 root bin 36106 Mar 18 15:24 /usr/local/lib/libcord.a -rw-r--r-- 1 root bin 816 Mar 18 15:24 /usr/local/lib/libcord.la -rw-r--r-- 1 root bin 172748 Mar 18 15:24 /usr/local/lib/libgc.a -rw-r--r-- 1 root bin 780 Mar 18 15:24 /usr/local/lib/libgc.la -r--r--r-- 1 root bin 269 Mar 18 15:24 /usr/local/lib/pkgconfig/bdw-gc.pc > > If you are able to attach to the guile process while it is building, > break on scm_ithrow and send the backtrace. You can edit > meta/guile-tools and replace "exec guile" with "exec > gdb-uninstalled-guile", then when you get a gdb prompt after typing > "make", you can "break scm_ithrow", then "run", then "bt full" when you > hit the error. Have attached gmake_all.l3g backtrace: Starting program: /usr/obj/micro/guile-1.9.12/libguile/guile -e \(@@\ \(guile-tools\)\ main\) -s /usr/obj/micro/guile-1.9.12/met a/guile-tools compile -Wunbound-variable -Warity-mismatch -o ice-9/eval.go ice-9/eval.scm [Switching to process 25962, thread 0x7faf7400] Breakpoint 1, scm_ithrow (key=0x3c0788a0, args=0x3d4094d0, noreturn=1) at throw.c:453 453 } (gdb) bt full #0 scm_ithrow (key=0x3c0788a0, args=0x3d4094d0, noreturn=1) at throw.c:453 No locals. #1 0x1c0904fd in scm_error_scm (key=0x3c0788a0, subr=0x3d4fff50, message=0x3d4fe050, args=0x3d4094f8, data=0x4) at error.c:94 No locals. #2 0x1c090615 in scm_error (key=Could not find the frame base for "scm_error". ) at error.c:60 No locals. #3 0x1c090650 in scm_misc_error (subr=Could not find the frame base for "scm_misc_error". ) at error.c:283 No locals. #4 0x1c068902 in scm_dynamic_link (filename=Variable "filename" is not available. ) at dynl.c:93 file = Variable "file" is not available. (gdb) quit -- -primus "It isn't what you make, it's what you don't lose!" --ZwgA9U+XZDXt4+m+ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="gmake_all.l3g" gmake all-recursive gmake[1]: Entering directory `/usr/obj/micro/guile-1.9.12' Making all in lib gmake[2]: Entering directory `/usr/obj/micro/guile-1.9.12/lib' gmake all-recursive gmake[3]: Entering directory `/usr/obj/micro/guile-1.9.12/lib' gmake[4]: Entering directory `/usr/obj/micro/guile-1.9.12/lib' gmake[4]: Nothing to be done for `all-am'. gmake[4]: Leaving directory `/usr/obj/micro/guile-1.9.12/lib' gmake[3]: Leaving directory `/usr/obj/micro/guile-1.9.12/lib' gmake[2]: Leaving directory `/usr/obj/micro/guile-1.9.12/lib' Making all in meta gmake[2]: Entering directory `/usr/obj/micro/guile-1.9.12/meta' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/usr/obj/micro/guile-1.9.12/meta' Making all in libguile gmake[2]: Entering directory `/usr/obj/micro/guile-1.9.12/libguile' gmake all-am gmake[3]: Entering directory `/usr/obj/micro/guile-1.9.12/libguile' gmake[3]: Nothing to be done for `all-am'. gmake[3]: Leaving directory `/usr/obj/micro/guile-1.9.12/libguile' gmake[2]: Leaving directory `/usr/obj/micro/guile-1.9.12/libguile' Making all in guile-readline gmake[2]: Entering directory `/usr/obj/micro/guile-1.9.12/guile-readline' gmake all-am gmake[3]: Entering directory `/usr/obj/micro/guile-1.9.12/guile-readline' gmake[3]: Nothing to be done for `all-am'. gmake[3]: Leaving directory `/usr/obj/micro/guile-1.9.12/guile-readline' gmake[2]: Leaving directory `/usr/obj/micro/guile-1.9.12/guile-readline' Making all in emacs gmake[2]: Entering directory `/usr/obj/micro/guile-1.9.12/emacs' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/usr/obj/micro/guile-1.9.12/emacs' Making all in srfi gmake[2]: Entering directory `/usr/obj/micro/guile-1.9.12/srfi' gmake all-am gmake[3]: Entering directory `/usr/obj/micro/guile-1.9.12/srfi' gmake[3]: Nothing to be done for `all-am'. gmake[3]: Leaving directory `/usr/obj/micro/guile-1.9.12/srfi' gmake[2]: Leaving directory `/usr/obj/micro/guile-1.9.12/srfi' Making all in examples gmake[2]: Entering directory `/usr/obj/micro/guile-1.9.12/examples' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/usr/obj/micro/guile-1.9.12/examples' Making all in test-suite gmake[2]: Entering directory `/usr/obj/micro/guile-1.9.12/test-suite' Making all in standalone gmake[3]: Entering directory `/usr/obj/micro/guile-1.9.12/test-suite/standalone' gmake all-am gmake[4]: Entering directory `/usr/obj/micro/guile-1.9.12/test-suite/standalone' gmake[4]: Nothing to be done for `all-am'. gmake[4]: Leaving directory `/usr/obj/micro/guile-1.9.12/test-suite/standalone' gmake[3]: Leaving directory `/usr/obj/micro/guile-1.9.12/test-suite/standalone' Making all in vm gmake[3]: Entering directory `/usr/obj/micro/guile-1.9.12/test-suite/vm' gmake[3]: Nothing to be done for `all'. gmake[3]: Leaving directory `/usr/obj/micro/guile-1.9.12/test-suite/vm' gmake[3]: Entering directory `/usr/obj/micro/guile-1.9.12/test-suite' gmake[3]: Nothing to be done for `all-am'. gmake[3]: Leaving directory `/usr/obj/micro/guile-1.9.12/test-suite' gmake[2]: Leaving directory `/usr/obj/micro/guile-1.9.12/test-suite' Making all in benchmark-suite gmake[2]: Entering directory `/usr/obj/micro/guile-1.9.12/benchmark-suite' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/usr/obj/micro/guile-1.9.12/benchmark-suite' Making all in am gmake[2]: Entering directory `/usr/obj/micro/guile-1.9.12/am' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/usr/obj/micro/guile-1.9.12/am' Making all in module gmake[2]: Entering directory `/usr/obj/micro/guile-1.9.12/module' GUILEC ice-9/eval.go GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-openbsd4.2"... (gdb) break scm_ithrow Breakpoint 1 at 0x1c051903: file throw.c, line 453. (gdb) run Starting program: /usr/obj/micro/guile-1.9.12/libguile/guile -e \(@@\ \(guile-tools\)\ main\) -s /usr/obj/micro/guile-1.9.12/meta/guile-tools compile -Wunbound-variable -Warity-mismatch -o ice-9/eval.go ice-9/eval.scm [Switching to process 25962, thread 0x7faf7400] Breakpoint 1, scm_ithrow (key=0x3c0788a0, args=0x3d4094d0, noreturn=1) at throw.c:453 453 } (gdb) bt full #0 scm_ithrow (key=0x3c0788a0, args=0x3d4094d0, noreturn=1) at throw.c:453 No locals. #1 0x1c0904fd in scm_error_scm (key=0x3c0788a0, subr=0x3d4fff50, message=0x3d4fe050, args=0x3d4094f8, data=0x4) at error.c:94 No locals. #2 0x1c090615 in scm_error (key=Could not find the frame base for "scm_error". ) at error.c:60 No locals. #3 0x1c090650 in scm_misc_error (subr=Could not find the frame base for "scm_misc_error". ) at error.c:283 No locals. #4 0x1c068902 in scm_dynamic_link (filename=Variable "filename" is not available. ) at dynl.c:93 file = Variable "file" is not available. (gdb) quit The program is running. Exit anyway? (y or n) touch -t 198001010100 ./ice-9/eval.scm touch -r ./ice-9/eval.scm ice-9/eval.go touch -r ./ice-9/eval.scm ice-9/eval.go.stamp GUILE_AUTO_COMPILE=0 \ ../meta/uninstalled-env \ guile-tools compile -Wunbound-variable -Warity-mismatch -o "ice-9/psyntax-pp.go" "./ice-9/psyntax.scm" GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-openbsd4.2"... (gdb) touch -r "./ice-9/psyntax.scm" "./ice-9/psyntax-pp.scm" GUILEC ice-9/boot-9.go GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-openbsd4.2"... (gdb) exit Undefined command: "exit". Try "help". (gdb) quit GUILEC language/tree-il.go GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-openbsd4.2"... (gdb) --ZwgA9U+XZDXt4+m+--