[lttng-dev] Segfault during process exit

Jonathan Rajotte Julien Jonathan.rajotte-julien at efficios.com
Wed Mar 2 19:21:44 UTC 2016


Hi,

Could you provide a reproducer ?

Could you give us some context ?

Thanks

On 2016-03-02 02:07 PM, Jeffrey Chen wrote:
>
> Hi:
>
>
> Our system process will spawn several background threads to do tasks. 
> During the process exit, there is no guarantee that these background 
> threads are finished. I have noticed several times that the execution 
> would segfault during exiting. The stacktrace is showing that the 
> segfault happened at the call to write trace, tracepoint(). My guess 
> is that LTTng cleaned up the tracing connection, and the background 
> thread was still running. Has anyone noticed this issue? I thought 
> about trying wait for all the background threads to complete, but this 
> is very difficult to do in a complex system, as the background thread 
> could spawn more threads during the process. Is there any way to solve 
> this? Thanks.
>
>
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Jonathan R. Julien
Efficios

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20160302/55ff1e13/attachment.html>


More information about the lttng-dev mailing list