[lttng-dev] Bug in LTTng-UST

2014-12-12 Thread Matthew Khouzam
Hi, it appears as though if a tracepoint is in a so, loading it, unloading it and reloading it makes it no longer visible. To confirm this you can try out this repo : https://github.com/TheMatthew/yquake2 (I know, it's not a serious program... but the bug is serious, I think) You can get the dem

Re: [lttng-dev] Bug in LTTng-UST

2014-12-12 Thread Simon Marchi
Actually, I think the problem comes from UST not handling when a program dlcloses a lib. There is a simpler way to show the problem. Just have an app dlopen a .so that has a tracepoint and dlclose it. When the app quits, UST will try to unregister the tracepoint and read/write in the memory previou

Re: [lttng-dev] Bug in LTTng-UST

2014-12-12 Thread Philippe Proulx
On Fri, Dec 12, 2014 at 11:21 PM, Simon Marchi wrote: > Actually, I think the problem comes from UST not handling when a > program dlcloses a lib. There is a simpler way to show the problem. > Just have an app dlopen a .so that has a tracepoint and dlclose it. > When the app quits, UST will try to

Re: [lttng-dev] Bug in LTTng-UST

2014-12-12 Thread Simon Marchi
On 12 December 2014 at 23:59, Philippe Proulx wrote: > On Fri, Dec 12, 2014 at 11:21 PM, Simon Marchi > wrote: >> Actually, I think the problem comes from UST not handling when a >> program dlcloses a lib. There is a simpler way to show the problem. >> Just have an app dlopen a .so that has a tr

[lttng-dev] Bug in lttng-ust tool lttng-gen-tp which replaces all ".c" with ".h" in the path

2017-09-18 Thread Gunnar Strand
Hi, It does not seem like anonymous bug reporting is supported, so I am submitting the report here instead. I found the following bug in the tools/lttng-gen-tp tool in the lttng-ust component, which is present in the latest commit on master, d0f6cf574ef992620b09c183cb3a0ea771070ea5:  66 cl

Re: [lttng-dev] Bug in lttng-ust tool lttng-gen-tp which replaces all ".c" with ".h" in the path

2017-09-18 Thread Jonathan Rajotte-Julien
Hi, On Mon, Sep 18, 2017 at 11:47:28AM +0200, Gunnar Strand wrote: > Hi, > > It does not seem like anonymous bug reporting is supported, so I am > submitting the report here instead. > > I found the following bug in the tools/lttng-gen-tp tool in the lttng-ust > component, which is present in th

Re: [lttng-dev] Bug in lttng-ust tool lttng-gen-tp which replaces all ".c" with ".h" in the path

2017-09-18 Thread Gunnar Strand
Hi, On 09/18/17 18:27, Jonathan Rajotte-Julien wrote: Hi, On Mon, Sep 18, 2017 at 11:47:28AM +0200, Gunnar Strand wrote: Hi, It does not seem like anonymous bug reporting is supported, so I am submitting the report here instead. I found the following bug in the tools/lttng-gen-tp tool in the