Wind River Support Network


LIN8-5123 : Missing fix: Use MSG_NOSIGNAL when calling sendmsg()

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



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. 

We would like to patch the 2.5.4 version of lttng-tools to contain the fix for this issue. The upstream commit is: 
commit 8eadb073927f4184aeb659aace661ca2cf1cb40b 
Author: Jérémie Galarneau <> 
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