Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Improve the integration of mmalloc and mc_memory into the mess.
[simgrid.git] / src / mc / memory_map.c
index fb91333..0868ccc 100644 (file)
@@ -19,8 +19,7 @@ memory_map_t get_memory_map(void)
 /* to be returned. */
   fp = fopen("/proc/self/maps","r");  
 
-  if(!fp)
-    xbt_abort();
+  xbt_assert0(fp,"Cannot open /proc/self/maps to investigate the memory map of the process. Please report this bug.");
     
   ret = xbt_new0(s_memory_map_t,1);