Skip to content

Commit 6093f2d

Browse files
authored
Merge pull request #5159 from hjelmn/osc_rdma_fx
osc/rdma: fix SEGV will null origin in FOP in debug build
2 parents b39bbfb + cf585d7 commit 6093f2d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ompi/mca/osc/rdma/osc_rdma_accumulate.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,8 +575,7 @@ static int ompi_osc_rdma_fetch_and_op_cas (ompi_osc_rdma_sync_t *sync, const voi
575575
address = target_address & ~7;
576576
offset = target_address & ~address;
577577

578-
OSC_RDMA_VERBOSE(MCA_BASE_VERBOSE_TRACE, "initiating fetch-and-op using compare-and-swap. origin: 0x%" PRIx64,
579-
*((int64_t *) origin_addr));
578+
OSC_RDMA_VERBOSE(MCA_BASE_VERBOSE_TRACE, "initiating fetch-and-op using compare-and-swap");
580579

581580
ret = ompi_osc_get_data_blocking (module, peer->data_endpoint, address, target_handle, &old_value, 8);
582581
if (OPAL_UNLIKELY(OMPI_SUCCESS != ret)) {

0 commit comments

Comments
 (0)