[lttng-dev] LD_PRELOAD applications using lttng-ust-pthread
jonathan.rajotte-julien at efficios.com
Tue Jan 9 15:47:10 UTC 2018
On Tue, Jan 09, 2018 at 10:43:51AM -0500, Jonathan Rajotte-Julien wrote:
> On Mon, Jan 08, 2018 at 10:35:39PM -0500, Majid Rezazadeh wrote:
> > Hi all
> > I am using lttng-ust-libc-wrapper for instrumenting some calls to libc for
> > some applications like Firefox and Chrome, but I receive "Segmentation
> > fault (core dumped)". I compile lttng-ust-pthread.c (gcc -fPIC -shared -o
> > test.so lttng-ust-pthread.c -ldl) and then I use "LD_PRELOAD=test.so
> > firefox" but I receive segmentation fault (I have exported LD_LIBRARY_PATH
> > to the absolute path of test.so file). I found out that when I replace
> Could you give us more information regarding the coredump?
> "thread apply all bt" in gdb with the corefile loaded.
> Make sure to compile with debug symbol and rerun your test.
Forgot to mention that you should open a bug here:
Make sure to read the bug reporting guidelines.
More information about the lttng-dev