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 "Myrna van Lunteren (JIRA)" <ji...@apache.org> on 2008/11/11 18:06:44 UTC

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

    [ 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.