On Fri, May 08, 2009 at 03:35:02AM -0700, Renil Thomas wrote:
> Hi Experts,
> 
> A program with ownership bin:bin, I use :
> 
> LD_PRELOAD=/usr/lib/libumem.so UMEM_DEBUG=audit  ./"program"
> then use "gcore" to generate the core dump.
> 
> While using : #mdb core.x
> 
> the libumem.so is not getting loaded. I even tried using the following in mdb 
> :
> 
> ::sysbp _exit
> ::run
> ::load libumem 
> 
> But still, gets the below error :
> > ::load libumem
> mdb: failed to read umem_max_ncpus: unknown symbol name
> mdb: libumem module failed to initialize
> >
> 
> Please advise.

In the mdb session, what do:

> ::nm libumem.so.1 ! wc -l
> ::nm libumem.so ! wc -l

output?  How about:

> ::nm libumem.so.1 ! grep max_ncpus
> ::nm libumem.so ! grep max_ncpus

At a shell, what does:

% /usr/bin/what /lib/??/libumem.so.1
% /usr/bin/what /usr/lib/mdb/proc/libumem.so
% /usr/bin/what /usr/lib/mdb/proc/[as]*/libumem.so

output?

Cheers,
- jonathan


Reply via email to