[lttng-dev] Error in lttng_ust_exit()

Jérémie Galarneau jeremie.galarneau at efficios.com
Mon Nov 17 11:44:53 EST 2014


On Mon, Nov 17, 2014 at 10:01 AM, Anand Neeli <anand.neeli at gmail.com> wrote:
> Hi All,
>
> libust[29040/29040]: Error: Error cancelling global ust listener thread: No
> such process (in lttng_ust_exit() at lttng-ust-comm.c:1517)
> libust[29040/29040]: Error: Error cancelling local ust listener thread: No
> such process (in lttng_ust_exit() at lttng-ust-comm.c:1526)
> libust[29043/29043]: Error: Error cancelling global ust listener thread: No
> such process (in lttng_ust_exit() at lttng-ust-comm.c:1517)
> libust[29043/29043]: Error: Error cancelling local ust listener thread: No
> such process (in lttng_ust_exit() at lttng-ust-comm.c:1526)
>
>
> I'm getting above error when running an app on i386 where lttng is not
> installed, i'm linking the libraries by giving LD_LIBRARY_PATH. I'm using
> 4.2.1 version on lttng libraries.
>

I'll guess you mean 2.4.1 ;-)

> I think this is coming from destructor in lttng_ust. In what cases will
> these will come. My app uses system() calls which does fork(), exec() and
> exit().
>

You'll have to LD_PRELOAD liblttng-ust-fork.so to trace an application
which calls fork().

For more details, have a look at this section of the documentation.
http://lttng.org/docs/#doc-using-lttng-ust-with-daemons

Regards,
Jérémie

> Can anyone pls help.
>
> Thanks,
> Anand Neeli
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list