// does leak. But, we can't do much about it, and it's not a disaster,
// so we just let it slide without aborting or telling the user.
+ // Finally, to reduce the endless nuisance of multiple different names
+ // for "the frame below main()" screwing up the testsuite, change all
+ // known incarnations of said into a single name, "(below main)".
+ if (0==VG_(strcmp)("__libc_start_main", result)
+ || 0==VG_(strcmp)("generic_start_main", result))
+ VG_(strncpy_safely)(result, "(below main)", 13);
+
# undef N_ZBUF
}
Jump to the invalid address stated on the next line
at 0x........: ???
- by 0x........: __libc_start_main (in /...libc...)
+ by 0x........: (below main) (in /...libc...)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Process terminating with default action of signal 11 (SIGSEGV)
Access not within mapped region at address 0x........
at 0x........: ???
- by 0x........: __libc_start_main (in /...libc...)
+ by 0x........: (below main) (in /...libc...)
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
malloc/free: in use at exit: 0 bytes in 0 blocks.
Jump to the invalid address stated on the next line
at 0x........: ???
- by 0x........: __libc_start_main (in /...libc...)
+ by 0x........: (below main) (in /...libc...)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Signal caught, as expected