On Mon, Aug 29, 2005 at 03:19:16PM -0700, /dev/null wrote:
> > umem_flags/X
> libumem.so.1`umem_flags:
> libumem.so.1`umem_flags:        0               
> > ::umem_cache
> ADDR     NAME                      FLAG    CFLAG  BUFSIZE  BUFTOTL
> 001ac008 umem_magazine_1           0000 80080000        8     1020

Clearly, the UMEM_DEBUG=default environment variable was not set when umem
initialized.  Does your program do something like:

        putenv("UMEM_DEBUG=default");

?

This will not work; putenv() requires allocation to work, and umem is
initialized at the first allocation.  You need to set this in the
external environment.

Cheers,
- jonathan

-- 
Jonathan Adams, Solaris Kernel Development

Reply via email to