From mboxrd@z Thu Jan 1 00:00:00 1970 From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers) Date: Wed, 12 Feb 2014 14:35:03 +0000 (UTC) Subject: [lttng-dev] RFC: Fix crash in dlerror() In-Reply-To: <975853026.23546.1392176395828.JavaMail.zimbra@efficios.com> References: <52F55511.2080309@mentor.com> <1380151240.21051.1391875592403.JavaMail.zimbra@efficios.com> <52F66118.5010003@mentor.com> <905376946.21151.1391898148330.JavaMail.zimbra@efficios.com> <52F9746F.5070302@mentor.com> <1494953964.23233.1392151900002.JavaMail.zimbra@efficios.com> <52FA8E5C.40203@mentor.com> <975853026.23546.1392176395828.JavaMail.zimbra@efficios.com> Message-ID: <2141704629.23782.1392215703555.JavaMail.zimbra@efficios.com> Updated patch, now ensuring that the wrapper is initialized before UST starts other threads. It now has a constructor function that will take care of initializing the wrapper before other program threads are started anyhow. I also added a missing lookup check (calloc pointer) within realloc (branch handling realloc of a statically allocated pointer). Thanks, Mathieu ----- Original Message ----- > From: "Mathieu Desnoyers" > To: "Stefan Seefeld" > Cc: lttng-dev at lists.lttng.org > Sent: Tuesday, February 11, 2014 10:39:55 PM > Subject: Re: [lttng-dev] RFC: Fix crash in dlerror() > > Updated patch, now with tracepoints in the static allocator. > > Review welcome, > > Thanks, > > Mathieu > -- > Mathieu Desnoyers > EfficiOS Inc. > http://www.efficios.com > > _______________________________________________ > lttng-dev mailing list > lttng-dev at lists.lttng.org > http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev > -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com -------------- next part -------------- A non-text attachment was scrubbed... Name: fix-lttng-ust-malloc.patch Type: text/x-patch Size: 11145 bytes Desc: not available URL: