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 14:50:03 -0800
- Subject: Re: kawa hanging while running input-parse.scm
- Authentication-results: sourceware.org; auth=none
- References: <5481BB29 dot 8070601 at hungry dot com> <54820E5D dot 905 at bothner dot com> <54821A52 dot 6000801 at hungry dot com>
On 12/05/2014 12:49 PM, Seth Alves wrote:
jdb is telling me "Nothing suspended." (I haven't read the jdb docs yet), but jstack produced this when run against a hung process. Anything interesting?
-seth
On 12/05/2014 11:58 AM, Per Bothner wrote:
jdb -attach
"main" prio=10 tid=0x00007fbf60009800 nid=0x13a9 runnable [0x00007fbf6780f000]
java.lang.Thread.State: RUNNABLE
at gnu.expr.LambdaExp.loadHeapFrame(LambdaExp.java:523)
at gnu.expr.Declaration.loadOwningObject(Declaration.java:259)
I'd say you have an infinite loop. I'd add just before LambdaExp.java:523:
if (curLambda == curLambda.getCaller()) throw new Error("CYCLE for "+curLambda);
Once you'd verified that, the next step is finding where inlineHome is getting set,
and specifically where this.inlineHome==this happens.
Then the next step is figuring why that is only happening sporadically,
assuming that the case.
--
--Per Bothner
per@bothner.com http://per.bothner.com/