db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6012) Print thread dump and dump javacore if NetworkServerTestSetup has to kill off the Network Server start up process due to timeout
Date Wed, 19 Dec 2012 20:05:14 GMT

    [ https://issues.apache.org/jira/browse/DERBY-6012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13536371#comment-13536371
] 

Knut Anders Hatlen commented on DERBY-6012:
-------------------------------------------

@@ -218,6 +220,9 @@ final public class NetworkServerTestSetu
                         spawnedServer = null;
                     }
                     fail(msg);
+                    //DERBY-6012 print thread dump and java core
+                    fail(ExceptionUtil.dumpThreads());
+                    JVMInfo.javaDump();
                 }
             }
         }

Won't the first call to fail() prevent dumpThreads() and javaDump() from getting called?
                
> Print thread dump and dump javacore if NetworkServerTestSetup has to kill off the Network
Server start up  process due to timeout
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-6012
>                 URL: https://issues.apache.org/jira/browse/DERBY-6012
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions: 10.8.3.0
>         Environment: 
>            Reporter: Kathey Marsden
>            Assignee: Mamta A. Satoor
>             Fix For: 10.10.0.0
>
>         Attachments: DERBY6012_patch1_diff.txt
>
>
> If Network Server startup hangs or times out as in DERBY-5991, we should generate a javacore
or a thread dump so the cause of the problem can be more easily diagnosed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message