Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 196015

Summary: [HeapProf] Crash when profiling Oracle Application Server
Product: z_Archived Reporter: Mauricio L. M. Braga <mauricio_braga>
Component: TPTPAssignee: Asaf Yaffe <asaf.yaffe>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P1 CC: analexee, asaf.yaffe, jkubasta, mauricio_braga
Version: unspecifiedKeywords: plan
Target Milestone: ---Flags: analexee: review+
Hardware: PC   
OS: Windows XP   
Whiteboard: closed460
Attachments:
Description Flags
Martini log file
none
Patch
none
A binary patch none

Description Mauricio L. M. Braga CLA 2007-07-10 12:36:01 EDT
Build ID: I20070625-1500

Steps To Reproduce:
Please, consider the history log in the field More Information. Sun has recommended to submit this bug to TPTP Developers.

More information:
--- Note: you can send us updates about your Incident ---
--- by replying to this mail.  Place new information  ---
--- above these lines.  Do not include attachments.   ---
--- Our system ignores attachments and anything below ---
--- these lines.                                      ---

Hi Mauricio L. M. Braga,

Thank you for reporting this issue.

Please ask the developers of Eclipse's plugin TPTP 4.4 to investigate this issue further.  Since the plugin appears to trigger this failure, the developers of Eclipse's plugin TPTP 4.4 will be able to examine their product, isolate the cause of the behavior, and, if necessary, provide us with a detailed report.

We greatly appreciate your efforts in identifying areas in the Java Standard Edition where we can improve upon and I would request you to continue doing so.

Regards,
Nelson

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE: This message, including any attachments, is for the intended
recipient(s) only.  If you are not the intended recipient(s), please reply to the sender, delete this message, and refrain from disclosing, copying, or distributing this message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--------------- Previous Messages ----------------


--------------------- Report ---------------------

      category : hotspot
   subcategory : jvmpi
       release : 7
          type : bug
      synopsis : I cannot use the JVM parameter -agentlib (hs_err_pid2456.log)  customer name : Mauricio L. M. Braga  customer mail : mauricio_braga@sicredi.com.br
        sdn id : mauricio_braga@sicredi.com.br
      language : en
       company : Sicredi
      hardware : x86
            os : win_xp
        bug id : 0
  date created : Mon Jul 09 10:47:21 MST 2007 date evaluated : Tue Jul 10 04:03:15 MST 2007
   description : 
FULL PRODUCT VERSION :
java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b15) Java HotSpot(TM) Client VM (build 1.7.0-ea-b15, mixed mode, sharing)

FULL OS VERSION :
I am trying to use the Eclipse's plugin TPTP 4.4.
I've tried to use an Agent Controller (from TPTP package) to collect performance data, but despite the agente is running as a Windows Service, inside Eclipse I cannot see any Monitor available to monitor my application. So, I've tried to collect data passing to the JVM the parameter:
-agentlib:JPIBootLoader=JPIAgent:server=standalone,file=D:\Temp\SiteSicredi.trcxml,filters=D:\Projetos\Site\SiteSicrediProfFilters.txt;HeapProf

After start my app, the first access to the initial page causes the error in the Hot Spot.
One way to get performance data is using the JVM initialization parameter

EXTRA RELEVANT SYSTEM CONFIGURATION :
I am using the Oracle iAS 10.1.3.1
I've gotten the same error using the following JDK:
- jdk 1.5.0_12
- jdk 1.6.0_02
- jdk 1.7

A DESCRIPTION OF THE PROBLEM :
Using the IDE Eclipse Europa (version 3.3), I am trying to use the Eclipse's plugin TPTP 4.4.
I've tried to use an Agent Controller (from TPTP package) to collect performance data, but despite the agente is running as a Windows Service, inside Eclipse I cannot see any Monitor available to monitor my application.
One way to get performance data is using the JVM initialization parameter called agentlib.
So, I've tried to collect data passing to the JVM the parameter:
-agentlib:JPIBootLoader=JPIAgent:server=standalone,file=D:\Temp\SiteSicredi.trcxml,filters=D:\Projetos\Site\SiteSicrediProfFilters.txt;HeapProf

THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Did not try

THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Did not try

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
In the JVM arguments I inserted the line mentioned in the description of this issue.
- I've tried to start Oracle iAS
- Access the URL of my application.
- You will get the error hs_err_pid2456.log

EXPECTED VERSUS ACTUAL BEHAVIOR :
Actual result: After start my app, the first access to the initial page causes the error in the Hot Spot.

Expected result: access all pages in my app that I want, stop the Oracle iAS and get the performance data in the file D:\Temp\SiteSicredi.trcxml.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
---- hs_err_pid2456.log -----
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  Internal Error (0xe06d7363), pid=2456, tid=3996 # # Java VM: Java HotSpot(TM) Client VM (1.7.0-ea-b15 mixed mode windows-x86) # Problematic frame:
# C  [kernel32.dll+0x12a5b]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x116d4400):  JavaThread "HTTPThreadGroup-5" [_thread_in_native, id=3996, stack(0x14390000,0x143e0000)]

siginfo: ExceptionCode=0xe06d7363, ExceptionInformation=0x19930520 0x143db82c 0x02221778

Registers:
EAX=0x143db718, EBX=0x00000006, ECX=0x00000000, EDX=0x143db82c ESP=0x143db714, EBP=0x143db768, ESI=0x143db7a8, EDI=0x143db7a8 EIP=0x7c812a5b, EFLAGS=0x00000206

  Top of Stack: (sp=0x143db714)
0x143db714:   0221f288 e06d7363 00000001 00000000
0x143db724:   7c812a5b 00000003 19930520 143db82c
0x143db734:   02221778 0222db38 143db798 0220d728
0x143db744:   00000009 00241f58 00000009 154dc0e6
0x143db754:   0000003f 0220d6e8 00000041 0220bdf3
0x143db764:   00000041 143db7a8 0220c415 e06d7363
0x143db774:   00000001 00000003 143db79c 154dc0e6
0x143db784:   154dc0b1 e06d7363 00000001 00000000

Instructions: (pc=0x7c812a5b)
0x7c812a4b:   8d 7d c4 f3 a5 5f 8d 45 b0 50 ff 15 08 15 80 7c
0x7c812a5b:   5e c9 c2 10 00 85 ff 0f 8e 36 93 ff ff 8b 55 fc


Stack: [0x14390000,0x143e0000],  sp=0x143db714,  free space=301k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C  [kernel32.dll+0x12a5b] C  [JIE.dll+0x3c415]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) v  ~BufferBlob::Interpreter v  ~BufferBlob::Interpreter J  oracle.classloader.PolicyClassLoader.defineClass(Ljava/lang/String;[BIILoracle/classloader/SharedCodeSource;Loracle/classloader/ProtectionPolicy;[Ljava/security/cert/Certificate;Loracle/classloader/SearchMetrics;)Ljava/lang/Class;
J  oracle.classloader.PolicyClassLoader.findLocalClass(Loracle/classloader/CodeSourceSearchPolicy;Ljava/lang/String;Loracle/classloader/SearchMetrics;)Ljava/lang/Class;
J  oracle.classloader.SearchPolicy$FindLocal.getClass(Ljava/lang/String;Loracle/classloader/PolicyClassLoader;Loracle/classloader/SearchMetrics;Z)Ljava/lang/Class;
J  oracle.classloader.SearchSequence.getClass(Ljava/lang/String;Loracle/classloader/PolicyClassLoader;Loracle/classloader/SearchMetrics;Z)Ljava/lang/Class;
J  oracle.classloader.PolicyClassLoader.internalLoadClass(Ljava/lang/String;Z)Ljava/lang/Class;
J  oracle.classloader.PolicyClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;
J  oracle.classloader.PolicyClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::StubRoutines (1)
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::StubRoutines (1)
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
J  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
J  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::StubRoutines (1)
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
J  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
J  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::StubRoutines (1)
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
J  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
J  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::StubRoutines (1)

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x0ea15400 JavaThread "Timer-10" [_thread_blocked, id=2680, stack(0x14ad0000,0x14b20000)]
  0x0cc31400 JavaThread "Timer-9" [_thread_blocked, id=1332, stack(0x14a80000,0x14ad0000)]
  0x0e900400 JavaThread "Timer-8" [_thread_blocked, id=3536, stack(0x14a30000,0x14a80000)]
  0x0e9cd400 JavaThread "Timer-7" [_thread_blocked, id=2772, stack(0x147e0000,0x14830000)] =>0x116d4400 JavaThread "HTTPThreadGroup-5" [_thread_in_native, id=3996, stack(0x14390000,0x143e0000)]
  0x0d82f400 JavaThread "HTTPThreadGroup-4" [_thread_blocked, id=3552, stack(0x0ee80000,0x0eed0000)]
  0x00956c00 JavaThread "DestroyJavaVM" [_thread_blocked, id=1000, stack(0x00b50000,0x00ba0000)]
  0x11796800 JavaThread "TaskManager" [_thread_blocked, id=3924, stack(0x14340000,0x14390000)]
  0x11817400 JavaThread "Timer-6" [_thread_blocked, id=2920, stack(0x142f0000,0x14340000)]
  0x11775c00 JavaThread "Timer-5" [_thread_blocked, id=3056, stack(0x142a0000,0x142f0000)]
  0x1171d400 JavaThread "Thread-18" daemon [_thread_in_native, id=3360, stack(0x14150000,0x141a0000)]
  0x1181f800 JavaThread "PortalRegistryWatcherThread" daemon [_thread_blocked, id=1948, stack(0x14100000,0x14150000)]
  0x11697400 JavaThread "Thread-17" daemon [_thread_blocked, id=3576, stack(0x12b10000,0x12b60000)]
  0x0e858800 JavaThread "RunnableThread:50" daemon [_thread_blocked, id=2996, stack(0x13ab0000,0x13b00000)]
  0x0e857800 JavaThread "RunnableThread:49" daemon [_thread_blocked, id=2992, stack(0x13a60000,0x13ab0000)]
  0x0e856c00 JavaThread "RunnableThread:48" daemon [_thread_blocked, id=1876, stack(0x13a10000,0x13a60000)]
  0x0e856000 JavaThread "RunnableThread:47" daemon [_thread_blocked, id=372, stack(0x139c0000,0x13a10000)]
  0x0e855000 JavaThread "RunnableThread:46" daemon [_thread_blocked, id=208, stack(0x13970000,0x139c0000)]
  0x0e854400 JavaThread "RunnableThread:45" daemon [_thread_blocked, id=2504, stack(0x13920000,0x13970000)]
  0x0e853800 JavaThread "RunnableThread:44" daemon [_thread_blocked, id=3308, stack(0x138d0000,0x13920000)]
  0x0e851400 JavaThread "RunnableThread:43" daemon [_thread_blocked, id=3096, stack(0x13880000,0x138d0000)]
  0x0e850800 JavaThread "RunnableThread:42" daemon [_thread_blocked, id=1824, stack(0x13830000,0x13880000)]
  0x0e84f800 JavaThread "RunnableThread:41" daemon [_thread_blocked, id=3892, stack(0x137e0000,0x13830000)]
  0x0e84ec00 JavaThread "RunnableThread:40" daemon [_thread_blocked, id=1772, stack(0x13790000,0x137e0000)]
  0x0e84e000 JavaThread "RunnableThread:39" daemon [_thread_blocked, id=3720, stack(0x13740000,0x13790000)]
  0x0e84d000 JavaThread "RunnableThread:38" daemon [_thread_blocked, id=1972, stack(0x136f0000,0x13740000)]
  0x0e84c400 JavaThread "RunnableThread:37" daemon [_thread_blocked, id=1864, stack(0x136a0000,0x136f0000)]
  0x0e84b800 JavaThread "RunnableThread:36" daemon [_thread_blocked, id=3400, stack(0x13650000,0x136a0000)]
  0x1169ec00 JavaThread "RunnableThread:35" daemon [_thread_blocked, id=3888, stack(0x13600000,0x13650000)]
  0x1169dc00 JavaThread "RunnableThread:34" daemon [_thread_blocked, id=3332, stack(0x135b0000,0x13600000)]
  0x1169d000 JavaThread "RunnableThread:33" daemon [_thread_blocked, id=3280, stack(0x13560000,0x135b0000)]
  0x1169c400 JavaThread "RunnableThread:32" daemon [_thread_blocked, id=3216, stack(0x13510000,0x13560000)]
  0x1169b400 JavaThread "RunnableThread:31" daemon [_thread_blocked, id=3768, stack(0x134c0000,0x13510000)]
  0x1169a800 JavaThread "RunnableThread:30" daemon [_thread_blocked, id=2052, stack(0x13470000,0x134c0000)]
  0x11699c00 JavaThread "RunnableThread:29" daemon [_thread_blocked, id=2784, stack(0x13420000,0x13470000)]
  0x0ebc4800 JavaThread "RunnableThread:28" daemon [_thread_blocked, id=3128, stack(0x133d0000,0x13420000)]
  0x0ebc3c00 JavaThread "RunnableThread:27" daemon [_thread_blocked, id=2788, stack(0x13380000,0x133d0000)]
  0x0ebc3000 JavaThread "RunnableThread:26" daemon [_thread_blocked, id=2792, stack(0x13330000,0x13380000)]
  0x0ebc2000 JavaThread "RunnableThread:25" daemon [_thread_blocked, id=1820, stack(0x132e0000,0x13330000)]
  0x0ebc1400 JavaThread "RunnableThread:24" daemon [_thread_blocked, id=2728, stack(0x13290000,0x132e0000)]
  0x0ebc0400 JavaThread "RunnableThread:23" daemon [_thread_blocked, id=2272, stack(0x13240000,0x13290000)]
  0x0ebbf800 JavaThread "RunnableThread:22" daemon [_thread_blocked, id=2696, stack(0x131f0000,0x13240000)]
  0x116ac000 JavaThread "RunnableThread:21" daemon [_thread_blocked, id=3024, stack(0x131a0000,0x131f0000)]
  0x116ab400 JavaThread "RunnableThread:20" daemon [_thread_blocked, id=3948, stack(0x13150000,0x131a0000)]
  0x116aa800 JavaThread "RunnableThread:19" daemon [_thread_blocked, id=708, stack(0x13100000,0x13150000)]
  0x116a9800 JavaThread "RunnableThread:18" daemon [_thread_blocked, id=700, stack(0x130b0000,0x13100000)]
  0x116a8c00 JavaThread "RunnableThread:17" daemon [_thread_blocked, id=3044, stack(0x13060000,0x130b0000)]
  0x116a7c00 JavaThread "RunnableThread:16" daemon [_thread_blocked, id=3272, stack(0x13010000,0x13060000)]
  0x0e876800 JavaThread "RunnableThread:15" daemon [_thread_blocked, id=2168, stack(0x12fc0000,0x13010000)]
  0x0e875c00 JavaThread "RunnableThread:14" daemon [_thread_blocked, id=2508, stack(0x12f70000,0x12fc0000)]
  0x0e875000 JavaThread "RunnableThread:13" daemon [_thread_blocked, id=3500, stack(0x12f20000,0x12f70000)]
  0x0e874000 JavaThread "RunnableThread:12" daemon [_thread_blocked, id=2556, stack(0x12ed0000,0x12f20000)]
  0x0e873400 JavaThread "RunnableThread:11" daemon [_thread_blocked, id=3052, stack(0x12e80000,0x12ed0000)]
  0x0e872800 JavaThread "RunnableThread:10" daemon [_thread_blocked, id=3208, stack(0x12e30000,0x12e80000)]
  0x0ebd7800 JavaThread "RunnableThread:9" daemon [_thread_blocked, id=3528, stack(0x12de0000,0x12e30000)]
  0x0ebd6c00 JavaThread "RunnableThread:8" daemon [_thread_blocked, id=2908, stack(0x12d90000,0x12de0000)]
  0x1168f800 JavaThread "RunnableThread:7" daemon [_thread_blocked, id=2952, stack(0x12d40000,0x12d90000)]
  0x1168f000 JavaThread "RunnableThread:6" daemon [_thread_blocked, id=3076, stack(0x12cf0000,0x12d40000)]
  0x0e819000 JavaThread "RunnableThread:5" daemon [_thread_blocked, id=3940, stack(0x12ca0000,0x12cf0000)]
  0x0e834c00 JavaThread "RunnableThread:4" daemon [_thread_blocked, id=2800, stack(0x12c50000,0x12ca0000)]
  0x0e7f4400 JavaThread "RunnableThread:3" daemon [_thread_blocked, id=3268, stack(0x12c00000,0x12c50000)]
  0x11679400 JavaThread "RunnableThread:2" daemon [_thread_blocked, id=1348, stack(0x12bb0000,0x12c00000)]
  0x0e867400 JavaThread "RunnableThread:1" daemon [_thread_blocked, id=3100, stack(0x12b60000,0x12bb0000)]
  0x0ebbec00 JavaThread "Thread-14" daemon [_thread_blocked, id=3364, stack(0x12ac0000,0x12b10000)]
  0x0d74c800 JavaThread "Timer-4" daemon [_thread_blocked, id=2124, stack(0x12a70000,0x12ac0000)]
  0x0e906800 JavaThread "SystemThreadGroup-6" [_thread_in_native, id=3028, stack(0x11520000,0x11570000)]
  0x0e75fc00 JavaThread "SystemThreadGroup-5" [_thread_in_native, id=3108, stack(0x114d0000,0x11520000)]
  0x0e8cb800 JavaThread "SystemThreadGroup-4" [_thread_blocked, id=4020, stack(0x11380000,0x113d0000)]
  0x0e8a1800 JavaThread "Timer-3" [_thread_blocked, id=3524, stack(0x11330000,0x11380000)]
  0x0c53f800 JavaThread "Timer-1" daemon [_thread_blocked, id=3072, stack(0x0ff80000,0x0ffd0000)]
  0x0d4a7400 JavaThread "WorkExecutorWorkerThread-1" daemon [_thread_blocked, id=1744, stack(0x0fde0000,0x0fe30000)]
  0x0e574000 JavaThread "Thread-9" daemon [_thread_blocked, id=3244, stack(0x0fe30000,0x0fe80000)]
  0x0c52f000 JavaThread "Timer-0" [_thread_blocked, id=3864, stack(0x0f9f0000,0x0fa40000)]
  0x0d702800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2120, stack(0x0fa40000,0x0fa90000)]
  0x0e5f7400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=4052, stack(0x0f8a0000,0x0f8f0000)]
  0x0d70a400 JavaThread "RMIServer [/0.0.0.0:23943] count:1" [_thread_in_native, id=1912, stack(0x0f700000,0x0f750000)]
  0x0d45b400 JavaThread "RMIServer [/0.0.0.0:23791] count:1" [_thread_in_native, id=3860, stack(0x0f6b0000,0x0f700000)]
  0x0e4d9800 JavaThread "JMSServer[Mauricio_Braga:9127]" [_thread_in_native, id=2176, stack(0x0f460000,0x0f4b0000)]
  0x0c4dec00 JavaThread "WsMgmtWorkScheduler" daemon [_thread_blocked, id=2708, stack(0x0f310000,0x0f360000)]
  0x0d514400 JavaThread "WsMgmtWorkScheduler" daemon [_thread_blocked, id=3540, stack(0x0f2c0000,0x0f310000)]
  0x0e4be000 JavaThread "Timer ServiceThread" [_thread_blocked, id=2588, stack(0x0f270000,0x0f2c0000)]
  0x0d7fa400 JavaThread "Scheduler ServiceThread" [_thread_blocked, id=3604, stack(0x0f220000,0x0f270000)]
  0x0cd0d400 JavaThread "Event ServiceThread" [_thread_blocked, id=3644, stack(0x0f1d0000,0x0f220000)]
  0x0cb61000 JavaThread "LogFlusher" daemon [_thread_blocked, id=2836, stack(0x0ee20000,0x0ee70000)]
  0x0d80ec00 JavaThread "LogFlusher" daemon [_thread_blocked, id=3080, stack(0x0edd0000,0x0ee20000)]
  0x0e469400 JavaThread "LogFlusher" daemon [_thread_blocked, id=2572, stack(0x0ed80000,0x0edd0000)]
  0x0c535000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1368, stack(0x0ca60000,0x0cab0000)]
  0x0c52fc00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3388, stack(0x0ca10000,0x0ca60000)]
  0x0c523400 JavaThread "Attach Listener" daemon [_thread_blocked, id=3392, stack(0x0c9c0000,0x0ca10000)]
  0x0c522400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3396, stack(0x0c970000,0x0c9c0000)]
  0x0c507c00 JavaThread "Finalizer" daemon [_thread_blocked, id=3492, stack(0x0c820000,0x0c870000)]
  0x0c503800 JavaThread "Reference Handler" daemon [_thread_blocked, id=1976, stack(0x0c7d0000,0x0c820000)]

Other Threads:
  0x0c4fb000 VMThread [stack: 0x0c780000,0x0c7d0000] [id=2916]
  0x0c548000 WatcherThread [stack: 0x0cab0000,0x0cb00000] [id=1412]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 1856K, used 1511K [0x043e0000, 0x045e0000, 0x048c0000)
  eden space 1664K,  80% used [0x043e0000, 0x0452eaa8, 0x04580000)
  from space 192K,  90% used [0x04580000, 0x045ab488, 0x045b0000)
  to   space 192K,   0% used [0x045b0000, 0x045b0000, 0x045e0000)
 tenured generation   total 23328K, used 14784K [0x048c0000, 0x05f88000, 0x083e0000)
   the space 23328K,  63% used [0x048c0000, 0x057301a0, 0x05730200, 0x05f88000)  compacting perm gen  total 47104K, used 46964K [0x083e0000, 0x0b1e0000, 0x0c3e0000)
   the space 47104K,  99% used [0x083e0000, 0x0b1bd208, 0x0b1bd400, 0x0b1e0000) No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x00422000 	C:\java\jdk1.7.0\bin\javaw.exe
0x7c900000 - 0x7c9b4000 	C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8ff000 	C:\WINDOWS\system32\kernel32.dll
0x77f50000 - 0x77ffb000 	C:\WINDOWS\system32\ADVAPI32.dll
0x77db0000 - 0x77e41000 	C:\WINDOWS\system32\RPCRT4.dll
0x7e360000 - 0x7e3f0000 	C:\WINDOWS\system32\USER32.dll
0x77e50000 - 0x77e97000 	C:\WINDOWS\system32\GDI32.dll
0x76360000 - 0x7637d000 	C:\WINDOWS\system32\IMM32.DLL
0x10000000 - 0x1002a000 	C:\WINDOWS\system32\SnAgOS.TMP
0x774c0000 - 0x775fd000 	C:\WINDOWS\system32\ole32.dll
0x77bf0000 - 0x77c48000 	C:\WINDOWS\system32\msvcrt.dll
0x00840000 - 0x00857000 	C:\WINDOWS\system32\Sngw.dll
0x7c340000 - 0x7c396000 	C:\java\jdk1.7.0\jre\bin\msvcr71.dll
0x746e0000 - 0x7472b000 	C:\WINDOWS\system32\MSCTF.dll
0x6d7c0000 - 0x6da12000 	C:\java\jdk1.7.0\jre\bin\client\jvm.dll
0x76b20000 - 0x76b4e000 	C:\WINDOWS\system32\WINMM.dll
0x6d2b0000 - 0x6d2b8000 	C:\java\jdk1.7.0\jre\bin\hpi.dll
0x76bd0000 - 0x76bdb000 	C:\WINDOWS\system32\PSAPI.DLL
0x00c10000 - 0x00c29000 	c:\tptp\plugins\org.eclipse.tptp.javaprofiler\JPIBootLoader.dll
0x00b40000 - 0x00b4b000 	c:\tptp\plugins\org.eclipse.tptp.javaprofiler\MartiniOSA.dll
0x00e40000 - 0x00e7c000 	c:\tptp\plugins\org.eclipse.tptp.javaprofiler\JPI.dll
0x01e40000 - 0x01e61000 	c:\tptp\plugins\org.eclipse.tptp.javaprofiler\JPIAgent.dll
0x01f70000 - 0x01f91000 	c:\tptp\plugins\org.eclipse.tptp.javaprofiler\HeapProf.dll
0x020b0000 - 0x020bb000 	c:\tptp\plugins\org.eclipse.tptp.javaprofiler\HeapAdaptor.dll
0x021d0000 - 0x02236000 	c:\tptp\plugins\org.eclipse.tptp.javaprofiler\JIE.dll
0x6d770000 - 0x6d77c000 	C:\java\jdk1.7.0\jre\bin\verify.dll
0x6d340000 - 0x6d35f000 	C:\java\jdk1.7.0\jre\bin\java.dll
0x6d7b0000 - 0x6d7bf000 	C:\java\jdk1.7.0\jre\bin\zip.dll
0x6d530000 - 0x6d546000 	C:\java\jdk1.7.0\jre\bin\net.dll
0x71a70000 - 0x71a87000 	C:\WINDOWS\system32\WS2_32.dll
0x71a60000 - 0x71a68000 	C:\WINDOWS\system32\WS2HELP.dll
0x71a10000 - 0x71a50000 	C:\WINDOWS\System32\mswsock.dll
0x76f00000 - 0x76f27000 	C:\WINDOWS\system32\DNSAPI.dll
0x76f90000 - 0x76f98000 	C:\WINDOWS\System32\winrnr.dll
0x76f40000 - 0x76f6d000 	C:\WINDOWS\system32\WLDAP32.dll
0x76fa0000 - 0x76fa6000 	C:\WINDOWS\system32\rasadhlp.dll
0x0ffd0000 - 0x0fff8000 	C:\WINDOWS\system32\rsaenh.dll
0x769a0000 - 0x76a54000 	C:\WINDOWS\system32\USERENV.dll
0x5bcb0000 - 0x5bd04000 	C:\WINDOWS\system32\netapi32.dll
0x6d550000 - 0x6d559000 	C:\java\jdk1.7.0\jre\bin\nio.dll
0x60b30000 - 0x60b88000 	C:\WINDOWS\system32\hnetcfg.dll
0x71a50000 - 0x71a58000 	C:\WINDOWS\System32\wshtcpip.dll
0x6d710000 - 0x6d718000 	C:\java\jdk1.7.0\jre\bin\sunmscapi.dll
0x77a60000 - 0x77af5000 	C:\WINDOWS\system32\CRYPT32.dll
0x77b00000 - 0x77b12000 	C:\WINDOWS\system32\MSASN1.dll
0x6d000000 - 0x6d1c5000 	C:\java\jdk1.7.0\jre\bin\awt.dll
0x72fb0000 - 0x72fd6000 	C:\WINDOWS\system32\WINSPOOL.DRV
0x5b1c0000 - 0x5b1f8000 	C:\WINDOWS\system32\uxtheme.dll
0x73710000 - 0x73759000 	C:\WINDOWS\system32\ddraw.dll
0x73b70000 - 0x73b76000 	C:\WINDOWS\system32\DCIMAN32.dll
0x6d720000 - 0x6d751000 	C:\java\jdk1.7.0\jre\bin\t2k.dll
0x6d280000 - 0x6d2a7000 	C:\java\jdk1.7.0\jre\bin\fontmanager.dll
0x773b0000 - 0x774b3000 	C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
0x77ea0000 - 0x77f16000 	C:\WINDOWS\system32\SHLWAPI.dll
0x75290000 - 0x752be000 	C:\WINDOWS\system32\msctfime.ime
0x77b20000 - 0x77b42000 	C:\WINDOWS\system32\Apphelp.dll
0x77be0000 - 0x77be8000 	C:\WINDOWS\system32\VERSION.dll

VM Arguments:
jvm_args: -Dapp.conf.dir=D:\Projetos\Site\Releases\Ver_1.09\conf -Dorg.xml.sax.driver=oracle.xml.parser.v2.SAXParser -Dlog.file=D:\Projetos\Site\Source\SiteApp\webapp\WEB-INF\log -agentlib:JPIBootLoader=JPIAgent:server=standalone,file=D:\Temp\SiteSicredi.trcxml,filters=D:\Projetos\Site\SiteSicrediProfFilters.txt;HeapProf:allocsites=true
java_command: oracle.oc4j.loader.boot.BootStrap Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\java\jdk1.7.0
CLASSPATH=C:\opt\EverSystems\EvOLTP673\evoltpc\joltp
PATH=C:\java\jdk1.7.0\bin\..\jre\bin\client;C:\java\jdk1.7.0\bin\..\jre\bin;c:\tptp\plugins\org.eclipse.tptp.javaprofiler;C:\java\jdk1.7.0\bin;c:\tptp\bin;C:\Arquivos de programas\Apache Software Foundation\maven-2.0.6\bin;C:\instantclient10_1;C:\oracle\ora9ir\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\cygwin\bin;C:\Arquivos de programas\3Com\NBX\NBX TSP;C:\Arquivos de programas\GNU\WinCvs 1.3\CVSNT;C:\Python24;C:\opt\EverSystems\EvOLTP673\evoltpc\bin;C:\apache-ant-1.6.5\bin;C:\Arquivos de programas\cvsnt;C:\java\jee5-sdk-upd3\bin;C:\Arquivos de programas\Chami\URL2File USERNAME=mauricio_braga LD_LIBRARY_PATH=C:\oracle\ora9ir\bin
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 5, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows XP Build 2600 Service Pack 2

CPU:total 1 (1 cores per cpu, 1 threads per core) family 15 model 2 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2

Memory: 4k page, physical 1030892k(203128k free), swap 1437172k(715168k free)

vm_info: Java HotSpot(TM) Client VM (1.7.0-ea-b15) for windows-x86, built on Jul  5 2007 03:19:22 by "java_re" with unknown MS VC++:1310

time: Mon Jul 09 11:58:14 2007
elapsed time: 214 seconds


REPRODUCIBILITY :
This bug can be reproduced always.
Comment 1 Asaf Yaffe CLA 2007-07-11 03:29:30 EDT
I agree with Sun's engineer. This seems like an issue with the TPTP JVMTI Heap Profiler when running on Oracle iAS. 

To further investigate this, I will ask you to turn-on JVMTI Profiler logging and reproduce the problem.
To do that:
1. Define the following environment variables:
set MARTINI_LOGGER_DIRECTORY=<an existing directory of your choice>
set MARTINI_LOGGER_LOG_LEVEL=5

2. Launch Oracle iAS again with the -agentlib:... argument (is described in your error report)

3. Zip and attach the generated log file (MLog*.log) to this bug.

Thanks,
Asaf
Comment 2 Guru Nagarajan CLA 2007-07-11 08:22:51 EDT
Asaf - Can you work with the reporter on this
Comment 3 Asaf Yaffe CLA 2007-07-12 09:15:24 EDT
Lowering severity to "major". This bug does not block any of the use cases we use as release criteria.
Comment 4 Mauricio L. M. Braga CLA 2007-07-12 09:46:07 EDT
I carried out the steps described in the comment #1 and sent the log file to Asaf Yaffe's email.
Comment 5 Asaf Yaffe CLA 2007-07-12 09:52:58 EDT
Created attachment 73655 [details]
Martini log file
Comment 6 Asaf Yaffe CLA 2007-07-12 15:13:30 EDT
Changed bug summary to better describe the error.

Braga, I am lowering the severity of this defect from "blocker" to "major" (again). This bug does not block any of our release criteria. It is currently scheduled to be addressed in 4.4.1. Note that a patch is likely to be available sooner.
Comment 7 Asaf Yaffe CLA 2007-08-22 02:35:55 EDT
I am unable to reproduce this problem with a default OC4J installation. It seems that this problem is specific to the reporting user's environment.

Deferring to 4.5
Comment 8 Asaf Yaffe CLA 2007-10-02 16:12:00 EDT
Adding a time estimate of ~3 days. Most of the effort will probably be in reproducing this bug.
Comment 9 Asaf Yaffe CLA 2008-01-29 09:00:23 EST
Root-cause analysis: Heap Instrumentation fails for the static analyzer in class oracle.ifs.beans.resources.LibraryResources because the instrumented method has too many instructions (the Java bytecode array has a maximum length of unsigned 16 bit). As a result, the BCI engine raises an internal exception (CModuleException::X_REASON_CODE_OVERRUN) but this exception is not being handled and therefore causes the JVM to crash.
Comment 10 Asaf Yaffe CLA 2008-01-29 09:01:37 EST
(In reply to comment #9)
Ooops. 
"static analyzer" => "static initializer (<clinit>).
Comment 11 Asaf Yaffe CLA 2008-01-29 09:45:36 EST
Created attachment 88131 [details]
Patch

Patch.

Fix description: in case of a code overflow, the entire class will not be instrumented and an error message will be written to the Martini error log.
Note that the error is not very specific since the JIE library (instrumentation engine) does not (yet) have an access to the logger object.
Comment 12 Asaf Yaffe CLA 2008-01-29 09:49:45 EST
Created attachment 88132 [details]
A binary patch

Braga,

Can you please verify that the attached binary patch solves this bug?

To use the patch:
1. Download and install the latest development build of the TPTP 4.5 Agent Controller.
2. Unzip the attached binary patch into <ac_home>\plugins\org.eclipse.tptp.javaprofiler.
3. Try to reproduce the bug.
Comment 13 Asaf Yaffe CLA 2008-01-29 09:51:58 EST
Alex, can you please review this patch?
Comment 14 Asaf Yaffe CLA 2008-01-31 09:46:33 EST
Comment on attachment 88131 [details]
Patch

Patch checked-in after review
Comment 15 Asaf Yaffe CLA 2008-01-31 09:47:18 EST
Patch checked-in to 4.5 (HEAD) branch
Comment 16 Paul Slauenwhite CLA 2009-06-30 13:28:08 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.
Comment 17 Paul Slauenwhite CLA 2009-06-30 13:47:58 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.