Re: [DynInst_API:] PIE segfault


Date: Mon, 30 May 2016 14:23:06 +0000
From: Bill Williams <bill@xxxxxxxxxxx>
Subject: Re: [DynInst_API:] PIE segfault

Known issue in 9.1, but this should be fixed on github's master. Is this not the case?


From: Dyninst-api <dyninst-api-bounces@xxxxxxxxxxx> on behalf of Mohamed Elsabagh <melsabag@xxxxxxx>
Sent: Friday, May 27, 2016 9:10:51 PM
To: dyninst-api
Subject: [DynInst_API:] PIE segfault
 
In the latest version of Dyninst, rewriting a PIE binary (not a library) results in an executable that immediately segfaults. This happens even if no instrumentation was done at all. Simply opening the binary and saving it reproduces the problem. Here's a sample backtrace: 

dl_main at rtld.c:172
_dl_sysdep_start at ../elf/dl-sysdep.c:249
_dl_start_final at rtld.c:332
dl_start at rtld.c:558
_start() from /lib64/ld-linux-x86_64.so.2

I am having this issue on both Ubuntu 14.04 and Ubuntu 16, the x86_64 versions.

Any clue? 

Thanks.
[← Prev in Thread] Current Thread [Next in Thread→]