From: Christian Heinrich Date: Thu, 16 Jun 2016 14:55:51 +0000 (+0200) Subject: [SMPI] Replace some xbt_abort with xbt_die + error msg X-Git-Tag: v3_14~976^2~5 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/9aa02f2ba609e325e750fc1d2d8d2349d0712370?ds=sidebyside [SMPI] Replace some xbt_abort with xbt_die + error msg --- diff --git a/src/xbt/memory_map.cpp b/src/xbt/memory_map.cpp index cd1ca7b996..ea282449df 100644 --- a/src/xbt/memory_map.cpp +++ b/src/xbt/memory_map.cpp @@ -65,13 +65,13 @@ XBT_PRIVATE std::vector get_memory_map(pid_t pid) /* Check to see if we got the expected amount of columns */ if (i < 6) - xbt_abort(); + xbt_die("The memory map apparently only supplied less than 6 columns. Recovery impossible."); /* Ok we are good enough to try to get the info we need */ /* First get the start and the end address of the map */ char *tok = std::strtok(lfields[0], "-"); if (tok == nullptr) - xbt_abort(); + xbt_die("Start and end address of the map are not concatenated by a hyphen (-). Recovery impossible."); VmMap memreg; char *endptr;