Wind River Support Network

HomeDefectsLIN8-9165
Fixed

LIN8-9165 : glibc bug https://sourceware.org/bugzilla/show_bug.cgi?id=19431

Created: May 2, 2018    Updated: Dec 3, 2018
Resolved Date: Jun 29, 2018
Found In Version: 8.0.0.25
Fix Version: 8.0.0.27
Severity: Severe
Applicable for: Wind River Linux 8
Component/s: Toolchain

Description

glibc bug https://sourceware.org/bugzilla/show_bug.cgi?id=19431

Steps to Reproduce

On a WRL8 rcpl x86-64 project with SDK installed, compile tst-malloc-fork-io.c 
source environment-setup-core2-64-wrs-linux
{CC} -pthread -g -o /workspace/anca/tst-malloc-fork-io /workspace/anca/tst-malloc-fork-io.c

Deploy the binary on the wrl8 target and test it:
tst-malloc-fork-io

Expected result: several reads for fork tests:
info: 2018-05-04 09:35:55: fork=17 read=140
info: 2018-05-04 09:35:56: fork=22 read=258100
info: 2018-05-04 09:35:57: fork=22 read=489077
info: 2018-05-04 09:35:58: fork=22 read=722682
info: 2018-05-04 09:35:59: fork=22 read=959220
info: 2018-05-04 09:36:00: fork=22 read=1192859
info: 2018-05-04 09:36:01: fork=22 read=1424160
info: 2018-05-04 09:36:02: fork=22 read=1658422
^C

Actual result - reads are prevented by the issue:
root@localhost:/data/tmp/test> tst-malloc-fork-io 
info: 2018-05-04 09:32:31: fork=13 read=0


^C
root@localhost:/data/tmp/test> 
root@localhost:/data/tmp/test> tst-malloc-fork-io 
^C
root@localhost:/data/tmp/test> tst-malloc-fork-io 
^C

Other Downloads


Live chat
Online