Replies: 3 comments 4 replies
-
|
Thanks for opening an issue @jreniecki ! |
Beta Was this translation helpful? Give feedback.
-
|
Thank you @aingerson for your quick reply. Yes, I wasn't sure if it's correct behaviour that the msg_ep is being closed when there are pending messages... so I assumed that RXM is allowed to do that for some reason... (I don't know, limited resources?) |
Beta Was this translation helpful? Give feedback.
-
|
Hi @aingerson fi_eq_read() returns ret=16 and event=3 (FI_SHUTDOWN) which is translated in rxm_handle_event() to call to rxm_process_shutdown() which calls rxm_close_conn(). So it seems that the source of "FI_SHUTDOWN" is the verbs provider that implements the msg endpoint functionality, but I don't know yet what went wrong down there. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am quite new to libfabric and not yet very familiar with its architecture, so please forgive me if I use some terms incorrectly.
There used to be code in libfaric that apparently took care of "buffers binded to closed msg ep" (see the patch here)
I am not sure if the current libfabric code has any equivalent of that patch, but I am observing some very similar issue. I am attaching a relevant log snippet. Here's what I am observing:
msg_ep_issue.txt
Here's a sequence of events that I noticed in that log:
rx_buf=0x7f979136ac20is first posted withrx_buf->rx_ep=0x517000151200and when that msg_ep was opened, the rx_buf was reposted withrx_buf->rx_ep=0x517000151200andrx_buf->conn->msg_ep=0x517000151200msg_ep=0x517000151200was closedmsg_ep=0x51700019a300was openedrx_buf=0x7f979136ac20was reposted but nowrx_buf->conn->msg_ep=0x51700019a300(which is the new msg_ep) butrx_buf->rx_ep=0x517000151200(which is the old/closed msg_ep).rx_buf->rx_ep->msg=NULL, I observe segmentation fault (null pointer).So, as quick check I did this modification in rxm_replace_rx_buf():
And it does work for my case, it seems to fix my issue, but I am not sure if it's entirely valid - especially if there's something else needed to be done for SRX.
Thank you in advance for any comments/suggestions.
Beta Was this translation helpful? Give feedback.
All reactions