atom feed5 messages in net.sourceforge.lists.saxon-helpRe: [saxon] HashMap.put infinite loop?
FromSent OnAttachments
Felix SiglreithmaierJun 30, 2010 8:35 am 
Michael KayJun 30, 2010 9:29 am 
Felix SiglreithmaierJul 1, 2010 1:56 am 
Michael KayJul 1, 2010 3:46 am 
Felix SiglreithmaierJul 2, 2010 4:48 am 
Subject:Re: [saxon] HashMap.put infinite loop?
From:Michael Kay (
Date:Jun 30, 2010 9:29:32 am

You're in net.sf.saxon.Controller, which is Saxon's implementation of the JAXP Transformer class: more specifically you're in a HashMap which is owned exclusively by that Controller. I wonder if it's possible that you're using the Transformer in more than one thread? That's the only explanation I can think of.

On 30/06/2010 16:35, Felix Siglreithmaier wrote:


under very high load it seems that Saxon ends in an infinite loop. We are using Saxon PE PE for Java.

After firing millions of requests to Tomcat with Apache JMeter i can reproduce it sometimes. (full CPU load and LamdaProbe shows two open connections at jk-8009 with Status Service). the only solution is a tomcat restart.

I was able to find this two open Connections in JConsole and allocated them to threads.

This two threads have the same StackTrace:

Name: TP-Processor39 State: RUNNABLE Total blocked: 93 Total waited: 3

Stack trace: java.util.HashMap.put( net.sf.saxon.instruct.GlobalParameterSet.put( net.sf.saxon.Controller.setParameter( jart.processhandlers.transformToOutput.handleProcess( jart.JArtRequest.doFilter( jart.JArtFilter.doFilter( org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( org.apache.catalina.core.ApplicationFilterChain.doFilter( org.apache.catalina.core.StandardWrapperValve.invoke( org.apache.catalina.core.StandardContextValve.invoke( org.apache.catalina.core.StandardHostValve.invoke( org.jstripe.tomcat.probe.Tomcat55AgentValve.invoke( org.apache.catalina.valves.ErrorReportValve.invoke( org.apache.catalina.core.StandardEngineValve.invoke( org.apache.catalina.connector.CoyoteAdapter.service( org.apache.jk.server.JkCoyoteHandler.invoke( org.apache.jk.common.HandlerRequest.invoke( org.apache.jk.common.ChannelSocket.invoke( org.apache.jk.common.ChannelSocket.processConnection( org.apache.jk.common.ChannelSocket$SocketConnection.runIt( org.apache.tomcat.util.threads.ThreadPool$

any ideas???

we are looking for this bug for months now and we think that Saxon is the problem, because formerly we used Xalan for years and never had such a problem with CPUs staying in full load.