Wind River Support Network

HomeDefectsCGP8-399
Fixed

CGP8-399 : /opt/cut/bin/mthread: Inconsistency detected by ld.so: rtld.c: 1268: dl_main: Assertion `_rtld_local._dl_rtld_map.l_libname' failed!

Created: Dec 21, 2018    Updated: Feb 21, 2019
Resolved Date: Jan 19, 2019
Found In Version: 8.0.0.27
Fix Version: 8.0.0.29
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace

Description

# gdb /opt/cut/bin/mthread
spawn gdb /opt/cut/bin/mthread
GNU gdb (GDB) 7.10.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-wrs-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /opt/cut/bin/mthread...done.
(gdb) break alone
Breakpoint 1 at 0x400925: file mthread.c, line 35.
(gdb) run
Starting program: /opt/cut/bin/mthread
Failed to read a valid object file image from memory.
Inconsistency detected by ld.so: rtld.c: 1268: dl_main: Assertion `_rtld_local._dl_rtld_map.l_libname' failed!
[Inferior 1 (process 48140) exited with code 0177]

Steps to Reproduce

1) configure
--enable-board=intel-x86-64 --enable-kernel=cgl+features/mce-test+features/vrf+features/netfilter --enable-rootfs=glibc-cgl --with-layer=/lpg-build/cdc/WASSP_LINUX_80/testcases/wrlinux/wr-testing/userspace,common --with-template=feature/valgrind,feature/libhugetlbfs,feature/acl,feature/nfsd,feature/oprofile,feature/mariadb,feature/mysql-odbc,feature/LAMP,feature/ipv6,feature/target-toolchain,feature/lttng,feature/gcc-sanitizers,feature/cut,feature/xfce --enable-test=yes --enable-build=profiling
2) make gen-coredump.addpkg
2)make fs
5) boot the target

Live chat
Online