Bug #7345
The memptr deallocation attempt after the connection to client is interrupted/suspended
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
05/11/2023
Due date:
% Done:
0%
billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
reviewer:
production:
No
env_name:
topics:
Related issues
History
#1 Updated by Igor Skornyakov about 3 years ago
- File mptr.p
added
Recently I started to see the following exception at the end of the test session close:
[05/06/2023 20:43:02 GMT+03:00] (com.goldencode.p2j.net.HighLevelObject:SEVERE) Failed to obtain routing key
java.lang.IllegalStateException: The queue is not running!
at com.goldencode.p2j.net.Queue.checkState(Queue.java:1354)
at com.goldencode.p2j.net.Queue.transact(Queue.java:671)
at com.goldencode.p2j.net.BaseSession.transact(BaseSession.java:271)
at com.goldencode.p2j.net.HighLevelObject.transact(HighLevelObject.java:220)
at com.goldencode.p2j.net.HighLevelObject.getKey(HighLevelObject.java:172)
at com.goldencode.p2j.net.RemoteObject$RemoteAccess.obtainRoutingKey(RemoteObject.java:1551)
at com.goldencode.p2j.net.RemoteObject$RemoteAccess.invokeCore(RemoteObject.java:1463)
at com.goldencode.p2j.net.InvocationStub.invoke(InvocationStub.java:144)
at com.sun.proxy.$Proxy20.cleanup(Unknown Source)
at com.goldencode.p2j.util.memptr$1.cleanup(memptr.java:211)
at com.goldencode.p2j.util.memptr$1.cleanup(memptr.java:189)
at com.goldencode.p2j.security.ContextLocal$Wrapper.cleanup(ContextLocal.java:822)
at com.goldencode.p2j.security.SecurityContext.reset(SecurityContext.java:692)
at com.goldencode.p2j.security.SecurityContext.cleanupWorker(SecurityContext.java:671)
at com.goldencode.p2j.security.SecurityContext.cleanupWorker(SecurityContext.java:596)
at com.goldencode.p2j.security.SecurityContext.cleanup(SecurityContext.java:574)
at com.goldencode.p2j.security.SecurityManager.terminateSessionWorker(SecurityManager.java:4676)
at com.goldencode.p2j.security.SecurityManager.terminateSession(SecurityManager.java:4579)
at com.goldencode.p2j.net.BaseSession.cleanupContext(BaseSession.java:415)
at com.goldencode.p2j.net.BaseSession.end(BaseSession.java:463)
at com.goldencode.p2j.net.SessionManager.endSession(SessionManager.java:1380)
at com.goldencode.p2j.net.SessionManager.queueStopped(SessionManager.java:1821)
at com.goldencode.p2j.net.Queue.stop(Queue.java:503)
at com.goldencode.p2j.net.Protocol.stopQueue(Protocol.java:424)
at com.goldencode.p2j.net.Protocol.access$700(Protocol.java:166)
at com.goldencode.p2j.net.Protocol$Reader.run(Protocol.java:536)
at java.lang.Thread.run(Thread.java:750)
See the attached standalone test.
#2 Updated by Igor Skornyakov about 3 years ago
- Related to Bug #7193: READ-JSON is not supported for the "LONGCHAR" source type added