X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6311b5a3ec785f4a92a64609f02f672d1a925eca..421598739fa7167a9c4fac25b1038630f8b7fcf3:/src/xbt/ex.c?ds=sidebyside diff --git a/src/xbt/ex.c b/src/xbt/ex.c index 9fee97e19b..48ab1de9f1 100644 --- a/src/xbt/ex.c +++ b/src/xbt/ex.c @@ -72,7 +72,11 @@ void xbt_ex_setup_backtrace(xbt_ex_t *e) { /* size (in char) of pointers on this arch */ int addr_len=0; - + + /* Some arches only have stubs of backtrace, no implementation (hppa comes to mind) */ + if (!e->used) + return; + /* build the commandline */ curr += sprintf(curr,"%s -f -e %s ",ADDR2LINE,xbt_binary_name); for (i=0; iused;i++) {