[erlang-questions] fprof error
Peter Sabaini
peter@REDACTED
Wed Jan 28 18:26:29 CET 2009
Hello list,
I'm trying to profile an application and every time I run fprof:profile() I
get this error:
> fprof:profile().
Reading trace data...
.....................
=ERROR REPORT==== 28-Jan-2009::18:22:04 ===
Error in process <0.107.0> on node 'emkuushell@REDACTED' with exit value: {badarg,
[{erlang,binary_to_term,[<<0 bytes>>]},{dbg,read_term,3},{dbg,'-mk_reader/2-
fun-0-',2},{dbg,tc_loop,3}]}
{error,{badarg,[{erlang,binary_to_term,[<<>>]},
{dbg,read_term,3},
{dbg,'-mk_reader/2-fun-0-',2},
{dbg,tc_loop,3}]}}
I can run fprof:analyse() afterwards though, and the results don't seem to be
completely off. Should I ignore this error?
I'm starting fprof in the source of the main routine with fprof:trace(start)
btw.
thx,
peter.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090128/dd64a9f0/attachment.bin>
More information about the erlang-questions
mailing list