Deep Stacks or endless recursion
b.eckenfels Jun 16, 2012 5:57 PMHello,
my Java 7 JVM is crashing in a Stack Overflow (which is a Bug initself). But while inspecting the hs_err file (attached) I noticed that the OSGi Parser has a extremly deep stack. I wonder if this is a endless loop bug or if it is caused by the many OSGi modules I have deployed in this 7.1.1.final AS7.
I am not entirely shure what triggered the problem, at is happening after startup. But I think it was related with clicking the OSGi Runtime Management in the JBoss Managagement Console. There are roughly 250 bundles in the deployment list of the server group.
Here is an excerpt of the thread which caused the crash:
Current thread (0x000000000d8b3000): JavaThread "host-controller-connection-threads - 1" [_thread_in_vm, id=9708, stack(0x0000000010e40000,0x0000000010f40000)]
Stack: [0x0000000010e40000,0x0000000010f40000]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
v ~ExceptionBlob
J org.jboss.logmanager.LoggerNode.publish(Lorg/jboss/logmanager/ExtLogRecord;)V
J org.jboss.logmanager.LoggerNode.publish(Lorg/jboss/logmanager/ExtLogRecord;)V
J org.jboss.logmanager.LoggerNode.publish(Lorg/jboss/logmanager/ExtLogRecord;)V
j org.jboss.logmanager.Logger.logRaw(Lorg/jboss/logmanager/ExtLogRecord;)V+81
J org.jboss.logging.JBossLogManagerLogger.doLogf(Lorg/jboss/logging/Logger$Level;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
j org.jboss.logging.Logger.logf(Ljava/lang/String;Lorg/jboss/logging/Logger$Level;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)V+8
j org.jboss.as.controller.ControllerLogger_$logger.operationFailed(Ljava/lang/Throwable;Lorg/jboss/dmr/ModelNode;Lorg/jboss/dmr/ModelNode;Ljava/lang/String;I)V+58
j org.jboss.as.controller.AbstractOperationContext.executeStep(Lorg/jboss/as/controller/AbstractOperationContext$Step;)V+237
j org.jboss.as.controller.AbstractOperationContext.doCompleteStep()V+233
j org.jboss.as.controller.AbstractOperationContext.completeStep()Lorg/jboss/as/controller/OperationContext$ResultAction;+1
j org.jboss.as.osgi.parser.BundleRuntimeHandler.handleReadAttribute(Lorg/jboss/as/controller/OperationContext;Lorg/jboss/dmr/ModelNode;)V+284
j org.jboss.as.osgi.parser.BundleRuntimeHandler.executeRuntimeStep(Lorg/jboss/as/controller/OperationContext;Lorg/jboss/dmr/ModelNode;)V+22
j org.jboss.as.controller.AbstractRuntimeOnlyHandler$1.execute(Lorg/jboss/as/controller/OperationContext;Lorg/jboss/dmr/ModelNode;)V+6
... 850 more lines ...
j org.jboss.as.controller.AbstractOperationContext.executeStep(Lorg/jboss/as/controller/AbstractOperationContext$Step;)V+33
j org.jboss.as.controller.AbstractOperationContext.doCompleteStep()V+233
j org.jboss.as.controller.AbstractOperationContext.completeStep()Lorg/jboss/as/controller/OperationContext$ResultAction;+1
j org.jboss.as.osgi.parser.BundleRuntimeHandler.handleReadAttribute(Lorg/jboss/as/controller/OperationContext;Lorg/jboss/dmr/ModelNode;)V+284
j org.jboss.as.osgi.parser.BundleRuntimeHandler.executeRuntimeStep(Lorg/jboss/as/controller/OperationContext;Lorg/jboss/dmr/ModelNode;)V+22
j org.jboss.as.controller.AbstractRuntimeOnlyHandler$1.execute(Lorg/jboss/as/controller/OperationContext;Lorg/jboss/dmr/ModelNode;)V+6
j org.jboss.as.controller.AbstractOperationContext.executeStep(Lorg/jboss/as/controller/AbstractOperationContext$Step;)V+33
j org.jboss.as.controller.AbstractOperationContext.doCompleteStep()V+233
j org.jboss.as.controller.AbstractOperationContext.completeStep()Lorg/jboss/as/controller/OperationContext$ResultAction;+1
j org.jboss.as.osgi.parser.BundleRuntimeHandler.handleReadAttribute(Lorg/jboss/as/controller/OperationContext;Lorg/jboss/dmr/ModelNode;)V+284
j org.jboss.as.osgi.parser.BundleRuntimeHandler.executeRuntimeStep(Lorg/jboss/as/controller/OperationContext;Lorg/jboss/dmr/ModelNode;)V+22
j org.jboss.as.controller.AbstractRuntimeOnlyHandler$1.execute(Lorg/jboss/as/controller/OperationContext;Lorg/jboss/dmr/ModelNode;)V+6
j org.jboss.as.controller.AbstractOperationContext.executeStep(Lorg/jboss/as/controller/AbstractOperationContext$Step;)V+33
j org.jboss.as.controller.AbstractOperationContext.doCompleteStep()V+233
j org.jboss.as.controller.AbstractOperationContext.completeStep()Lorg/jboss/as/controller/OperationContext$ResultAction;+1
j org.jboss.as.controller.ModelControllerImpl$DefaultPrepareStepHandler.execute(Lorg/jboss/as/controller/OperationContext;Lorg/jboss/dmr/ModelNode;)V+136
j org.jboss.as.controller.AbstractOperationContext.executeStep(Lorg/jboss/as/controller/AbstractOperationContext$Step;)V+33
j org.jboss.as.controller.AbstractOperationContext.doCompleteStep()V+233
j org.jboss.as.controller.AbstractOperationContext.completeStep()Lorg/jboss/as/controller/OperationContext$ResultAction;+1
j org.jboss.as.controller.ModelControllerImpl.execute(Lorg/jboss/dmr/ModelNode;Lorg/jboss/as/controller/client/OperationMessageHandler;Lorg/jboss/as/controller/ModelController$OperationTransactionControl;Lorg/jboss/as/controller/client/OperationAttachments;)Lorg/jboss/dmr/ModelNode;+195
j org.jboss.as.controller.remote.TransactionalModelControllerOperationHandler$ExecuteRequestHandler.doExecute(Lorg/jboss/dmr/ModelNode;ILorg/jboss/as/protocol/mgmt/ManagementRequestContext;)V+88
j org.jboss.as.controller.remote.TransactionalModelControllerOperationHandler$ExecuteRequestHandler$1.execute(Lorg/jboss/as/protocol/mgmt/ManagementRequestContext;)V+13
j org.jboss.as.protocol.mgmt.AbstractMessageHandler$2$1.doExecute()V+8
j org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run()V+19
J java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V
j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5
j java.lang.Thread.run()V+11
j org.jboss.threads.JBossThread.run()V+10
v ~StubRoutines::call_stub
-
hs_err_pid324.log.zip 14.1 KB