From: "Juhani Rantanen" <misty@aj-group.net>
To: "Andy Wingo" <wingo@pobox.com>
Cc: bug-guile@gnu.org, Juhani Rantanen <misty@aj-group.net>
Subject: Re: Segfault when running fibc benchmark in current trunk
Date: Sun, 19 Apr 2009 19:28:37 +0300 (EEST) [thread overview]
Message-ID: <32979.87.93.21.245.1240158517.squirrel@webmail.aj-group.net> (raw)
In-Reply-To: <m3ocuvrb3r.fsf@pobox.com>
Hi,
I have a bad case of flu right now, sorry for the delay in answering.
>> I found a problem that seems to be related to continuations, although
>> guile crashes in gc.
>
> I think I fixed this problem in master. Can you try again?
Works:
guile -s fibc_bug.scm
Works:
guile-tools compile fibc_bug.scm
guile
> (load-compiled "fibc_bug.go")
Segfaults:
guile-tools compile fibc_bug.scm
guile -e "(load-compiled \"fibc_bug.go\")"
Last case is how the "bench" shell script used to run the benchmarks first..
>> I have attached a minimal and self-contained
>> testcase here.
>
> Is this your code? I'd like to get it into Guile's test cases, but I
> think we'd need copyright assignment or a disclaimer.
These benchmarks are from Gambit Scheme distribution package, located in
misc/bench.tgz . I ported these benchmarks to run in guile but other than
that, they are from several sources (Gabriel, K&R and miscellaneous). It
seems to be useful to have them around however..
>> I have also found problems with other tests from the same benchmark
>
> I look forward to the next bug report :)
These benchmarks still expose several different bugs in current mainline
(although many were fixed by your changes!) so I put my version of the
benchmarks to
http://aj-group.net/~misty/bench_misty_hack.tar.bz2
You can run all the tests (-c false leaves temporary files in sys/guile):
./bench -c false guile all
or a single test:
./bench -c false guile ctak
Ctak allocates 1.6GB of memory while running, I don't know whether it is
normal or not.
Check functions guile_comp and guile_exec in the bench script to see how
it compiles and runs the benchmarks or run it with no parameters to find
out more about them.
Best Regards,
Juhani
next prev parent reply other threads:[~2009-04-19 16:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-17 0:37 Segfault when running fibc benchmark in current trunk Juhani Rantanen
2009-04-17 6:33 ` Andy Wingo
2009-04-17 7:30 ` Andy Wingo
2009-04-19 16:28 ` Juhani Rantanen [this message]
2009-04-19 22:02 ` Juhani Rantanen
[not found] ` <39231.87.93.21.245.1240178567.squirrel@webmail.aj-group.net>
2009-04-22 19:29 ` Juhani Rantanen
2009-04-22 19:59 ` Andy Wingo
2009-05-03 21:37 ` Juhani Rantanen
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=32979.87.93.21.245.1240158517.squirrel@webmail.aj-group.net \
--to=misty@aj-group.net \
--cc=bug-guile@gnu.org \
--cc=wingo@pobox.com \
/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).