<div dir="ltr"><span style="font-size:12.8px">Hi all</span><br><br><span style="font-size:12.8px">I am using lttng-ust-libc-wr</span><font face="arial, helvetica, sans-serif">apper <span style="color:rgb(36,41,46);white-space:pre-wrap">for instrumenting</span> </font><span style="color:rgb(36,41,46);white-space:pre-wrap"><font face="arial, helvetica, sans-serif">some calls to libc for </font></span><font face="arial, helvetica, sans-serif">som<span style="font-size:12.8px">e applica</span></font><span style="font-size:12.8px">tions 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 tracepoints with printf in lttng_ust_pthread.c, I receive no error. It seems that hooking tracepoints in this wrapper makes some problems. Do you have any idea in this regard?</span><br><div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><span style="font-size:12.8px"><font color="#000000">Thanks<br><br></font></span></div></div><div style="font-size:12.8px"><span style="font-size:12.8px"><font color="#000000">Majid</font></span></div></div>