Tuesday, 3 August 2010

Silly me - ustack isnt prime time yet

The reason invoking ustack() causes dtrace to hang procs in the system
is simply because its doing a "grab" (ptrace(PTRACE_ATTACH)) on the target
so we can get a symtab for the ustack.


Since I hadnt fully finished debugging that, it can result in the
target app hanging on the ptrace call - which explains why it
was causing me a headache.


So, looks like thats next on my target list to fix.

Post created by CRiSP v10.0.2a-b5881


No comments:

Post a Comment