This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 84112

Summary: JVM crashed when profiling deployed ejb
Product: profiler Reporter: prashantp <prashantp>
Component: BaseAssignee: issues@profiler <issues>
Status: CLOSED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description prashantp 2006-09-04 09:02:18 UTC
JVM crashed when profiling deployed ejb on jboss 4.0.3. Sumitted bug at sun 
Review ID: 789402. Below is the crash dump as seen on the console.

________________________________________________________________________________


10:31:35,104 INFO  [Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBos
s_4_0_3_SP1 date=200510231751)] Started in 3m:16s:761ms
Profiler Agent: 250 classes cached.
Profiler Agent Warning: Invalid declaringClass obtained from jmethodID
Profiler Agent Warning: mId = 62447481, *mId = -1476079208, standard_ptr_value =
 0
Profiler Agent Warning: dCl = 77030300, *dCl = 814265496
Profiler Agent Warning: Invalid declaringClass obtained from jmethodID
Profiler Agent Warning: mId = 78009450, *mId = 2005414336, standard_ptr_value =
0
Profiler Agent Warning: dCl = 62925632, *dCl = 834627288
Profiler Agent Warning: Invalid declaringClass obtained from jmethodID
Profiler Agent Warning: mId = 75455986, *mId = -389009019, standard_ptr_value =
0
Profiler Agent Warning: dCl = 76809244, *dCl = 816829576
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d748359, pid=312, tid=3816
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_05-b05 mixed mode)
# Problematic frame:
# V  [jvm.dll+0x98359]
#
# An error report file with more information is saved as hs_err_pid312.log
#

hs_err_pid312.log
Comment 1 prashantp 2006-09-04 09:46:36 UTC
i was able to reproduce this one but not frequently, happens it try to Tools >
Take a snapshot of the collected results.
Comment 2 prashantp 2006-09-04 10:04:28 UTC
Profiler Agent: 250 classes cached.
14:29:16,943 ERROR [LogInterceptor] RuntimeException in method: public abstract
boolean security.SecurityRemoteBusiness.hasAccess(java.lang.String,javax.securit
y.auth.Subject) throws java.rmi.RemoteException:
java.lang.ArrayIndexOutOfBoundsException: 93
        at com.sun.tools.profiler.server.ProfilerRuntimeCPUFullInstr.methodEntry
(ProfilerRuntimeCPUFullInstr.java:92)
        at java.lang.System.getSecurityManager(System.java:287)
        at javax.security.jacc.PolicyContext.setContextID(PolicyContext.java:189
)
        at org.jboss.ejb.SecurityActions$SetContextID.run(SecurityActions.java:3
3)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.jboss.ejb.SecurityActions.setContextID(SecurityActions.java:75)
        at org.jboss.ejb.Container.invoke(Container.java:833)
        at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLoca
lProxyFactory.java:344)
        at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java
:118)
        at $Proxy71.findByAction(Unknown Source)
        at security.SecurityFacade.hasAccess(SecurityFacade.java:126)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
        at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(S
tatelessSessionContainer.java:214)
        at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo
ke(CachedConnectionInterceptor.java:149)
        at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Stat
elessSessionInstanceInterceptor.java:154)
        at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(Service
EndpointInterceptor.java:54)
        at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidation
Interceptor.java:48)
        at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
rceptor.java:106)
        at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
torCMT.java:335)
        at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1
66)
        at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.
java:153)
        at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
        at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto
ryFinderInterceptor.java:122)
        at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:6
24)
        at org.jboss.ejb.Container.invoke(Container.java:874)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:245)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke
(JRMPInvoker.java:805)
        at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:
406)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
        at sun.rmi.transport.Transport$1.run(Transport.java:153)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
60)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:701)
        at java.lang.Thread.run(Thread.java:595)
Comment 3 Tomas Hurka 2006-09-15 09:27:36 UTC
JVM crash looks like duplicate of issue #62919.

*** This issue has been marked as a duplicate of 62919 ***
Comment 4 Alexander Kouznetsov 2007-03-14 11:26:32 UTC
Closing old issues