This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: kawa hanging while running input-parse.scm
- From: Per Bothner <per at bothner dot com>
- To: kawa at sourceware dot org
- Date: Fri, 05 Dec 2014 11:58:21 -0800
- Subject: Re: kawa hanging while running input-parse.scm
- Authentication-results: sourceware.org; auth=none
- References: <5481BB29 dot 8070601 at hungry dot com>
On 12/05/2014 06:03 AM, Seth Alves wrote:
Here's another snippet of boiled-down nonsense code (this time from Feeley's input-parse.scm). Other schemes load it without error; Kawa *sometimes* loads it, but usually hangs. I can make this smaller, but it seems like it hangs less often, if I do.
-seth
It's not hanging for me.
My suggestion for debugging this (which may or may not work, since
timing-dependent bugs are notoriously difficult to debug):
Try running Kawa so jdb can attach to it:
java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n kawa.repl kawa-sometimes-hang.scm
Then once it hangs do a: jdb -attach NNNN
and you might be able to figure where/why it is hanging.
See the jdb documentation.
--
--Per Bothner
per@bothner.com http://per.bothner.com/