Wind River Support Network

HomeDefectsLIN7-1144
Fixed

LIN7-1144 : Heapscope requires the process under test specified as a full absolute or relative path

Created: Oct 20, 2014    Updated: Sep 8, 2018
Resolved Date: Feb 17, 2015
Found In Version: 7.0.0.0.LB10
Fix Version: 7.0.0.3
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Workbench Integration

Description

when running the command

    heapscope -- make -j 8

on an intel-x86-64 target, lots of the following errors are printed:

ERROR: ld.so: object '/usr/lib/libheapscope.so' from LD_PRELOAD cannot be preloaded (cannot
 open shared object file): ignored.

The error should reflect the real problem, that the path was not correctly specified with either an absolute or relative path name.

An alternative solution with pros/cons is to discover the binary from $PATH.

Workaround

Use absolute paths for the process under test:
    heapscope -- /usr/bin/make -j 8
or relative paths for the process under test:
    cd /usr/bin
    heapscope -- ./make -j 8

Other Downloads


Live chat
Online