Wind River Support Network

HomeDefectsLIN7-7013
Fixed

LIN7-7013 : Add lttng patch to fix Use MSG_NOSIGNAL instead of SIGPIPE when calling sendmsg()

Created: Nov 16, 2016    Updated: Feb 10, 2020
Resolved Date: Nov 22, 2016
Found In Version: 7.0.0.20
Fix Version: 7.0.0.22
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace

Description

we are using WR6 RCPL16 baseline which has lttng-tools version v2.5.4. This version sometimes triggers SIGPIPE which our applications do not expect. There is a fix for this in newer versions of lttng-tools.

The upstream commit is:
commit 8eadb073927f4184aeb659aace661ca2cf1cb40b
Author: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Date: Wed Aug 5 21:26:34 2015 -0400

Fix: Use MSG_NOSIGNAL when calling sendmsg()

Applications using the liblttng-ctl library are most probably
not expecting the SIGPIPE signal which can be triggered by
sendmsg() on a closed socket. Use the MSG_NOSIGNAL flag to
handle such cases gracefully.

Other Downloads


Live chat
Online