Sharon,

again I have a job hanging. It's not the same piece of code that hangs, but 
again it's a
<finally> on top of the stack:

# staf local stax list jobs
Response
--------
Job ID Job Name                          Start Date-Time   Function
------ --------------------------------- ----------------- ----------
7      EMACH:/home/STAF/emach/report.xml 20090803-17:49:07 EMACH_main

# staf local stax list job 7 threads
Response
--------
Thread ID Parent TID State
--------- ---------- -------
1         <None>     Running

# staf local stax query job 7 thread 1
Response
--------
{
  Thread ID      : 1
  Parent TID     : <None>
  Start Date-Time: 20090803-17:49:07
  Call Stack     : [
    function: EMACH_main (Line: 806, File: /home/STAF/emach/EMACH-stax.xml, 
Machine: local://local)
    sequence: 12/12 (Line: 872, File: /home/STAF/emach/EMACH-stax.xml, Machine: 
local://local)
    block: main.Test execution (Line: 1085, File: 
/home/STAF/emach/EMACH-stax.xml, Machine: local://local)
    sequence: 1/1 (Line: 1086, File: /home/STAF/emach/EMACH-stax.xml, Machine: 
local://local)
    finally (Line: 1165, File: /home/STAF/emach/EMACH-stax.xml, Machine: 
local://local)
    try (Line: 1088, File: /home/STAF/emach/EMACH-stax.xml, Machine: 
local://local)
    sequence: 11/11 (Line: 1089, File: /home/STAF/emach/EMACH-stax.xml, 
Machine: local://local)
    iterate: 3/5 {'Name': '1.2.1 ToolX', 'TestCases':... (Line: 1135, File: 
/home/STAF/emach/EMACH-stax.xml, Machine: local://local)
    sequence: 1/2 (Line: 1136, File: /home/STAF/emach/EMACH-stax.xml, Machine: 
local://local)
    block: main.Test execution.1:2:1 ToolX (Line: 1138, File: 
/home/STAF/emach/EMACH-stax.xml, Machine: local://local)
    sequence: 3/4 (Line: 1139, File: /home/STAF/emach/EMACH-stax.xml, Machine: 
local://local)
    function: EMACH_ProcessTestCases (Line: 1342, File: 
/home/STAF/emach/EMACH-stax.xml, Machine: local://local)
    sequence: 1/1 (Line: 1349, File: /home/STAF/emach/EMACH-stax.xml, Machine: 
local://local)
    finally (Line: 1504, File: /home/STAF/emach/EMACH-stax.xml, Machine: 
local://local)
  ]
  Condition Stack: []
}
#


I also sent a SIGQUIT to JVM. Here is the output:

2009-08-03 18:00:15
Full thread dump Java HotSpot(TM) Client VM (11.2-b01 mixed mode):

"Thread-6066" prio=10 tid=0x6f4f0c00 nid=0x429f runnable 
[0x6fec5000..0x6fec6030]
   java.lang.Thread.State: RUNNABLE
        at com.ibm.staf.STAFHandle.STAFSubmit2(Native Method)
        at com.ibm.staf.STAFHandle.submit2(STAFHandle.java:67)
        at com.ibm.staf.service.stax.STAXJob.submitSync(STAXJob.java:1247)
        at 
com.ibm.staf.service.stax.STAXJob$STAFQueueMonitor.run(STAXJob.java:1622)

"Thread-11" prio=10 tid=0x713be000 nid=0x3941 runnable [0x702fe000..0x702fef30]
   java.lang.Thread.State: RUNNABLE
        at com.ibm.staf.STAFHandle.STAFSubmit2(Native Method)
        at com.ibm.staf.STAFHandle.submit2(STAFHandle.java:59)
        at 
com.ibm.staf.service.event.GenerationManager.run(GenerationManager.java:566)
        at java.lang.Thread.run(Thread.java:619)

"Thread-10" prio=10 tid=0x713ae400 nid=0x3940 in Object.wait() 
[0x7047e000..0x7047edb0]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:485)
        at 
com.ibm.staf.service.event.GenerationManager.notificationThread(GenerationManager.java:450)
        - locked <0x76c607f0> (a com.ibm.staf.service.event.GenerationManager$1)
        at 
com.ibm.staf.service.event.GenerationManager$1.run(GenerationManager.java:189)

"Thread-8" prio=10 tid=0x713a9c00 nid=0x393d in Object.wait() 
[0x704cf000..0x704cfe30]
   java.lang.Thread.State: BLOCKED (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:485)
        at 
com.ibm.staf.service.stax.STAXThreadQueue$QueueThread.run(STAXThreadQueue.java:49)
        - locked <0x76bfbbc0> (a java.util.LinkedList)

"Thread-7" prio=10 tid=0x0816bc00 nid=0x393c in Object.wait() 
[0x70520000..0x705210b0]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:485)
        at 
com.ibm.staf.service.stax.STAXThreadQueue$QueueThread.run(STAXThreadQueue.java:49)
        - locked <0x76bfbbc0> (a java.util.LinkedList)

"Thread-6" prio=10 tid=0x0813e000 nid=0x393b in Object.wait() 
[0x70572000..0x70572130]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:485)
        at 
com.ibm.staf.service.stax.STAXThreadQueue$QueueThread.run(STAXThreadQueue.java:49)
        - locked <0x76bfbbc0> (a java.util.LinkedList)

"Thread-5" prio=10 tid=0x081a6000 nid=0x393a runnable [0x705c2000..0x705c2fb0]
   java.lang.Thread.State: RUNNABLE
        at com.ibm.staf.service.stax.STAXThread.execute(STAXThread.java:1359)
        - locked <0x76eeb010> (a java.util.TreeSet)
        at 
com.ibm.staf.service.stax.STAXThreadQueue$QueueThread.run(STAXThreadQueue.java:54)
"Thread-4" prio=10 tid=0x0814e800 nid=0x3939 in Object.wait() 
[0x70613000..0x70614030]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:485)
        at 
com.ibm.staf.service.stax.STAXThreadQueue$QueueThread.run(STAXThreadQueue.java:49)
        - locked <0x76bfbbc0> (a java.util.LinkedList)

"Thread-1" prio=10 tid=0x0818a000 nid=0x392d in Object.wait() 
[0x70721000..0x70721eb0]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x76b31408> (a 
com.ibm.staf.service.stax.STAXTimedEventQueue)
        at java.lang.Object.wait(Object.java:485)
        at 
com.ibm.staf.service.stax.STAXTimedEventQueue.run(STAXTimedEventQueue.java:48)
        - locked <0x76b31408> (a com.ibm.staf.service.stax.STAXTimedEventQueue)

"Low Memory Detector" daemon prio=10 tid=0x71300800 nid=0x3929 runnable 
[0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE

"CompilerThread0" daemon prio=10 tid=0x080be400 nid=0x3928 waiting on condition 
[0x00000000..0x714bb8e8]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=10 tid=0x080bcc00 nid=0x3927 waiting on 
condition [0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=10 tid=0x080ac000 nid=0x3926 in Object.wait() 
[0x7159c000..0x7159d130]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x76b24db0> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=10 tid=0x080a7800 nid=0x3925 in Object.wait() 
[0x715ed000..0x715edfb0]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:485)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
        - locked <0x76b24798> (a java.lang.ref.Reference$Lock)

"main" prio=10 tid=0x08057800 nid=0x3923 runnable [0xb7dc4000..0xb7dc41f8]
   java.lang.Thread.State: RUNNABLE
        at com.ibm.staf.service.STAFServiceHelper.listen(Native Method)
        at 
com.ibm.staf.service.STAFServiceHelper.main(STAFServiceHelper.java:124)

"VM Thread" prio=10 tid=0x080a4000 nid=0x3924 runnable

"VM Periodic Task Thread" prio=10 tid=0x71302800 nid=0x392a waiting on condition

JNI global references: 886

Heap
 def new generation   total 1088K, used 765K [0x71c50000, 0x71d70000, 
0x76b10000)
  eden space 1024K,  74% used [0x71c50000, 0x71d0f6f0, 0x71d50000)
  from space 64K,   0% used [0x71d50000, 0x71d50000, 0x71d60000)
  to   space 64K,   0% used [0x71d60000, 0x71d60000, 0x71d70000)
 tenured generation   total 12620K, used 11613K [0x76b10000, 0x77763000, 
0xb1c50000)
   the space 12620K,  92% used [0x76b10000, 0x776674a0, 0x77667600, 0x77763000)
 compacting perm gen  total 16896K, used 16690K [0xb1c50000, 0xb2cd0000, 
0xb5c50000)
   the space 16896K,  98% used [0xb1c50000, 0xb2c9c9c0, 0xb2c9ca00, 0xb2cd0000)
No shared spaces configured.


What could be the next step of debugging?

Bodo
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to