X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ab3b0dcebcadbe3da395e9e8f73aefadb88b3924..34f2f42cccff62773dd710b695bdfd1363b85d45:/src/xbt/ex.c diff --git a/src/xbt/ex.c b/src/xbt/ex.c index cd6d584573..1b141a4d9b 100644 --- a/src/xbt/ex.c +++ b/src/xbt/ex.c @@ -153,6 +153,10 @@ void xbt_ex_display(xbt_ex_t * e) { int i; + if (!xbt_binary_name) { + fprintf(stderr, "variable 'xbt_binary_name' set to NULL. Cannot compute the backtrace\n"); + return; + } fprintf(stderr, "\n"); for (i = 0; i < e->used; i++) fprintf(stderr, "%s\n", e->bt_strings[i]);