ucx icon indicating copy to clipboard operation
ucx copied to clipboard

UCX blocked after .sendStreamNonBlocking(sendBuffer, new SendCallback(sendBuffer, this));

Open pereverges opened this issue 1 year ago • 3 comments

Describe the bug

After running for the second or third time the same program it gets blocked at the .sendStreamNonBlocking(sendBuffer, new SendCallback(sendBuffer, this)); call, it is trying to access a port that is not listening. The application then gets stuck in the send call on a progress while.

Steps to Reproduce

Using multiple threads, performing the .sendStreamNonBlocking(sendBuffer, new SendCallback(sendBuffer, this)); call Using 1.17 UCX version UCX_TLS=tcp UCX_NET_DEVICES=lo UCX_LOG_LEVEL=DIAG

Setup and versions

I am using linux ubuntu 20.4 with JUXC

Additional information (depending on the issue)

[1718657516.879778] [verges:58764:a] wireup_cm.c:128 UCX DIAG client ep 0x7fd095044000 failed to connect to 127.0.0.1:43008 using tcp cms [1718657516.879912] [verges:58764:a] uct_cm.c:97 UCX DIAG resolve callback failed with error: Endpoint is not connected [1718657516.880768] [verges:58764:0] ucp_ep.c:1768 UCX WARN disconnect failed: Endpoint is not connected UCX: ERROR org.openucx.jucx.UcxException: Endpoint is not connected

pereverges avatar Jun 17 '24 21:06 pereverges

Hi @pereverges please add more information, according to our bug report template.

gleon99 avatar Jun 18 '24 09:06 gleon99

I have added more information.

pereverges avatar Jun 18 '24 17:06 pereverges

hi @pereverges , thanks for reporting! can you share a test application which reproduces the issue?

evgeny-leksikov avatar Jul 17 '24 08:07 evgeny-leksikov