Wind River Support Network

HomeDefectsLIN5-18551
Fixed

LIN5-18551 : running memory analysis mptrol on some apps causes crash

Created: Apr 21, 2014    Updated: Dec 19, 2017
Resolved Date: Apr 23, 2014
Found In Version: 5.0.1
Fix Version: 5.0.1.14
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Workbench Integration

Description

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
Online