db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-3943) testReplication_Local_3_p2_StateTests_smallInsert_immediateStopMaster_DISABLED() causes hang in teardown()
Date Tue, 11 Nov 2008 17:06:44 GMT

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

View raw message