git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2202
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
DEBUG4("%#lx %s [%#lx-%#lx]",
addr, found? "in":"out of",first,last);
}
- if (!found)
- CRITICAL0("Problem while reading the maps file");
-
fclose(maps);
free(maps_name);
+ if (!found) {
+ WARN0("Problem while reading the maps file");
+ e->bt_strings[i] = bprintf("** In ?? (%s)", backtrace[i]);
+ continue;
+ }
+
/* Ok, Found the offset of the maps line containing the searched symbol.
We now need to substract this from the address we got from backtrace.
*/