Hi everyone, I've been trying to debug my program using MDB. But only a set of mdb's supported dcmds work for me.. For example, ::kmem_verify returns mdb: invalid command '::kmem_verify': unknown dcmd name
while vmem, vmem_seg and whatis are recognized. > ::vmem ADDR NAME INUSE TOTAL SUCCEED FAIL fffffd7fff3664e0 sbrk_top 1544192 4636672 391 24 fffffd7fff3670e8 sbrk_heap 1544192 1544192 391 0 fffffd7fff367cf0 vmem_internal 405504 405504 55 0 fffffd7fff3688f8 vmem_seg 360448 360448 44 0 fffffd7fff369500 vmem_hash 6656 8192 6 0 fffffd7fff36a108 vmem_vmem 46200 55344 15 0 000000000045a000 umem_internal 512016 516096 126 0 000000000045b000 umem_cache 27224 36864 41 0 000000000045c000 umem_hash 24576 28672 34 0 000000000045d000 umem_log 65760 69632 3 0 000000000045e000 umem_firewall_va 0 0 0 0 000000000045f000 umem_firewall 0 0 0 0 0000000000460000 umem_oversize 0 0 129 0 0000000000463000 umem_memalign 0 90112 5 0 000000000047f000 umem_default 462848 462848 78 0 > fffffd7fff3664e0::vmem_seg ADDR TYPE START END WHO fffffd7fff3664e0 ???? 706f745f6b726273 0000000000000000 > fffffd7fff3664e0::whatis fffffd7fff3664e0 is fffffd7fff3664e0+0 (vmem_seg fffffd7fff36cea0) from vmem_vmem vmem arena In addition, ::finleaks returns results, but the vmem_seg returned is unknown: > ::findleaks BYTES LEAKED VMEM_SEG CALLER 4096 1 fffffd7ffec69000 MMAP ------------------------------------------------------------------------ Total 1 oversized leak, 4096 bytes CACHE LEAKED BUFCTL CALLER ---------------------------------------------------------------------- Total 0 buffers, 0 bytes > fffffd7ffec69000::whatis fffffd7ffec69000 is unknown > fffffd7ffec69000::vmem_seg ADDR TYPE START END WHO fffffd7ffec69000 ???? 0000000000000000 0000000000000000 Could anyone please help me? Why aren't all the dcmds working, and why do some of them return unrecognized addresses? What am I doing wrong?:( Thanks in advance, Maria This message posted from opensolaris.org