Wind River Support Network

HomeDefectsLIN9-4904
Fixed

LIN9-4904 : CLONE - fork and dlopen collision

Created: Aug 2, 2017    Updated: Feb 11, 2020
Resolved Date: Aug 21, 2017
Found In Version: unknown
Fix Version: 9.0.0.10
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Userspace

Description

The customer discovered  WRL5 is crashing due to an assert that is
triggered from the eglibc (2.15, the bug here https://sourceware.org/bugzilla/show_bug.cgi?id=4578), however, it seems assertions are no longer present in WRL8,  so the defect could happen unnoticed. 

I attached an explanation of a test case provided by the customer and a possible patch in the txt file.

Steps to Reproduce

1: Create a project with this configuration:

/wr/installs/lx8/wrlinux-8/wrlinux/configure --enable-board=intel-x86-64 --enable-build=production --enable-kernel=preempt-rt --enable-rootfs=glibc-core --with-layer=wr-bsps/intel-x86 --enable-reconfig --with-rcpl-version=0018

2: Compile the source coded provided in the tar file (use the makefile)

3: Start the OS and then run there the testcase

NOTE: The customer reproduced the issue on a Minnowboard, I was able to reproduce it on a qemu. You can access a compiled project in /lramirez/cases/00073893/customer_configure_prj/ in 172.18.222.4 that server is configured to use NIS users so you can login there using ssh

Other Downloads


Live chat
Online