[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Re: RFR: 8318573: The nsk.share.jpda.SocketConnection should fail if socket was closed. [v2]
From:       Chris Plummer <cjplummer () openjdk ! org>
Date:       2023-10-20 16:30:46
Message-ID: EPLlm57DBtkNWB8pW2UWIaofNnn887vkTCZrZ_VLA0M=.fafce8ec-2a1e-422d-8ade-5139c272d6e0 () github ! com
[Download RAW message or body]

On Fri, 20 Oct 2023 16:25:56 GMT, Leonid Mesnik <lmesnik@openjdk.org> wrote:

> > That's the exception message. I was referring to the exception stack trace. Where \
> > does it appear in the output?
> 
> ough. I just haven't copied all output. The stacktrace is like:
> --> debugger: ......forcing the main thread to leave synchronized block
> --> debugger:       Waiting for thread2 is not alive
> debugee.stderr> **> mainThread: mainThread is out of: synchronized (lockingObject)
> debugee.stderr> **> thread2: entered into block:  synchronized (lockingObject)
> debugee.stderr> **> thread2: exited from block:  synchronized (lockingObject)
> debugee.stderr> **> thread2: call to the method 'runt1'
> debugee.stderr> **> thread2: method 'runt1': enter
> debugee.stderr> **> thread2: method 'runt1': body: i0 == 1
> debugee.stderr> **> thread2: method 'runt1': exit
> --> debugger: ......sending to the debuggee: 'check_alive'
> --> debugger:        expected reply: 'not_alive'
> java.io.EOFException
> at java.base/java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:3217)
>  at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1698)
> at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:525)
> at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:483)
> at nsk.share.jpda.SocketConnection.doReadObject(SocketConnection.java:583)
> at nsk.share.jpda.SocketConnection.readObject(SocketConnection.java:518)
> at nsk.share.jpda.SocketIOPipe.readln(SocketIOPipe.java:193)
> at nsk.jdi.VirtualMachine.dispose.dispose002.lambda$runThis$0(dispose002.java:283)
> at jdk.test.lib.Utils.waitForCondition(Utils.java:606)
> at nsk.jdi.VirtualMachine.dispose.dispose002.runThis(dispose002.java:278)
> at nsk.jdi.VirtualMachine.dispose.dispose002.run(dispose002.java:81)
> at nsk.jdi.VirtualMachine.dispose.dispose002.main(dispose002.java:76)
> at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
>  at java.base/java.lang.reflect.Method.invoke(Method.java:580)
> at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
> at java.base/java.lang.Thread.run(Thread.java:1570)
> # ERROR: binder> Debugee VM has not exited correctly: trying to kill it
> The following stacktrace is for failure analysis.
> nsk.share.TestFailure: binder> Debugee VM has not exited correctly: trying to kill \
> it at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:431)
> at nsk.share.Log.complain(Log.java:402)
> at nsk.share.jpda.DebugeeProcess.complain(DebugeeProcess.java:458)
> ...

ok

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/16280#discussion_r1367221483


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic