Merge pull request #5159 from hjelmn/osc_rdma_fx
osc/rdma: fix SEGV will null origin in FOP in debug build
Этот коммит содержится в:
Коммит
6093f2dcb4
@ -575,8 +575,7 @@ static int ompi_osc_rdma_fetch_and_op_cas (ompi_osc_rdma_sync_t *sync, const voi
|
||||
address = target_address & ~7;
|
||||
offset = target_address & ~address;
|
||||
|
||||
OSC_RDMA_VERBOSE(MCA_BASE_VERBOSE_TRACE, "initiating fetch-and-op using compare-and-swap. origin: 0x%" PRIx64,
|
||||
*((int64_t *) origin_addr));
|
||||
OSC_RDMA_VERBOSE(MCA_BASE_VERBOSE_TRACE, "initiating fetch-and-op using compare-and-swap");
|
||||
|
||||
ret = ompi_osc_get_data_blocking (module, peer->data_endpoint, address, target_handle, &old_value, 8);
|
||||
if (OPAL_UNLIKELY(OMPI_SUCCESS != ret)) {
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user