Renil,

Is your program setuid ?
What shell are you using ?

If not:

Create a shell script:

#!/bin/sh

LD_PRELOAD=/usr/lib/libumem.so
UMEM_DEBUG=audit

export LD_PRELOAD UMEM_DEBUG

pmap /bin/ls

and check if libumem loaded

if yes - replace /bin/ls to your program

-Dmitry

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.


-- 
Dmitry Samersoff
J2SE Sustaining team, SPB04
* There will come soft rains ...

Reply via email to