Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'mc++' into mc-merge
authorGabriel Corona <gabriel.corona@loria.fr>
Fri, 28 Feb 2014 08:33:45 +0000 (09:33 +0100)
committerGabriel Corona <gabriel.corona@loria.fr>
Fri, 28 Feb 2014 08:33:45 +0000 (09:33 +0100)
13 files changed:
1  2 
examples/msg/mc/bugged1_liveness.tesh
examples/msg/mc/bugged1_liveness_visited.tesh
src/include/mc/datatypes.h
src/include/mc/mc.h
src/mc/mc_checkpoint.c
src/mc/mc_compare.c
src/mc/mc_dpor.c
src/mc/mc_global.c
src/mc/mc_private.h
src/mc/mc_request.c
src/simgrid/sg_config.c
src/smpi/smpi_base.c
src/xbt/mmalloc/mm_diff.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -764,11 -760,12 +764,11 @@@ void smpi_mpi_wait(MPI_Request * reques
  
    if ((*request)->action != NULL) { // this is not a detached send
      simcall_comm_wait((*request)->action, -1.0);
 -  }
 -
  #ifdef HAVE_MC
-   if(MC_is_active())
+   if(MC_is_active() && (*request)->action)
      (*request)->action->comm.dst_data = NULL; // dangling pointer : dst_data is freed with a wait, need to set it to NULL for system state comparison
  #endif
 +  }
  
    finish_wait(request, status);
    *request = MPI_REQUEST_NULL;
Simple merge