Multi-threaded program hangs in Linux with green thread when doing I/O

Hi,
I am using green thread(jdk1.3.1) on Linux. My program is in multi-threaded model and has some I/O operations. I am runing one java program using Runtime.exec("java <program>"). Actually the <program> prompts user with some question like "enter location" and waits for the input. Now in my code I am constantly reading the input stream of the process. Once I get the string like "enter location", immediately I send the location through Process o/p stream. But the process is not able to read this and hangs there for ever.
Please help, what could be the problem? If you need the source code, pls let me know.
Thanks in advance,
Sisir

I had a similar issue few weeks back... If I could see the source I would have a better understanding of the problem and think I could help out. If you want to send it, send it to [email protected]
thanks,
JP

Similar Messages

  • XMLType payload fails with oci8 driver  when doing getStringVal

    I have a queue with an XMLType payload (I'm using 9.2). When I try to do a getStringVal() or getClobVal() on the dequeued XMLTYpe payload it works fine with the thin driver but when I switch to oci8 I get the following -
    ORA-21608: duration is invalid for this function
    I have to use the oci8 driver so anyone have any idea what the problem might be.
    Thanks

    Well, in the first example, TABLE2 was created, but not TABLE1. So why would I need to grant create table?
    Also, it is a policy decision not to give the users DDL rights, all DDL work should be done with ADMIN1.
    /Stefan

  • Firefox drops incripted connection with Charles Schwab when doing chart research on a stock, help.

    When using the Charles Schwab website to research charts for a specific stock, Firefox 4 loses the connection. You are returned to a Schwab sign in page, where, when you resign in, you are taken to a page with no functions. There are no problems using the Schwab website with Firefox 3.6.

    I don't know your exact settings, but try going to Firefox-->Preferences-->Privacy and Accept third-party cookies. You can opt to keep the cookies for the browser session or until they expire.
    Best of Luck!

  • Issue with sales order when doing the availability check.

    In MD04 we have a material avail date of 12.05.2011.    The order was then changed to 13.05.2011 delivery date to reflect this availability,  but then delivery time was added e.g GI time and route time which then showed the sales order in MD04 as 18.05.2011.    However,  if we run the availability and take the 18.05.2011  and key this in the delivery date,  it shows in MD04 as 13.05.2011.  It seems like the availability check is only looking backwards,  and I can't find a setting in ATP relating to this.  In MM they have foward and back consumption in days on MRP3.  Do these fields impact this.
    regards
    Kylie

    Check in OVLY what is maintained to your sale order type
    thanks
    G. Lakshmipathi

  • I need green-thread

    I have dilemma.
    I'm developing a server application that need some new services from JDK 1.4. However, I need to run those app on Linux machine that only happy with green thread.
    What should I do ? Is one of these choice possible ?
    * Copy the 1.4 class library to the JRE 1.3
    or
    * Copy the JVM 1.3 to the JRE 1.4
    This is just my whining,
    why did Sun throw away green-thread ?
    Is it hurt to leave it there ?

    They got rid of green threads because native threads are faster.
    Are you using a green-thread specific API?

  • Multi threaded programming

    I am quite new to multi threaded programming.
    The problem I am facing in my code is as follows:
    I can instantiate 1-10 threads from my controller class. For example if my controller class generates 10 threads, 5 threads
    finish the task they are assigned to do(i.e send SMS and Update the Database) and the other 5 threads eventhough send SMS but
    get stuck when they are supposed to update the Database (this is inferred from the logs).
    Due to this problem my controller class remains in a wait state as I am using the join() method and some of the threads never
    join.
    Another interesting observation is that it always happens that the thread numbered 0-5 always get stuck at the exact point
    where database has to be updated and thread number 6-10 complete their task. Same is the case when i instantiate 2 threads, i
    thread completes its task and another thread gets stuck, again at the same point.
    I am using Connection Pooling to connect to the database.
    I am sure that the problem is with the query
    int j=dbObject.execute_pst("UPDATE table SET flag='true' WHERE message IN("+trueFlag+")",con);
    where true flag is a comma seperated string containing some ID's.
    What i cannot understand is why some of the threads (almost 50% of them), work fine with this query and the others get stuck
    (i.e. just wait at this query during runtime)

    The problem must lie in the connection, as the SQL statement is to basic to cause an endless loop inside the DBMS. If you are in doubt, try the setMaxRows() method of the Statement interface, I'm using Sybase and it also limits the number of rows processed in update and delete statements (which I'm pretty sure is buggy, but you can still try it).
    Which DBMS are you using by the way?

  • Program hangs, can't get thread dump

    Hello
    I have a Java program which sometimes works OK untill the very end, but sometimes just hangs in a random moment and doesn't react to Ctrl+C or Ctrl+Break. Process doesn't use CPU, so I guess it isn't something like infinite loop (I actually cannot think of places in my program where this kind of loop may occur). I tried to get thread dump to see if there are any deadlocks, but Ctrl+Break doesn't work and jstack doesn't work also (I've read that there is -F option, but it isn't available on Windows). Also I tried to connect to a process with Java Visual VM - doesn't help too (just says 'Connecting...' forever).
    What else can I do to find out what's going on in my programm and fix it?
    I tried to run it with JDK 1.6.0_07 and 1.6.0_16. I'm using Windows Vista Enterprise SP1, 64-bit.
    Thanks in advance, Yulia.
    Edited by: Yulia_Dubinina on Oct 26, 2009 11:58 PM
    Edited by: Yulia_Dubinina on Oct 27, 2009 12:13 AM

    Yulia_Dubinina wrote:
    Yesterday I tried to start my program, connect with Java Visual VM to it and see how threads visualisation will look like in a moment when program hangs. My programm died after about 50 min and all info which I was able to see was about this period of time (e.g. a timeline diagram stopped changing and the last time mark was 49:23), but Java Visual VM was still connected to a process. I tried to press Thread Dump button, it worked, but there was nothing 'criminal' on the dump it provided. So I guess maybe it's not actual thread dump, it's something that Java Visual VM was able to get before process hanged.
    I don't have much experience in resolving this kind of problems, so any advices will be great appreciated.
    Edited by: Yulia_Dubinina on Oct 27, 2009 2:14 PMTurn on verbose GC and see if you got lots and lots of full GC when the freeze happens. A full GC can take several minutes if you have a bad configuration (where e.g. memory has been paged out to disk)

  • Running a Java Multi Thread Program in database

    I have created a multi threaded program in Java and it runs successfully from the command prompt. I want to create a DBMS Job which will wake up at regular intervals and runs the java program(Java stored procedure). Is this possible in 9.2/10G ?? If Yes, will there be any impact on the DB performance/increase memory etc.,
    The database (9.2...) resides on a RH 2.3 AS box.
    Any ideas...
    Thanks,
    Purush

    Purush,
    Java stored procedures cannot be multi-threaded. Well, they can, but the threads will not run in parallel. You may be able to find some more information in the Oracle documentation, which is available from:
    http://tahiti.oracle.com
    Good Luck,
    Avi.

  • Problem with program hanging randomly on certain commands from win 7 pro client to SB Server

    Having a problem with program hanging randomly on certain commands from Win-7 Pro Client to SB Server Both 64-Bit
    Five other slower XP-Pro 32 Bit systems though they are older and slower systems do not seem to hang as readily if at all.
    It has been very frustrating as the Client-System, SB-Server and Program should work w/o any hitches, but this seems to work fine @ times and then hang randomly.
    Would appreciate any and all suggestions in assisting.... JimBAgde-MSS  

    You can try this, as I have had similar problems with another MS Access .MDB file and slow access before. This fixed my problem for me. On the slow computer, make sure the program is set to see the .mdb file via UNC path, not a mapped drive letter. ex.
    USE:  \\yourserver\shared\dental\file.mdb
    DO NOT: S:\\shared\dental\file.mdb
    hope this helps

  • Program hanging on thread?

    Hello, as many of you have heard over the past few weeks, I'm trying to build a web messenger. I've come pretty close to getting everything working, but I've run into another issue.
    When the first client connects to my server, the server sends a call to the MessageDaemon program on the Admin's comp. When the MessageDaemon gets this info, it calls the Client class for the admin. The problem I'm having "I Think" is in the server code, in the handleAClient Class.
    The problem I'm having is that when both clients are up and running, the users(the first) Client gets hung up waiting for the admins(the second) client to send something. When the admin's client does send something, the text Does appear in both client programs; but it's only working for the Admin's Client. The Users Client text is being overwritten by the admin's.
    I think the error is in these lines:
              //GET TEXT FROM CLIENT
              String readString = null;
              in = new BufferedReader(new InputStreamReader(connectToClient.getInputStream()));
              in = new BufferedReader(new InputStreamReader(connectToAdmin.getInputStream ()));
              StringBuffer readBuffer = new StringBuffer();
              //  ... and read each character.
              readString = in.readLine();I think I need some type of OR statement so that the thread will continue when text is received from either Clients. I beleive I may be able to fix this by seperating the IN variable into
    two seperate variables, but that would only be a workaround, and I'd like to try to make this functional without that.
    Here is the complete server code, If you want/need me to past the MessageDaemon and/or the Client programs just ask.
    // MultiThreadServer.java
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.event.*;
    public class MultiThreadServer{
         public static void main(String[] args) {
              new MultiThreadServer();
         //initialize public variables
         public int cn = 0;
         public Socket connectToDaemon;
         public Socket[] mySockets = new Socket[10];
         public String un;
         public BufferedReader fin;  //first in
         // Set up IO streams
         DataOutputStream osToDaemon;
         DataInputStream isFromDaemon;
         //default constructor
         public MultiThreadServer() {
              String user = "";
              boolean decision = true;
              //start the server process
              try {
                   // Create a server socket
                   ServerSocket serverSocket = new ServerSocket(8000);
                   System.out.println("MultiThreadServer started at " + new Date() + '\n');
                   // Number a client
                   int clientNo = 0;
                   // maintain previous number
                   int clientPrev = 0;
                   // Listen for a new connection request
                   while (true) {
                        // accept connection request
                        Socket connectToClient = serverSocket.accept();
                        //number the connection and save the socket info with that number
                        mySockets[clientNo] = connectToClient;
                        System.out.println("clientNo");
                        /**  Get Username
                        fin = new BufferedReader(new InputStreamReader(connectToClient.getInputStream()));
                        StringBuffer readfinBuffer = new StringBuffer();
                        String s = fin.readLine();
                        String s = "NewUser";
                        //CHECK USERNAME TO SEE IF IT'S A USER OR AN ADMIN------------------------------------
                        String beginning = "";
                        String name = "";
                        //GET ADMINS LOCATION  -- to be developed later
                        //FIND ADMIN, CONNECT TO HIS DAEMON AND ASK IF HE WANTS TO TALK-----------------------
                        try {
                             //connect to MessageDaemon
                             connectToDaemon = new Socket("10.0.5.39", 8001);
                             isFromDaemon = new DataInputStream(connectToDaemon.getInputStream());
                             osToDaemon = new DataOutputStream(connectToDaemon.getOutputStream());
                             System.out.println("clientNo + 1");
                             // Send QueryString to Daemon
                             PrintWriter socketfinOut =
                                  new PrintWriter(new BufferedWriter(new OutputStreamWriter(connectToDaemon.getOutputStream())));
                             socketfinOut.println("Ask");
                             socketfinOut.flush();
                             //Return decision value,
                             int des = isFromDaemon.readInt();
                             //get yes/no decision from MessageDaemon
                             decision = des == 0;
                             if (decision) {
                                  // Display the client number
                                  System.out.println("Starting thread for " + user + ":" + name + " Num " + clientNo +
                                       " at " + new Date() + '\n');
                                  // Find the client's host name, and IP address
                                  InetAddress clientInetAddress =
                                       connectToClient.getInetAddress();
                                  System.out.println("Client " + clientNo + " " + s + "'s host name is "
                                       + clientInetAddress.getHostName() + "\n");
                                  System.out.println("Client " + clientNo + " " + s + "'s IP Address is "
                                       + clientInetAddress.getHostAddress() + "\n");
                                  // Create a new thread for the connection     SEND CLIENT# AND IP ADDRESS
                                  HandleAClient thread = new HandleAClient(connectToClient, connectToDaemon);
                                  un = s;
                                  cn = clientNo;
                                  // Start the new thread
                                  thread.start();
                             } else {
                                  //Send unable to connect to admin signel
                                  throw new IOException("Connection Refused.");
                             // Increment clientNo
                             clientNo++;
                        catch(IOException ex) {
                             System.out.println(ex.toString() + '\n' + "Cannot find admin");
                             // Create output stream
                             DataOutputStream osToClient = new DataOutputStream(connectToClient.getOutputStream());
                             //Send termination number back to client
                             osToClient.writeDouble(-9.0);
              catch(IOException ex) {
                   System.out.println(ex.toString() + '\n' + "Hello, I've died");
         // Inner class
         // Define the thread class for handling new connection
         class HandleAClient extends Thread {
              private Socket connectToClient; // A connected socket
              private Socket connectToAdmin;
              // Construct a thread
              public HandleAClient(Socket socket, Socket adminSocket) {
                   connectToClient = socket;
                   connectToAdmin = adminSocket;
              public BufferedReader in;
              // Run a thread
              public void run() {
                   try {
                        // Continuously serve the client
                        while (true) {
                             int newNum = 0;
                             String n = "";
                             //GET TEXT FROM CLIENT
                             String readString = null;
                             in = new BufferedReader(new InputStreamReader(connectToClient.getInputStream()));
                             in = new BufferedReader(new InputStreamReader(connectToAdmin.getInputStream ()));
                                  StringBuffer readBuffer = new StringBuffer();
                             //  ... and read each character.
                                  readString = in.readLine();
                             //PARSE STRING FOR RELEVANT INFO--will do later
                             //  a conduit for writing (printing) over that socket:
                             PrintWriter socketOut1 =
                                       new PrintWriter(new BufferedWriter(new OutputStreamWriter(connectToClient.getOutputStream())));
                             PrintWriter socketOut2 =
                                       new PrintWriter(new BufferedWriter(new OutputStreamWriter(connectToAdmin.getOutputStream())));
                             socketOut1.println(readString);
                             socketOut2.println(readString);
                             socketOut1.flush();
                             socketOut2.flush();
                             //  Now you can do what you want with the String:
                             System.out.println(readString + "\n");
                   catch(IOException e) {
                        System.err.println(e);
    }

    You could easily do what jverd was suggesting using something like the following. I didn't compile this code to try it out -- but it might give you a good idea.
    Hopefully it helps.
    public class MainThread extends Thread {
      StringBuffer clientBuffer, serverBuffer;
      public MainThread() {
        clientBuffer() = new StringBuffer();
        serverBuffer() = new StringBuffer();
      public void clientAppend(String data) {
        synchronized(clientBuffer) {
          clientBuffer.append(data);
      public void serverAppend(String data) {
        synchronized(serverBuffer) {
          serverBuffer.append(data);
      public void run() {
        Socket client = // get client socket
        Socket server = // get server socket
        ClientThread clientThread = new ClientThread(client);
        ServerThread serverThread = new ServerThread(server);
        clientThread.start();
        serverThread.start();
        try {
          while (you_want_to_keep_running) {
            synchronized(clientBuffer) {
              if (clientBuffer.length() > 0) {
                 // there's client data -- do stuff
                 clientBuffer.setLength(0);
            synchronized(serverBuffer) {
              if (serverBuffer.length() > 0) {
                // there's server data -- do stuff
                serverBuffer.setLength(0);
            // sleep to avoid eating up the CPU
            try {
              Thread.sleep(10);
            } catch (InterruptedException ie) {}
        } finally {
           // be sure to stop your threads
           clientThread.close();
           serverThread.close();
      class ClientThread extends Thread {
        private Socket client;
        public ClientThread(Socket client) {
          this.client = client;
        public void close() {
          if (client != null) {
             try {
               client.close();
             } catch (Exception e) {}
        public void run() {
          try {
            BufferedReader in = new BufferedReader(
                                 new InputStreamReader(
                                  client.getInputStream()));
            String line;
            while ((line = in.readLine()) != null) {
              clientAppend(line);
          } catch (IOException iox) {
            iox.printStackTrace();
      class ServerThread extends Thread {
        Socket server;
        public ServerThread(Socket server) {
          this.server = server;
        public void close() {
          if (server != null) {
             try {
               server.close();
             } catch (Exception e) {}
        public void run() {
          try {
            BufferedReader in = new BufferedReader(
                                 new InputStreamReader(
                                  server.getInputStream()));
            String line;
            while ((line = in.readLine()) != null) {
              serverAppend(line);
          } catch (IOException iox) {
            iox.printStackTrace();

  • ColorConvertOp jvm crashes with threaded programs "1.6.0_06"

    We have some test code that finds a set of image files in the file system, and creates gray scale thumbnails from them, using
    import java.awt.RenderingHints;
    import java.awt.color.ColorSpace;
    import java.awt.geom.AffineTransform;
    import java.awt.image.AffineTransformOp;
    import java.awt.image.BufferedImage;
    import java.awt.image.ColorConvertOp;
    import java.awt.image.ColorModel;
    import java.awt.image.ImagingOpException;
    import javax.imageio.ImageIO;
    public final ColorSpace gray_space =
    ColorSpace.getInstance (ColorSpace.CS_GRAY);
    BufferedImage transform( BufferedImage image, int maximalDimension )
    ColorConvertOp convertToGrayOp = new ColorConvertOp ( gray_space, null);
    BufferedImage gray_image = convertToGrayOp.filter (image, null);
    If the convertToGraOp line is removed, there is no crash.
    The images are loaded using ImageIO.read(file)
    This code crashes the VM every time when running threaded, in the conversion to grayscale ColorConvertOp.
    It does not matter if the jvm is running interpreted mode or not.
    java version "1.6.0_06"
    Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
    Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode)
    # An unexpected error has been detected by Java Runtime Environment:
    # SIGSEGV (0xb) at pc=0x00a4642e, pid=13253, tid=1870207888
    # Java VM: Java HotSpot(TM) Server VM (10.0-b22 interpreted mode linux-x86)
    # Problematic frame:
    # C [libpthread.so.0+0x642e] pthread_join+0x1e
    # 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 (0x08383400): JavaThread "pool-1-thread-19" [_thread_in_native, id=13289, stack(0x6f741000,0x6f792000)]
    siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x6bf33bd8
    Registers:
    EAX=0x6bf33b90, EBX=0x00a53ff4, ECX=0x6f78fc34, EDX=0x00000002
    ESP=0x6f78fbe0, EBP=0x6f78fc18, ESI=0x00000001, EDI=0x00000001
    EIP=0x00a4642e, CR2=0x6bf33bd8, EFLAGS=0x00010202
    Top of Stack: (sp=0x6f78fbe0)
    0x6f78fbe0: 6f78fc10 6f78fcc0 6f78fc48 6fec13af
    0x6f78fbf0: 6f78fc0c 00000003 6fe7d010 6f79008c
    0x6f78fc00: 00000001 00000000 00000000 6fec9170
    0x6f78fc10: 00000001 00000001 6f78fc48 6fec1522
    0x6f78fc20: 6bf33b90 6f78fc34 00000000 6f78fc34
    0x6f78fc30: 6bf33b90 6f78fc38 6fec14ae 6fec9170
    0x6f78fc40: 6f78fcb4 00000003 6f7901e8 6fe7cdc1
    0x6f78fc50: 6f78fcb0 00000001 00000002 ffffffff
    Instructions: (pc=0x00a4642e)
    0x00a4641e: dd ff ff 81 c3 d3 db 00 00 c7 45 dc 03 00 00 00
    0x00a4642e: 8b 48 48 85 c9 0f 88 d5 00 00 00 39 80 00 02 00
    Stack: [0x6f741000,0x6f792000], sp=0x6f78fbe0, free space=314k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [libpthread.so.0+0x642e] pthread_join+0x1e
    C [libcmm.so+0x4e522]
    C [libcmm.so+0x9dc1]
    C [libcmm.so+0x987e]
    C [libcmm.so+0x30e40]
    C [libcmm.so+0x30a42]
    C [libcmm.so+0x3ad3e]
    C [libcmm.so+0x516b2] Java_sun_awt_color_CMM_cmmColorConvert+0xf2
    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 [libjvm.so+0x37354d]
    V [libjvm.so+0x4fd568]
    V [libjvm.so+0x372e60]
    V [libjvm.so+0x372eed]
    V [libjvm.so+0x3e30f5]
    V [libjvm.so+0x5b617d]
    V [libjvm.so+0x4fe219]
    C [libpthread.so.0+0x543b]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    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 )
    0x0838e800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=13291, stack(0x6f5b5000,0x6f606000)]
    0x08384800 JavaThread "pool-1-thread-20" [_thread_blocked, id=13290, stack(0x6f6f0000,0x6f741000)]
    =>0x08383400 JavaThread "pool-1-thread-19" [_thread_in_native, id=13289, stack(0x6f741000,0x6f792000)]
    0x08382000 JavaThread "pool-1-thread-18" [_thread_blocked, id=13288, stack(0x6f792000,0x6f7e3000)]
    0x0834ec00 JavaThread "pool-1-thread-17" [_thread_in_Java, id=13287, stack(0x6f7e3000,0x6f834000)]
    0x0834d800 JavaThread "pool-1-thread-16" [_thread_blocked, id=13286, stack(0x6f834000,0x6f885000)]
    0x0834c400 JavaThread "pool-1-thread-15" [_thread_blocked, id=13285, stack(0x6f885000,0x6f8d6000)]
    0x0834b000 JavaThread "pool-1-thread-14" [_thread_blocked, id=13284, stack(0x6f8d6000,0x6f927000)]
    0x08349c00 JavaThread "pool-1-thread-13" [_thread_blocked, id=13283, stack(0x6f927000,0x6f978000)]
    0x6fc08800 JavaThread "pool-1-thread-12" [_thread_blocked, id=13282, stack(0x6f978000,0x6f9c9000)]
    0x6fc07400 JavaThread "pool-1-thread-11" [_thread_blocked, id=13281, stack(0x6f9c9000,0x6fa1a000)]
    0x6fc06400 JavaThread "pool-1-thread-10" [_thread_in_Java, id=13280, stack(0x6fa1a000,0x6fa6b000)]
    0x6fc05000 JavaThread "pool-1-thread-9" [_thread_blocked, id=13279, stack(0x6fa6b000,0x6fabc000)]
    0x6fc04000 JavaThread "pool-1-thread-8" [_thread_blocked, id=13278, stack(0x6fabc000,0x6fb0d000)]
    0x6fc02c00 JavaThread "pool-1-thread-7" [_thread_blocked, id=13277, stack(0x6fb0d000,0x6fb5e000)]
    0x6fc01c00 JavaThread "pool-1-thread-6" [_thread_blocked, id=13276, stack(0x6fb5e000,0x6fbaf000)]
    0x6fc00800 JavaThread "pool-1-thread-5" [_thread_in_native, id=13275, stack(0x6fbaf000,0x6fc00000)]
    0x08375000 JavaThread "pool-1-thread-4" [_thread_blocked, id=13274, stack(0x6fd2f000,0x6fd80000)]
    0x08372800 JavaThread "pool-1-thread-3" [_thread_blocked, id=13273, stack(0x6fd80000,0x6fdd1000)]
    0x0834f800 JavaThread "pool-1-thread-2" [_thread_blocked, id=13272, stack(0x6fdd1000,0x6fe22000)]
    0x08353400 JavaThread "pool-1-thread-1" [_thread_blocked, id=13271, stack(0x6fe22000,0x6fe73000)]
    0x082fac00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=13269, stack(0x6ff4b000,0x6ff9c000)]
    0x082f9400 JavaThread "CompilerThread1" daemon [_thread_blocked, id=13268, stack(0x6ff9c000,0x7001d000)]
    0x082f6c00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=13267, stack(0x7001d000,0x7009e000)]
    0x082f5800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=13266, stack(0x7009e000,0x700ef000)]
    0x082db800 JavaThread "Finalizer" daemon [_thread_blocked, id=13265, stack(0x702ef000,0x70340000)]
    0x082da800 JavaThread "Reference Handler" daemon [_thread_blocked, id=13264, stack(0x70340000,0x70391000)]
    0x081f1400 JavaThread "main" [_thread_blocked, id=13254, stack(0xb7f02000,0xb7f53000)]
    Other Threads:
    0x082d7800 VMThread [stack: 0x70391000,0x70412000] [id=13263]
    0x082fc400 WatcherThread [stack: 0x6feca000,0x6ff4b000] [id=13270]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    PSYoungGen total 77696K, used 74874K [0xadc20000, 0xb4de0000, 0xb4de0000)
    eden space 38912K, 100% used [0xadc20000,0xb0220000,0xb0220000)
    from space 38784K, 92% used [0xb2800000,0xb4b1e878,0xb4de0000)
    to space 38784K, 0% used [0xb0220000,0xb0220000,0xb2800000)
    PSOldGen total 102592K, used 61087K [0x74de0000, 0x7b210000, 0xadc20000)
    object space 102592K, 59% used [0x74de0000,0x78987de0,0x7b210000)
    PSPermGen total 16384K, used 5202K [0x70de0000, 0x71de0000, 0x74de0000)
    object space 16384K, 31% used [0x70de0000,0x712f4b90,0x71de0000)
    Dynamic libraries:
    0037d000-00382000 r-xp 00000000 08:03 140816 /usr/lib/libXtst.so.6.1.0
    00382000-00383000 rwxp 00004000 08:03 140816 /usr/lib/libXtst.so.6.1.0
    006a1000-006a8000 r-xp 00000000 08:03 141813 /usr/lib/libXi.so.6.0.0
    006a8000-006a9000 rwxp 00006000 08:03 141813 /usr/lib/libXi.so.6.0.0
    0071d000-0072c000 r-xp 00000000 08:03 144019 /usr/lib/libXext.so.6.4.0
    0072c000-0072d000 rwxp 0000e000 08:03 144019 /usr/lib/libXext.so.6.4.0
    008ad000-008c6000 r-xp 00000000 08:03 3209666 /lib/ld-2.5.so
    008c6000-008c7000 r-xp 00019000 08:03 3209666 /lib/ld-2.5.so
    008c7000-008c8000 rwxp 0001a000 08:03 3209666 /lib/ld-2.5.so
    008ca000-008cc000 r-xp 00000000 08:03 138166 /usr/lib/libXau.so.6.0.0
    008cc000-008cd000 rwxp 00001000 08:03 138166 /usr/lib/libXau.so.6.0.0
    008cf000-00a09000 r-xp 00000000 08:03 3209680 /lib/libc-2.5.so
    00a09000-00a0b000 r-xp 00139000 08:03 3209680 /lib/libc-2.5.so
    00a0b000-00a0c000 rwxp 0013b000 08:03 3209680 /lib/libc-2.5.so
    00a0c000-00a0f000 rwxp 00a0c000 00:00 0
    00a11000-00a13000 r-xp 00000000 08:03 3209681 /lib/libdl-2.5.so
    00a13000-00a14000 r-xp 00001000 08:03 3209681 /lib/libdl-2.5.so
    00a14000-00a15000 rwxp 00002000 08:03 3209681 /lib/libdl-2.5.so
    00a17000-00a3c000 r-xp 00000000 08:03 3209683 /lib/libm-2.5.so
    00a3c000-00a3d000 r-xp 00024000 08:03 3209683 /lib/libm-2.5.so
    00a3d000-00a3e000 rwxp 00025000 08:03 3209683 /lib/libm-2.5.so
    00a40000-00a53000 r-xp 00000000 08:03 3209684 /lib/libpthread-2.5.so
    00a53000-00a54000 r-xp 00012000 08:03 3209684 /lib/libpthread-2.5.so
    00a54000-00a55000 rwxp 00013000 08:03 3209684 /lib/libpthread-2.5.so
    00a55000-00a57000 rwxp 00a55000 00:00 0
    00acf000-00ad6000 r-xp 00000000 08:03 3209685 /lib/librt-2.5.so
    00ad6000-00ad7000 r-xp 00006000 08:03 3209685 /lib/librt-2.5.so
    00ad7000-00ad8000 rwxp 00007000 08:03 3209685 /lib/librt-2.5.so
    00cda000-00cdf000 r-xp 00000000 08:03 136339 /usr/lib/libXdmcp.so.6.0.0
    00cdf000-00ce0000 rwxp 00004000 08:03 136339 /usr/lib/libXdmcp.so.6.0.0
    00ce2000-00cf5000 r-xp 00000000 08:03 3209699 /lib/libnsl-2.5.so
    00cf5000-00cf6000 r-xp 00012000 08:03 3209699 /lib/libnsl-2.5.so
    00cf6000-00cf7000 rwxp 00013000 08:03 3209699 /lib/libnsl-2.5.so
    00cf7000-00cf9000 rwxp 00cf7000 00:00 0
    06000000-0665d000 r-xp 00000000 08:03 917468 /usr/java/jdk1.6.0_06/jre/lib/i386/server/libjvm.so
    0665d000-066a1000 rwxp 0065c000 08:03 917468 /usr/java/jdk1.6.0_06/jre/lib/i386/server/libjvm.so
    066a1000-06ac3000 rwxp 066a1000 00:00 0
    078e2000-079e1000 r-xp 00000000 08:03 144015 /usr/lib/libX11.so.6.2.0
    079e1000-079e5000 rwxp 000fe000 08:03 144015 /usr/lib/libX11.so.6.2.0
    08048000-08052000 r-xp 00000000 08:03 430064 /usr/java/jdk1.6.0_06/bin/java
    08052000-08053000 rwxp 00009000 08:03 430064 /usr/java/jdk1.6.0_06/bin/java
    081ec000-0887c000 rwxp 081ec000 00:00 0
    65b2a000-65b2b000 ---p 65b2a000 00:00 0
    65b2b000-6652b000 rwxp 65b2b000 00:00 0
    6652b000-6652c000 ---p 6652b000 00:00 0
    6652c000-66f2c000 rwxp 6652c000 00:00 0
    66f2c000-66f2d000 ---p 66f2c000 00:00 0
    66f2d000-6792d000 rwxp 66f2d000 00:00 0
    68d2f000-68d30000 ---p 68d2f000 00:00 0
    68d30000-69730000 rwxp 68d30000 00:00 0
    6bf34000-6bf35000 ---p 6bf34000 00:00 0
    6bf35000-6c935000 rwxp 6bf35000 00:00 0
    6d336000-6d3fc000 r-xp 00000000 08:03 917449 /usr/java/jdk1.6.0_06/jre/lib/i386/libmlib_image.so
    6d3fc000-6d3fd000 rwxp 000c5000 08:03 917449 /usr/java/jdk1.6.0_06/jre/lib/i386/libmlib_image.so
    6d400000-6d461000 rwxp 6d400000 00:00 0
    6d461000-6d500000 ---p 6d461000 00:00 0
    6d600000-6d6fc000 rwxp 6d600000 00:00 0
    6d6fc000-6d700000 ---p 6d6fc000 00:00 0
    6d712000-6d8d3000 rwxp 6d712000 00:00 0
    6d8d3000-6d900000 ---p 6d8d3000 00:00 0
    6d9c0000-6d9c1000 ---p 6d9c0000 00:00 0
    6d9c1000-6ed00000 rwxp 6d9c1000 00:00 0
    6ee3f000-6f100000 rwxp 6ee3f000 00:00 0
    6f100000-6f1ff000 rwxp 6f100000 00:00 0
    6f1ff000-6f200000 ---p 6f1ff000 00:00 0
    6f200000-6f2ff000 rwxp 6f200000 00:00 0
    6f2ff000-6f300000 ---p 6f2ff000 00:00 0
    6f300000-6f400000 rwxp 6f300000 00:00 0
    6f400000-6f4e7000 rwxp 6f400000 00:00 0
    6f4e7000-6f500000 ---p 6f4e7000 00:00 0
    6f50c000-6f513000 r-xp 00000000 08:03 917453 /usr/java/jdk1.6.0_06/jre/lib/i386/libnio.so
    6f513000-6f514000 rwxp 00006000 08:03 917453 /usr/java/jdk1.6.0_06/jre/lib/i386/libnio.so
    6f514000-6f527000 r-xp 00000000 08:03 917452 /usr/java/jdk1.6.0_06/jre/lib/i386/libnet.so
    6f527000-6f528000 rwxp 00013000 08:03 917452 /usr/java/jdk1.6.0_06/jre/lib/i386/libnet.so
    6f528000-6f5a6000 r-xp 00000000 08:03 917429 /usr/java/jdk1.6.0_06/jre/lib/i386/libfontmanager.so
    6f5a6000-6f5b0000 rwxp 0007e000 08:03 917429 /usr/java/jdk1.6.0_06/jre/lib/i386/libfontmanager.so
    6f5b0000-6f5b5000 rwxp 6f5b0000 00:00 0
    6f5b5000-6f5b8000 ---p 6f5b5000 00:00 0
    6f5b8000-6f606000 rwxp 6f5b8000 00:00 0
    6f606000-6f647000 r-xp 00000000 08:03 917470 /usr/java/jdk1.6.0_06/jre/lib/i386/xawt/libmawt.so
    6f647000-6f64a000 rwxp 00040000 08:03 917470 /usr/java/jdk1.6.0_06/jre/lib/i386/xawt/libmawt.so
    6f64a000-6f6c5000 r-xp 00000000 08:03 917424 /usr/java/jdk1.6.0_06/jre/lib/i386/libawt.so
    6f6c5000-6f6cc000 rwxp 0007b000 08:03 917424 /usr/java/jdk1.6.0_06/jre/lib/i386/libawt.so
    6f6cc000-6f6f0000 rwxp 6f6cc000 00:00 0
    6f6f0000-6f6f3000 ---p 6f6f0000 00:00 0
    6f6f3000-6f741000 rwxp 6f6f3000 00:00 0
    6f741000-6f744000 ---p 6f741000 00:00 0
    6f744000-6f792000 rwxp 6f744000 00:00 0
    6f792000-6f795000 ---p 6f792000 00:00 0
    6f795000-6f7e3000 rwxp 6f795000 00:00 0
    6f7e3000-6f7e6000 ---p 6f7e3000 00:00 0
    6f7e6000-6f834000 rwxp 6f7e6000 00:00 0
    6f834000-6f837000 ---p 6f834000 00:00 0
    6f837000-6f885000 rwxp 6f837000 00:00 0
    6f885000-6f888000 ---p 6f885000 00:00 0
    6f888000-6f8d6000 rwxp 6f888000 00:00 0
    6f8d6000-6f8d9000 ---p 6f8d6000 00:00 0
    6f8d9000-6f927000 rwxp 6f8d9000 00:00 0
    6f927000-6f92a000 ---p 6f927000 00:00 0
    6f92a000-6f978000 rwxp 6f92a000 00:00 0
    6f978000-6f97b000 ---p 6f978000 00:00 0
    6f97b000-6f9c9000 rwxp 6f97b000 00:00 0
    6f9c9000-6f9cc000 ---p 6f9c9000 00:00 0
    6f9cc000-6fa1a000 rwxp 6f9cc000 00:00 0
    6fa1a000-6fa1d000 ---p 6fa1a000 00:00 0
    6fa1d000-6fa6b000 rwxp 6fa1d000 00:00 0
    6fa6b000-6fa6e000 ---p 6fa6b000 00:00 0
    6fa6e000-6fabc000 rwxp 6fa6e000 00:00 0
    6fabc000-6fabf000 ---p 6fabc000 00:00 0
    6fabf000-6fb0d000 rwxp 6fabf000 00:00 0
    6fb0d000-6fb10000 ---p 6fb0d000 00:00 0
    6fb10000-6fb5e000 rwxp 6fb10000 00:00 0
    6fb5e000-6fb61000 ---p 6fb5e000 00:00 0
    6fb61000-6fbaf000 rwxp 6fb61000 00:00 0
    6fbaf000-6fbb2000 ---p 6fbaf000 00:00 0
    6fbb2000-6fcff000 rwxp 6fbb2000 00:00 0
    6fcff000-6fd00000 ---p 6fcff000 00:00 0
    6fd00000-6fd2e000 r-xp 00000000 08:03 917444 /usr/java/jdk1.6.0_06/jre/lib/i386/libjpeg.so
    6fd2e000-6fd2f000 rwxp 0002e000 08:03 917444 /usr/java/jdk1.6.0_06/jre/lib/i386/libjpeg.so
    6fd2f000-6fd32000 ---p 6fd2f000 00:00 0
    6fd32000-6fd80000 rwxp 6fd32000 00:00 0
    6fd80000-6fd83000 ---p 6fd80000 00:00 0
    6fd83000-6fdd1000 rwxp 6fd83000 00:00 0
    6fdd1000-6fdd4000 ---p 6fdd1000 00:00 0
    6fdd4000-6fe22000 rwxp 6fdd4000 00:00 0
    6fe22000-6fe25000 ---p 6fe22000 00:00 0
    6fe25000-6fe73000 rwxp 6fe25000 00:00 0
    6fe73000-6fec7000 r-xp 00000000 08:03 917425 /usr/java/jdk1.6.0_06/jre/lib/i386/libcmm.so
    6fec7000-6feca000 rwxp 00054000 08:03 917425 /usr/java/jdk1.6.0_06/jre/lib/i386/libcmm.so
    6feca000-6fecb000 ---p 6feca000 00:00 0
    6fecb000-6ff4b000 rwxp 6fecb000 00:00 0
    6ff4b000-6ff4e000 ---p 6ff4b000 00:00 0
    6ff4e000-6ff9c000 rwxp 6ff4e000 00:00 0
    6ff9c000-6ff9f000 ---p 6ff9c000 00:00 0
    6ff9f000-7001d000 rwxp 6ff9f000 00:00 0
    7001d000-70020000 ---p 7001d000 00:00 0
    70020000-7009e000 rwxp 70020000 00:00 0
    7009e000-700a1000 ---p 7009e000 00:00 0
    700a1000-700ef000 rwxp 700a1000 00:00 0
    700ef000-702ef000 r-xp 00000000 08:03 136047 /usr/lib/locale/locale-archive
    702ef000-702f2000 ---p 702ef000 00:00 0
    702f2000-70340000 rwxp 702f2000 00:00 0
    70340000-70343000 ---p 70340000 00:00 0
    70343000-70391000 rwxp 70343000 00:00 0
    70391000-70392000 ---p 70391000 00:00 0
    70392000-70444000 rwxp 70392000 00:00 0
    70444000-705cf000 r-xs 02df0000 08:03 917555 /usr/java/jdk1.6.0_06/jre/lib/rt.jar
    705cf000-705d0000 ---p 705cf000 00:00 0
    705d0000-70650000 rwxp 705d0000 00:00 0
    70650000-70651000 ---p 70650000 00:00 0
    70651000-706d1000 rwxp 70651000 00:00 0
    706d1000-706d2000 ---p 706d1000 00:00 0
    706d2000-70752000 rwxp 706d2000 00:00 0
    70752000-70753000 ---p 70752000 00:00 0
    70753000-707d3000 rwxp 70753000 00:00 0
    707d3000-707d4000 ---p 707d3000 00:00 0
    707d4000-70854000 rwxp 707d4000 00:00 0
    70854000-70855000 ---p 70854000 00:00 0
    70855000-708d5000 rwxp 70855000 00:00 0
    708d5000-708d6000 ---p 708d5000 00:00 0
    708d6000-70956000 rwxp 708d6000 00:00 0
    70956000-70957000 ---p 70956000 00:00 0
    70957000-709df000 rwxp 70957000 00:00 0
    709df000-709f7000 rwxp 709df000 00:00 0
    709f7000-70a2a000 rwxp 709f7000 00:00 0
    70a2a000-70bbf000 rwxp 70a2a000 00:00 0
    70bbf000-70bc7000 rwxp 70bbf000 00:00 0
    70bc7000-70bdf000 rwxp 70bc7000 00:00 0
    70bdf000-70c12000 rwxp 70bdf000 00:00 0
    70c12000-70da6000 rwxp 70c12000 00:00 0
    70da6000-70ddf000 rwxp 70da6000 00:00 0
    70ddf000-71de0000 rwxp 70ddf000 00:00 0
    71de0000-74de0000 rwxp 71de0000 00:00 0
    74de0000-7b210000 rwxp 74de0000 00:00 0
    7b210000-adc20000 rwxp 7b210000 00:00 0
    adc20000-b4de0000 rwxp adc20000 00:00 0
    b4de2000-b4de6000 r-xs 00038000 08:10 2684367114 /data/mvc/bin/trunk/java/extlib/commons-lang-2.2.jar
    b4de6000-b4def000 rwxp b4de6000 00:00 0
    b4def000-b4ea6000 rwxp b4def000 00:00 0
    b4ea6000-b50e6000 rwxp b4ea6000 00:00 0
    b50e6000-b7ea6000 rwxp b50e6000 00:00 0
    b7ea6000-b7eb5000 r-xp 00000000 08:03 917460 /usr/java/jdk1.6.0_06/jre/lib/i386/libzip.so
    b7eb5000-b7eb7000 rwxp 0000e000 08:03 917460 /usr/java/jdk1.6.0_06/jre/lib/i386/libzip.so
    b7eb7000-b7eda000 r-xp 00000000 08:03 917437 /usr/java/jdk1.6.0_06/jre/lib/i386/libjava.so
    b7eda000-b7edc000 rwxp 00023000 08:03 917437 /usr/java/jdk1.6.0_06/jre/lib/i386/libjava.so
    b7edc000-b7ee7000 r-xp 00000000 08:03 917459 /usr/java/jdk1.6.0_06/jre/lib/i386/libverify.so
    b7ee7000-b7ee8000 rwxp 0000b000 08:03 917459 /usr/java/jdk1.6.0_06/jre/lib/i386/libverify.so
    b7ee8000-b7ef1000 r-xp 00000000 08:03 3208169 /lib/libnss_files-2.5.so
    b7ef1000-b7ef2000 r-xp 00008000 08:03 3208169 /lib/libnss_files-2.5.so
    b7ef2000-b7ef3000 rwxp 00009000 08:03 3208169 /lib/libnss_files-2.5.so
    b7ef3000-b7efb000 rwxs 00000000 08:03 786643 /tmp/hsperfdata_XXXX/13253
    b7efb000-b7f01000 r-xp 00000000 08:03 917464 /usr/java/jdk1.6.0_06/jre/lib/i386/native_threads/libhpi.so
    b7f01000-b7f02000 rwxp 00006000 08:03 917464 /usr/java/jdk1.6.0_06/jre/lib/i386/native_threads/libhpi.so
    b7f02000-b7f05000 ---p b7f02000 00:00 0
    b7f05000-b7f55000 rwxp b7f05000 00:00 0
    b7f55000-b7f5c000 r-xp 00000000 08:03 917420 /usr/java/jdk1.6.0_06/jre/lib/i386/jli/libjli.so
    b7f5c000-b7f5e000 rwxp 00006000 08:03 917420 /usr/java/jdk1.6.0_06/jre/lib/i386/jli/libjli.so
    b7f5e000-b7f61000 r-xs 00012000 08:10 2684367112 /data/mvc/bin/trunk/java/extlib/commons-io-1.3.1.jar
    b7f61000-b7f63000 r-xs 00006000 08:10 2684367101 /data/mvc/bin/trunk/java/extlib/commons-cli-1.0.jar
    b7f63000-b7f64000 r-xs 00005000 08:10 2684367104 /data/mvc/bin/trunk/java/extlib/commons-csv.jar
    b7f64000-b7f65000 rwxp b7f64000 00:00 0
    b7f65000-b7f66000 r-xp b7f65000 00:00 0
    b7f66000-b7f67000 rwxp b7f66000 00:00 0
    b7f67000-b7f68000 r-xp b7f67000 00:00 0 [vdso]
    bfbf3000-bfc08000 rwxp bfbf3000 00:00 0 [stack]
    VM Arguments:
    jvm_args: -Xint -Xmx1g
    java_command: ReadAndScale -tc 20 -od /tmp/junk -sc 0 daily-200806111452-images daily-200806121348-images
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=/usr/java/jdk1.6.0/
    PATH=/usr/java/jdk1.6.0//bin:/usr/java/jdk1.6.0//bin:/usr/java/jdk1.6.0//bin:/usr/java/jdk1.6.0//bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/data/hadoop-0.15.3-dev/bin:/home/XXXX/bin:/sbin:/usr/sbin:/home/XXXX/bin:/sbin:/usr/sbin:/home/XXXX/bin:/sbin:/usr/sbin:/home/XXXX/bin:/sbin:/usr/sbin
    LD_LIBRARY_PATH=/usr/java/jdk1.6.0_06/jre/lib/i386/server:/usr/java/jdk1.6.0_06/jre/lib/i386:/usr/java/jdk1.6.0_06/jre/../lib/i386
    SHELL=/bin/bash
    DISPLAY=localhost:10.0
    Signal Handlers:
    SIGSEGV: [libjvm.so+0x5edbc0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGBUS: [libjvm.so+0x5edbc0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGFPE: [libjvm.so+0x4fc630], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGPIPE: [libjvm.so+0x4fc630], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGXFSZ: [libjvm.so+0x4fc630], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGILL: [libjvm.so+0x4fc630], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGUSR2: [libjvm.so+0x4fe670], sa_mask[0]=0x00000000, sa_flags=0x10000004
    SIGHUP: [libjvm.so+0x4fe410], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGINT: [libjvm.so+0x4fe410], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGTERM: [libjvm.so+0x4fe410], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGQUIT: [libjvm.so+0x4fe410], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    --------------- S Y S T E M ---------------
    OS:CentOS release 5 (Final)
    uname:Linux 2.6.18-53.1.19.el5.centos.plusPAE #1 SMP Sat May 10 11:42:58 EDT 2008 i686
    libc:glibc 2.5 NPTL 2.5
    rlimit: STACK 10240k, CORE 0k, NPROC 143360, NOFILE 65536, AS infinity
    load average:3.23 2.09 1.76
    CPU:total 8 (4 cores per cpu, 1 threads per core) family 6 model 7 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
    Memory: 4k page, physical 8306856k(117792k free), swap 16386292k(16381600k free)
    vm_info: Java HotSpot(TM) Server VM (10.0-b22) for linux-x86 JRE (1.6.0_06-b02), built on Mar 25 2008 00:26:44 by "java_re" with gcc 3.2.1-7a (J2SE release)
    time: Thu Jun 26 06:32:55 2008
    elapsed time: 10 seconds

    I also encountered a situation where a single request immediately crashes the JVM on a particular machine (running Debian ) when this method is called from JBoss RichFaces. The following URL crashes the JVM 100% reproducible on that particular machine:
    http://localhost:8080/a4j/g/3_3_1.GAorg.richfaces.renderkit.html.iconimages.DisabledCalendarIcon/DATB/eAF79eoVw6znAA!XBEA_.jsf
    A relevant part from the crash log:
    # A fatal error has been detected by the Java Runtime Environment:
    #  SIGSEGV (0xb) at pc=0x00007ff73ad5f628, pid=3035, tid=1194969424
    # JRE version: 6.0_18-b07
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (16.0-b13 mixed mode linux-amd64 compressed oops)
    # Problematic frame:
    # C  [libpthread.so.0+0x7628]  pthread_join+0x28
    # 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 (0x00007ff70ef30800):  JavaThread "ajp-0.0.0.0-8009-6" daemon [_thread_in_native, id=3183, stack(0x000000004729c000,0x000000004739d000)]
    siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x000000004b59f9e0
    Registers:
    RAX=0x0000000000000000, RBX=0x000000004b59f950, RCX=0x0000000000000003, RDX=0x0000000000000001
    RSP=0x0000000047398640, RBP=0x0000000000000001, RSI=0x00000000473986a0, RDI=0x000000004b59f950
    R8 =0x00007ff704c9f380, R9 =0x0000000000000ce8, R10=0x0000000000000000, R11=0x0000000000000202
    R12=0x0000000000000000, R13=0x0000000047398710, R14=0x000000004b59f950, R15=0x00000000473986a0
    RIP=0x00007ff73ad5f628, EFL=0x0000000000010202, CSGSFS=0x415300000000e033, ERR=0x0000000000000004
      TRAPNO=0x000000000000000e
    Top of Stack: (sp=0x0000000047398640)
    0x0000000047398640:   00007ff73ad5f5e0 000000004b59fd38
    0x0000000047398650:   00000000473986a8 0000000000000000
    0x0000000047398660:   0000000000000002 0000000000000001
    0x0000000047398670:   0000000000000001 0000000000000000
    0x0000000047398680:   0000000047398710 000000004b59f950
    0x0000000047398690:   0000000047398710 00007ff709c4ba20
    0x00000000473986a0:   0000000000000001 0000000000000003
    0x00000000473986b0:   0000000000000000 0000000000000003
    0x00000000473986c0:   0000000000000000 0000000000000004
    0x00000000473986d0:   0000000000000001 00007ff709c10b3a
    0x00000000473986e0:   00000000473986f8 0000000000000000
    0x00000000473986f0:   00000000efc90f60 00000000efc91160
    0x0000000047398700:   00000000efc7a6f0 00000000efc7aaf0
    0x0000000047398710:   000000004b59f950 000000004f5a0950
    0x0000000047398720:   00000000535a1950 0000000000000000
    0x0000000047398730:   0000000047399310 00007ff709c205e0
    0x0000000047398740:   0000000000000001 0000000047399050
    0x0000000047398750:   0000000000000107 0000200000002000
    0x0000000047398760:   0000000000002000 0000000000000000
    0x0000000047398770:   0000000000000001 0000000300000000
    0x0000000047398780:   0000000200000008 0000000300000003
    0x0000000047398790:   0000001000000004 00000000efc7a7f2
    0x00000000473987a0:   00000000efc7a7f1 00000000efc7a7f0
    0x00000000473987b0:   0000000000000000 0000000000000000
    0x00000000473987c0:   0000000000000000 0000000000000000
    0x00000000473987d0:   0000000000000000 00000000efc90fe0
    0x00000000473987e0:   0000000000000000 0000000000000000
    0x00000000473987f0:   0000000000000000 0000000000000000
    0x0000000047398800:   0000000000000000 0000000000000000
    0x0000000047398810:   0000000000000000 0000000400000004
    0x0000000047398820:   0000000000000004 0000000000000000
    0x0000000047398830:   0000000000000000 0000004000000040
    Instructions: (pc=0x00007ff73ad5f628)
    0x00007ff73ad5f618:   89 f7 4c 89 6c 24 e8 4c 89 74 24 f0 48 83 ec 58
    0x00007ff73ad5f628:   8b 87 90 00 00 00 bd 03 00 00 00 85 c0 0f 88 9f
    Stack: [0x000000004729c000,0x000000004739d000],  sp=0x0000000047398640,  free space=3f10000000000000018k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C  [libpthread.so.0+0x7628]  pthread_join+0x28
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j  sun.awt.color.CMM.cmmColorConvert(JLsun/awt/color/CMMImageLayout;Lsun/awt/color/CMMImageLayout;)I+0
    j  sun.awt.color.ICC_Transform.colorConvert(Ljava/awt/image/BufferedImage;Ljava/awt/image/BufferedImage;)V+34
    j  java.awt.image.ColorConvertOp.ICCBIFilter(Ljava/awt/image/BufferedImage;Ljava/awt/color/ColorSpace;Ljava/awt/image/BufferedImage;Ljava/awt/color/ColorSpace;)Ljava/awt/image/BufferedImage;+228
    j  java.awt.image.ColorConvertOp.filter(Ljava/awt/image/BufferedImage;Ljava/awt/image/BufferedImage;)Ljava/awt/image/BufferedImage;+126
    j  org.richfaces.renderkit.html.iconimages.DisabledCalendarIcon.paintImage([Ljava/lang/Object;)Ljava/awt/image/BufferedImage;+22
    j  org.richfaces.renderkit.html.iconimages.CalendarIcon.paint(Lorg/ajax4jsf/resource/ResourceContext;Ljava/awt/Graphics2D;)V+25
    j  org.ajax4jsf.resource.Java2Dresource.getImage(Lorg/ajax4jsf/resource/ResourceContext;)Ljava/awt/image/RenderedImage;+61
    j  org.ajax4jsf.resource.Java2Dresource.send(Lorg/ajax4jsf/resource/ResourceContext;)V+11
    j  org.ajax4jsf.resource.ResourceLifecycle.sendResource(Lorg/ajax4jsf/resource/ResourceContext;Lorg/ajax4jsf/resource/InternetResource;)V+9
    j  org.ajax4jsf.resource.ResourceLifecycle.send(Lorg/ajax4jsf/resource/ResourceContext;Lorg/ajax4jsf/resource/InternetResource;)V+234
    j  org.ajax4jsf.resource.InternetResourceService.load(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+21
    j  org.ajax4jsf.cache.LRUMapCache.load(Ljava/lang/Object;Ljava/lang/Object;)V+8
    j  org.ajax4jsf.cache.LRUMapCache.get(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+111
    j  org.ajax4jsf.resource.InternetResourceService.serviceResource(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+184
    j  org.ajax4jsf.resource.InternetResourceService.serviceResource(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Z+18
    j  org.ajax4jsf.webapp.BaseFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V+281
    j  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+119
    j  org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101 System details:
    ---------------  S Y S T E M  ---------------
    OS:5.0.4
    uname:Linux 2.6.26-2-xen-amd64 #1 SMP Thu Feb 11 02:57:18 UTC 2010 x86_64
    libc:glibc 2.7 NPTL 2.7
    rlimit: STACK 65536k, CORE 0k, NPROC infinity, NOFILE 1048576, AS infinity
    load average:0.43 0.30 0.17
    CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 15 stepping 11, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
    Memory: 4k page, physical 1835224k(14428k free), swap 524280k(498412k free)
    vm_info: Java HotSpot(TM) 64-Bit Server VM (16.0-b13) for linux-amd64 JRE (1.6.0_18-b07), built on Dec 17 2009 13:42:22 by "java_re" with gcc 3.2.2 (SuSE Linux)Strangely enough, another machine with the exact same JVM and RichFaces versions does not crash on this single request.

  • How to throw a program with two threads?

    Hello to everybody!
    I'm using jdk 1.1.8 and I need to throw a program, and while this is running., i would show an image,
    I have tried with 2 threads, but the image only is shown when the program is thrown, but not while,
    Thanks in advance,
    Silvia

    Have you done something like:
    a) create a Window with your Panel and image on it, display the Window
    b) fork off a thread that launches your app
    c) when the thread is finished launching the app, kill the splash window
    Window splash= new YourSplashWindow(...);
    splash.show(); // display your splash screen
    YourLauncherRunnable launch = new YourLauncherRunnable(splash);
    new Thread(launch).start(); // start a new thread to launch your app
    // loop until the launcher thread tells the window to die
    while(!splash.shouldStop())
      Thread.sleep(100);
    // kill the window
    splash.dispose();
    class YourSplashWindow extends Window
      public boolean shouldStop() {return Stop;}
      boolean Stop = false;
      public YourSplashWindow()
        // set up the window here...
        setBounds(...); // sets pos and size
      public void killWindow()
        Stop = true;
    class YourLauncherRunnable implements Runnable
      YourSplashWindow Win = null;
      public YourLauncherRunnable(YourSplashWindow w)
        Win = w;
      public void run()
        // do your launching here....
        // done launching the program, kill the splash window
        Win.killWindow();
    }

  • Description: A problem caused this program to stop interacting with Windows. Problem signature: Problem Event Name: AppHangB1 Application Name: firefox.exe Application Version: 1.9.2.3855 Application Timestamp: 4c48d5ce Hang Signature: 9962

    I am having this problem, in the first window when I try to do anything.
    Description:
    A problem caused this program to stop interacting with Windows.
    Problem signature:
    Problem Event Name: AppHangB1
    Application Name: firefox.exe
    Application Version: 1.9.2.3855
    Application Timestamp: 4c48d5ce
    Hang Signature: 9962
    Hang Type: 0
    OS Version: 6.0.6002.2.2.0.768.3
    Locale ID: 1033
    Additional Hang Signature 1: 5df72ce88195c0212c542e9c8c172716
    Additional Hang Signature 2: 2b94
    Additional Hang Signature 3: 9acafbb8ad01bf9d2eb258d8fddad3ca
    Additional Hang Signature 4: 9962
    Additional Hang Signature 5: 5df72ce88195c0212c542e9c8c172716
    Additional Hang Signature 6: 2b94
    Additional Hang Signature 7: 9acafbb8ad01bf9d2eb258d8fddad3ca
    == This happened ==
    Every time Firefox opened
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4

    I suspect a RAM or hardware problem.

  • [1.1.2.25.79] Program hangs after starting long runnin SQL with parameters

    Hello Forum,
    I'm currently tuning some SQLs with parameters that run some minutes. When I enter the SQL in the worksheet and press F9, SQL Developer asks for the parameters. But after clicking "Apply" (or whatever it is called in the english version, I'm using german ;-)
    I get the elapsed time of 0.018 seconds displayed and the whole program hangs until the SQL is completed. The elapsed time is not updated so I don't get the real elapsed time.
    I run SQL Developer against an Oracle 9.2 Database on Win2k. The client runs WinXP.
    I hope this is not a double post but searching the forum for "parameters" gave too many hits to check. ;-)
    Regards,
    dhalek

    Sqldev hangs when issuing an action that requires the previous action to be completed first.
    Sqldev could open a new connection for this, or at least display a message telling the action isn't possible until the previous one completes, instead of just hanging. Vote for the requests for this on the SQL Developer Exchange if you want this getting addressed sooner.
    Thanks,
    K.

  • Need help with java thread program

    Hi
    I have an applet which does some painting etc, i need to write a thread which runs in background, and if there is no user activity for 30 min will refresh the screen.
    I have one good thing that all user options go from one program so i know when user does some thing.
    How do i write this thread program?
    1. I need this program to start counter as soon as some activity is done by user
    2. When user does some thing stop this thread
    3. when user completes his action restart the thread with 30 min timer.
    4. when there is no activity for 30 min refresh the screen
    Any help will be really good
    Ashish

    Not sure what the problem is. Your pseudo code looks good to me.
    The only suggestion I would make is that your use a Timer so you don't have to worry about creating your own Thread. You schedule a Timer to fire in 30 minutes. Everytime you have activiity you cancel the timer and reschedule it.

Maybe you are looking for

  • How can i set up different ring tones for email accounts?

    Hello all, I have about 6 different email accounts on my iPhone.  From exchange server (work email) to my personal yahoo and google accounts plus my personal business account.  Is there a possibility to set up different ringtones for each of the emai

  • Pxi4461 latency from starttrigger signal to actual output

    i use a pxi4461 to output an analog signal. i've connected this analog output from the pxi4461 to one of the input channels on a pxi4472 card. on the same chassis, i'm having a pxi7831R card timestamp the 'Dev0/AO/StartTrigger' signal on the pxi4461

  • Textbox size changing on different resolutions

    Hello. First of all, i am using Captivate 4. I am recording some learning materials and i am recording them at a resolution of 1280x800. After i stop recording them, i am starting to edit them and then i am publishing them as swf files. The next step

  • Middle Ware - DMR

    Hi, When i change the status of my service order in CRM to completed then system automatically creating Debit Memo Request(DMR) in ECC, i would like to know which RFC function module getting called for to create DMR in ECC and help me to trace the sa

  • I'll be getting a Mac on monday for video... advice?

    Hi, guys. First post. I will be getting a Mac on monday (if I don't panic). I asked for a quote on a 2.66mhz iMac with 4GB RAM, and I'd be paying USD $1.970 (i'm outside the US) so I wanted to get validation from you guys. I own a Vaio laptop and a c