Wind River Support Network


LIN8-7026 : fork and dlopen collision

Created: Jun 29, 2017    Updated: Feb 11, 2020
Resolved Date: Aug 7, 2017
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace


The customer discovered  WRL5 is crashing due to an assert that is
triggered from the eglibc (2.15, the bug here, 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 /wr/sandbox/lramirez/cases/00073893/customer_configure_prj/ in that server is configured to use NIS users so you can login there using ssh

Other Downloads

Live chat