From: primus <rprimus@gmail.com>
To: bug-guile@gnu.org
Subject: Re: [1.9.12][OpenBSD] run time failure ...
Date: Wed, 8 Sep 2010 21:07:02 +0100 [thread overview]
Message-ID: <20100908200702.GJ8535@x.lence.net> (raw)
In-Reply-To: <m339tkhvby.fsf@unquote.localdomain>
[-- Attachment #1: Type: text/plain, Size: 2780 bytes --]
On Wed, Sep 08, 2010 at 09:46:41PM +0200, Andy Wingo wrote:
> Hi,
>
> On Wed 08 Sep 2010 21:21, primus <rprimus@gmail.com> 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 #<catch-closure 3d9da8e0> #<catch-closure 3d9da8d0> #<catch-closure 3d9da8c0>)) ((#t #<catch-closure 3d9da8e0> #<catch-closure 3d9da8d0> #<catch-closure 3d9da8c0>)))
>
> 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!"
[-- Attachment #2: gmake_all.l3g --]
[-- Type: text/plain, Size: 6760 bytes --]
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)
next prev parent reply other threads:[~2010-09-08 20:07 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-08 19:21 [1.9.12][OpenBSD] run time failure primus
2010-09-08 19:46 ` Andy Wingo
2010-09-08 20:07 ` primus [this message]
2010-09-08 21:58 ` Ludovic Courtès
2010-09-08 22:12 ` primus
2010-09-10 8:39 ` Andy Wingo
2010-09-10 13:47 ` primus
2010-09-10 14:35 ` Andy Wingo
2010-09-10 15:44 ` primus
2010-09-10 21:37 ` Ludovic Courtès
2010-09-10 16:44 ` [1.9.12][OpenBSD] [SOLUTION] " primus
2010-09-10 21:29 ` [1.9.12][OpenBSD] " Ludovic Courtès
2010-09-12 11:32 ` Andy Wingo
2010-09-12 17:41 ` Ludovic Courtès
2010-09-12 20:26 ` Andy Wingo
2010-09-12 20:38 ` Ludovic Courtès
2010-09-12 21:41 ` Andy Wingo
2010-09-08 23:06 ` [1.9.12][OpenBSD] CFLAGS="-g -O0" " primus
2010-09-10 8:41 ` Andy Wingo
2010-09-10 13:53 ` primus
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://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100908200702.GJ8535@x.lence.net \
--to=rprimus@gmail.com \
--cc=bug-guile@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.
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).