[erlang-bugs] ttb does not handle ports

Matthias Radestock matthias@REDACTED
Sat Jun 9 11:11:13 CEST 2007

I took a sequential trace with ttb and the viewed it with

  ttb:format(File, [{handler, et}]).

This resulted in the following error:

** exited: {function_clause,[{ttb,get_procinfo,[#Port<0.85>]},
                             {shell,eval_loop,3}]} **

This is happening in R11B-4.

The problem is caused by a missing case in ttb:get_procinfo for handling
port processes. The attached patch adds a catch-all case that fixes



-------------- next part --------------
A non-text attachment was scrubbed...
Name: ttb.erl.patch
Type: text/x-diff
Size: 576 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20070609/34456d62/attachment.bin>

More information about the erlang-bugs mailing list