Wind River Support Network

HomeDefectsLIN8-7026
Fixed

LIN8-7026 : fork and dlopen collision

Created: Jun 29, 2017    Updated: Feb 11, 2020
Resolved Date: Aug 7, 2017
Found In Version: 8.0.0.18
Fix Version: 8.0.0.21
Severity: Standard
Applicable for: Wind River Linux 8
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 /wr/sandbox/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