Read this thread:
http://www.opensolaris.org/jive/thread.jspa?messageID=10250
Thanks,
/jim
Jianhua Yang wrote:
> Hello,
>
> new to dtrace, need help here
>
> when run the following dtrace, it produced dtrace errors, why it get such
> errors ?
>
> # dtrace -n 'pid$target:libc:malloc:entry { @j[jstack()] = count(); }' -p
> 11539
> dtrace: description 'pid$target:libc:malloc:entry ' matched 1 probe
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f257c000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f257c000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f257c000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f257c000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f257c000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f257c000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f257c000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f257c000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f257c000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f257c000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f24f8000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f24f8000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f24f8000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f24f8000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f24f8000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f24f8000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f24f8000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f24f8000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f257c000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f257c000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f257c000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f24f8000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f24f8000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f24f8000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f24f8000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f24f8000) in action #2
> ^C
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f257c000) in action #2
> dtrace: error on enabled probe ID 1 (ID 112884:
> pid11539:libc.so.1:malloc:entry): invalid address (0x1f24f8000) in action #2
>
>
> libc.so.1`malloc
> libESPD12d.so`__1cPCFETUByteStream2t5B6MIIHHpc_v_+0xa4
> libESPD12d.so`__1cMCFETPMessageNCreateInbound6Fpci_p0_+0x618
> libESPD12d.so`__1cMCFETISessionFRXMsg6M_pnMCFETPMessage__+0x60
> libESPD12d.so`__1cMCFETIManagerPInboundDataFlow6M_v_+0x178
> libESPD12d.so`__1cYStartInboundDataFlowFuncDrun6M_v_+0xc
> libESPD12d.so`PosixThreadFunction+0x24
> libc.so.1`_lwp_start
> 1
> .........
>
>
> Thanks,
>
> James Yang
> ---
>
> This e-mail may contain confidential and/or privileged information. If you
> are not the intended recipient (or have received this e-mail in error)
> please notify the sender immediately and destroy this e-mail. Any
> unauthorized copying, disclosure or distribution of the material in this
> e-mail is strictly forbidden.
>
> _______________________________________________
> dtrace-discuss mailing list
> [email protected]
>
_______________________________________________
dtrace-discuss mailing list
[email protected]