Re: [PATCH, Libbacktrace] Fix possible SEGV when handling stripped PIE binaries.

2016-03-02 Thread Ian Lance Taylor
On Wed, Mar 2, 2016 at 6:21 AM, Maxim Ostapenko wrote: > On 02/03/16 16:59, Ian Lance Taylor wrote: >> >> On Wed, Mar 2, 2016 at 12:51 AM, Maxim Ostapenko >> wrote: >>> >>> When testing ASan on large system, I've noticed that sometimes it crashes >>> with SEGV in Libbacktrace when trying to symbo

Re: [PATCH, Libbacktrace] Fix possible SEGV when handling stripped PIE binaries.

2016-03-02 Thread Maxim Ostapenko
On 02/03/16 16:59, Ian Lance Taylor wrote: On Wed, Mar 2, 2016 at 12:51 AM, Maxim Ostapenko wrote: When testing ASan on large system, I've noticed that sometimes it crashes with SEGV in Libbacktrace when trying to symbolize stripped PIE (compiled with -pie -fPIC) binaries in fully stripped envi

Re: [PATCH, Libbacktrace] Fix possible SEGV when handling stripped PIE binaries.

2016-03-02 Thread Ian Lance Taylor
On Wed, Mar 2, 2016 at 12:51 AM, Maxim Ostapenko wrote: > > When testing ASan on large system, I've noticed that sometimes it crashes > with SEGV in Libbacktrace when trying to symbolize stripped PIE (compiled > with -pie -fPIC) binaries in fully stripped environment (this means that all > depende

[PATCH, Libbacktrace] Fix possible SEGV when handling stripped PIE binaries.

2016-03-02 Thread Maxim Ostapenko
Hi! When testing ASan on large system, I've noticed that sometimes it crashes with SEGV in Libbacktrace when trying to symbolize stripped PIE (compiled with -pie -fPIC) binaries in fully stripped environment (this means that all dependent libraries are also stripped). Here a scenario I've obs