You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Ole Solberg (JIRA)" <ji...@apache.org> on 2008/11/11 15:37:44 UTC

[jira] Created: (DERBY-3943) testReplication_Local_3_p2_StateTests_smallInsert_immediateStopMaster_DISABLED() causes hang in teardown()

testReplication_Local_3_p2_StateTests_smallInsert_immediateStopMaster_DISABLED() causes hang in teardown()
----------------------------------------------------------------------------------------------------------

                 Key: DERBY-3943
                 URL: https://issues.apache.org/jira/browse/DERBY-3943
             Project: Derby
          Issue Type: Bug
          Components: Regression Test Failure, Replication, Test
    Affects Versions: 10.5.0.0
         Environment: Windows
            Reporter: Ole Solberg
            Assignee: Ole Solberg


'NetworkServerControl shutdown' was attempted without having started servers and having a classpath:  '-cp null' causes hang on Windows. On Unix the call appears to just fall through.

The fix is given in http://www.nabble.com/fixture-ReplicationRun_Local_3_p2.....StopMaster_DISABLED%28%29-td20391564.html :
Comment out the whole fixture.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-3943) testReplication_Local_3_p2_StateTests_smallInsert_immediateStopMaster_DISABLED() causes hang in teardown()

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren updated DERBY-3943:
--------------------------------------

    Attachment: repro3943.java

repro for the hang not using any derby classes.

> testReplication_Local_3_p2_StateTests_smallInsert_immediateStopMaster_DISABLED() causes hang in teardown()
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3943
>                 URL: https://issues.apache.org/jira/browse/DERBY-3943
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Replication, Test
>    Affects Versions: 10.5.0.0
>         Environment: Windows
>            Reporter: Ole Solberg
>            Assignee: Ole Solberg
>         Attachments: DERBY-3943_diff.txt, repro3943.java
>
>
> 'NetworkServerControl shutdown' was attempted without having started servers and having a classpath:  '-cp null' causes hang on Windows. On Unix the call appears to just fall through.
> The fix is given in http://www.nabble.com/fixture-ReplicationRun_Local_3_p2.....StopMaster_DISABLED%28%29-td20391564.html :
> Comment out the whole fixture.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-3943) testReplication_Local_3_p2_StateTests_smallInsert_immediateStopMaster_DISABLED() causes hang in teardown()

Posted by "Ole Solberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ole Solberg updated DERBY-3943:
-------------------------------

    Attachment: DERBY-3943_diff.txt

Comment out public void testReplication_Local_3_p2_StateTests_smallInsert_immediateStopMaster_DISABLED()

> testReplication_Local_3_p2_StateTests_smallInsert_immediateStopMaster_DISABLED() causes hang in teardown()
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3943
>                 URL: https://issues.apache.org/jira/browse/DERBY-3943
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Replication, Test
>    Affects Versions: 10.5.0.0
>         Environment: Windows
>            Reporter: Ole Solberg
>            Assignee: Ole Solberg
>         Attachments: DERBY-3943_diff.txt
>
>
> 'NetworkServerControl shutdown' was attempted without having started servers and having a classpath:  '-cp null' causes hang on Windows. On Unix the call appears to just fall through.
> The fix is given in http://www.nabble.com/fixture-ReplicationRun_Local_3_p2.....StopMaster_DISABLED%28%29-td20391564.html :
> Comment out the whole fixture.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DERBY-3943) testReplication_Local_3_p2_StateTests_smallInsert_immediateStopMaster_DISABLED() causes hang in teardown()

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-3943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12646600#action_12646600 ] 

Myrna van Lunteren commented on DERBY-3943:
-------------------------------------------

+1 to commit the patch to the test

> testReplication_Local_3_p2_StateTests_smallInsert_immediateStopMaster_DISABLED() causes hang in teardown()
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3943
>                 URL: https://issues.apache.org/jira/browse/DERBY-3943
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Replication, Test
>    Affects Versions: 10.5.0.0
>         Environment: Windows
>            Reporter: Ole Solberg
>            Assignee: Ole Solberg
>         Attachments: DERBY-3943_diff.txt, repro3943.java
>
>
> 'NetworkServerControl shutdown' was attempted without having started servers and having a classpath:  '-cp null' causes hang on Windows. On Unix the call appears to just fall through.
> The fix is given in http://www.nabble.com/fixture-ReplicationRun_Local_3_p2.....StopMaster_DISABLED%28%29-td20391564.html :
> Comment out the whole fixture.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-3943) testReplication_Local_3_p2_StateTests_smallInsert_immediateStopMaster_DISABLED() causes hang in teardown()

Posted by "Ole Solberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ole Solberg updated DERBY-3943:
-------------------------------

    Derby Info: [Patch Available]

> testReplication_Local_3_p2_StateTests_smallInsert_immediateStopMaster_DISABLED() causes hang in teardown()
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3943
>                 URL: https://issues.apache.org/jira/browse/DERBY-3943
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Replication, Test
>    Affects Versions: 10.5.0.0
>         Environment: Windows
>            Reporter: Ole Solberg
>            Assignee: Ole Solberg
>         Attachments: DERBY-3943_diff.txt
>
>
> 'NetworkServerControl shutdown' was attempted without having started servers and having a classpath:  '-cp null' causes hang on Windows. On Unix the call appears to just fall through.
> The fix is given in http://www.nabble.com/fixture-ReplicationRun_Local_3_p2.....StopMaster_DISABLED%28%29-td20391564.html :
> Comment out the whole fixture.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DERBY-3943) testReplication_Local_3_p2_StateTests_smallInsert_immediateStopMaster_DISABLED() causes hang in teardown()

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-3943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12646595#action_12646595 ] 

Myrna van Lunteren commented on DERBY-3943:
-------------------------------------------

I did some experimenting, and it seems to me that this hang only occurs with certain jvms on certain windows implementations.

And it's not just with NetworkServerControl shutdown, it's with any process where the class is not found.
I'll attach my simple repro...
For instance, I ran my repro on windows XP with jdk15, and ibm16 without any problem. I ran the repro - which just executes some non-existent class with the -cp null, then attempts a BufferedReader.readLine() - on windows 2000 with ibm15 and it finished, but with ibm16 (sr2) it hung.

So...What combination jvm/version/OS did you use to see the hang?

> testReplication_Local_3_p2_StateTests_smallInsert_immediateStopMaster_DISABLED() causes hang in teardown()
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3943
>                 URL: https://issues.apache.org/jira/browse/DERBY-3943
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Replication, Test
>    Affects Versions: 10.5.0.0
>         Environment: Windows
>            Reporter: Ole Solberg
>            Assignee: Ole Solberg
>         Attachments: DERBY-3943_diff.txt
>
>
> 'NetworkServerControl shutdown' was attempted without having started servers and having a classpath:  '-cp null' causes hang on Windows. On Unix the call appears to just fall through.
> The fix is given in http://www.nabble.com/fixture-ReplicationRun_Local_3_p2.....StopMaster_DISABLED%28%29-td20391564.html :
> Comment out the whole fixture.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DERBY-3943) testReplication_Local_3_p2_StateTests_smallInsert_immediateStopMaster_DISABLED() causes hang in teardown()

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren resolved DERBY-3943.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.5.0.0
       Derby Info:   (was: [Patch Available])

I'm marking as resolved, but the underlying jvm/os issue still exists.

> testReplication_Local_3_p2_StateTests_smallInsert_immediateStopMaster_DISABLED() causes hang in teardown()
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3943
>                 URL: https://issues.apache.org/jira/browse/DERBY-3943
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Replication, Test
>    Affects Versions: 10.5.0.0
>         Environment: Windows
>            Reporter: Ole Solberg
>            Assignee: Ole Solberg
>             Fix For: 10.5.0.0
>
>         Attachments: DERBY-3943_diff.txt, repro3943.java
>
>
> 'NetworkServerControl shutdown' was attempted without having started servers and having a classpath:  '-cp null' causes hang on Windows. On Unix the call appears to just fall through.
> The fix is given in http://www.nabble.com/fixture-ReplicationRun_Local_3_p2.....StopMaster_DISABLED%28%29-td20391564.html :
> Comment out the whole fixture.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DERBY-3943) testReplication_Local_3_p2_StateTests_smallInsert_immediateStopMaster_DISABLED() causes hang in teardown()

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-3943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12646977#action_12646977 ] 

Myrna van Lunteren commented on DERBY-3943:
-------------------------------------------

I committed the patch with revision 713436.

I've seen the hang (with the repro and the test) on:
OS: Microsoft Windows 2000, 5.00.2195, Service Pack 4
JVM: java version "1.6.0"
    Java(TM) SE Runtime Environment (build pwi3260sr2-20080818_01(SR2))
    IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Windows 2000 x86-32 jvmwi3260-200808
   16_22093 (JIT enabled, AOT enabled)
   J9VM - 20080816_022093_lHdSMr
   JIT  - r9_20080721_1330ifx2
   GC   - 20080724_AA)
   JCL  - 20080808_02

But not with ibm 1.5, nor Sun's jdk 1.5.

It's also ok with that same IBM 1.6 release on my XP but it seems I'm a Service Pack behind there:
OS: Microsoft Windows XP Professional - 5.1.2600 Service Pack 2
 

> testReplication_Local_3_p2_StateTests_smallInsert_immediateStopMaster_DISABLED() causes hang in teardown()
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3943
>                 URL: https://issues.apache.org/jira/browse/DERBY-3943
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Replication, Test
>    Affects Versions: 10.5.0.0
>         Environment: Windows
>            Reporter: Ole Solberg
>            Assignee: Ole Solberg
>         Attachments: DERBY-3943_diff.txt, repro3943.java
>
>
> 'NetworkServerControl shutdown' was attempted without having started servers and having a classpath:  '-cp null' causes hang on Windows. On Unix the call appears to just fall through.
> The fix is given in http://www.nabble.com/fixture-ReplicationRun_Local_3_p2.....StopMaster_DISABLED%28%29-td20391564.html :
> Comment out the whole fixture.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DERBY-3943) testReplication_Local_3_p2_StateTests_smallInsert_immediateStopMaster_DISABLED() causes hang in teardown()

Posted by "Ole Solberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-3943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12646676#action_12646676 ] 

Ole Solberg commented on DERBY-3943:
------------------------------------

I have seen the hang on the following:

OS: Microsoft Windows XP Professional - 5.1.2600 Service Pack 3 Build 2600
    CYGWIN_NT-5.1 1.5.25(0.156/4/2) 2008-06-12 19:34 Cygwin
JVM: Sun Microsystems Inc.
     java version "1.6.0_10"
     Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
     Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)

OS: Microsoft© Windows VistaT Ultimate - 6.0.6001 Service Pack 1
    WindowsNT 0 6
JVM: Sun Microsystems Inc.
     java version "1.6.0_06"
     Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
     Java HotSpot(TM) Client VM (build 10.0-b22 mixed mode 32-bit)

OS: Microsoft(R) Windows(R) Server 2003, - 5.2.3790 Service Pack 2
    WindowsNT 2 5
JVM: Sun Microsystems Inc.
     java version "1.6.0_06"
     Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
     Java HotSpot(TM) Client VM (build 10.0-b22 mixed mode 32-bit)


The hang does not happen on the above OSes when running 1.5 or 1.4 (Sun) JVMs  in our testing.

The hang does not happen on any Solaris or Linux with 1.6, 1.5 or 1.4 (Sun) JVMs in our testing.



> testReplication_Local_3_p2_StateTests_smallInsert_immediateStopMaster_DISABLED() causes hang in teardown()
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3943
>                 URL: https://issues.apache.org/jira/browse/DERBY-3943
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Replication, Test
>    Affects Versions: 10.5.0.0
>         Environment: Windows
>            Reporter: Ole Solberg
>            Assignee: Ole Solberg
>         Attachments: DERBY-3943_diff.txt, repro3943.java
>
>
> 'NetworkServerControl shutdown' was attempted without having started servers and having a classpath:  '-cp null' causes hang on Windows. On Unix the call appears to just fall through.
> The fix is given in http://www.nabble.com/fixture-ReplicationRun_Local_3_p2.....StopMaster_DISABLED%28%29-td20391564.html :
> Comment out the whole fixture.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DERBY-3943) testReplication_Local_3_p2_StateTests_smallInsert_immediateStopMaster_DISABLED() causes hang in teardown()

Posted by "Ole Solberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ole Solberg closed DERBY-3943.
------------------------------


> testReplication_Local_3_p2_StateTests_smallInsert_immediateStopMaster_DISABLED() causes hang in teardown()
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3943
>                 URL: https://issues.apache.org/jira/browse/DERBY-3943
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Replication, Test
>    Affects Versions: 10.5.0.0
>         Environment: Windows
>            Reporter: Ole Solberg
>            Assignee: Ole Solberg
>             Fix For: 10.5.0.0
>
>         Attachments: DERBY-3943_diff.txt, repro3943.java
>
>
> 'NetworkServerControl shutdown' was attempted without having started servers and having a classpath:  '-cp null' causes hang on Windows. On Unix the call appears to just fall through.
> The fix is given in http://www.nabble.com/fixture-ReplicationRun_Local_3_p2.....StopMaster_DISABLED%28%29-td20391564.html :
> Comment out the whole fixture.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.