Wind River Support Network


LIN6-7169 : CLONE - running memory analysis mptrol on some apps causes crash

Created: Apr 21, 2014    Updated: Dec 3, 2018
Resolved Date: May 6, 2014
Previous ID: LIN5-18553
Found In Version: 6.0
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Workbench Integration


Using wrlinux-501 and wrlinux-501 CGCS_EAR_R1_MAR2014 branch, running mpatrol on /usr/sbin/libvirtd or an app that has
1) an init section like __attribute__((constructor)) 
2) with that init section invoking the memory api library (malloc, free, ...) 
there is a possibility that running mpatrol on that application will crash that application as it does running mpatrol with /usr/sbin/libvirtd.

Steps to Reproduce

/git/wrlinux501/wrlinux/configure --enable-board=qemux86-64 --enable-kernel=standard --enable-rootfs=glibc-std --enable-parallel-pkgbuilds=4 --enable-build=profiling --enable-jobs=8 --with-layer=/git/wrll-analysis-tests/wr-tools-profile-test --with-package=mpatrol-tests,libunwind-tests 
make fs
make start-target
mpatrol --dynamic --threads --log-all /usr/sbin/libvirtd
Note crash

Other Downloads

Live chat