You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the man page for ibv_get_device_list.3, Client code should open all the devices it intends to use with ibv_open_device() before calling ibv_free_device_list(). This is not the case in BaseRDMA.cc, where the list is freed in line 95 before the device is opened in line 112. This doesn't crash immediately, because the ibv_device_t struct is copied in line 89 but it does decrement the internal reference count which unloads the device if it reaches zero and may cause some operations on the copy to crash if they are called.
The text was updated successfully, but these errors were encountered:
According to the man page for ibv_get_device_list.3, Client code should open all the devices it intends to use with
ibv_open_device()
before callingibv_free_device_list()
. This is not the case inBaseRDMA.cc
, where the list is freed in line 95 before the device is opened in line 112. This doesn't crash immediately, because theibv_device_t
struct is copied in line 89 but it does decrement the internal reference count which unloads the device if it reaches zero and may cause some operations on the copy to crash if they are called.The text was updated successfully, but these errors were encountered: