sawsen11 / jrfonseca

Automatically exported from code.google.com/p/jrfonseca
0 stars 0 forks source link

[gprof2dot] crashes with AssertionError #107

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. cat gprof.txt | gprof2dot | dot -Tpng -Ocalls.png

What is the expected output? What do you see instead?

Traceback (most recent call last):
  File "/home/positron/Downloads/gprof2dot.py", line 3179, in <module>
    main()
  File "/home/positron/Downloads/gprof2dot.py", line 3143, in main
    profile = parser.parse()
  File "/home/positron/Downloads/gprof2dot.py", line 1239, in parse
    profile.integrate(TOTAL_TIME, TIME)
  File "/home/positron/Downloads/gprof2dot.py", line 478, in integrate
    self._integrate_function(function, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 483, in _integrate_function
    return self._integrate_cycle(function.cycle, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 511, in _integrate_cycle
    subtotal += self._integrate_call(call, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 497, in _integrate_call
    subtotal = call.ratio *self._integrate_function(callee, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 489, in _integrate_function
    total += self._integrate_call(call, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 497, in _integrate_call
    subtotal = call.ratio *self._integrate_function(callee, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 489, in _integrate_function
    total += self._integrate_call(call, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 497, in _integrate_call
    subtotal = call.ratio *self._integrate_function(callee, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 489, in _integrate_function
    total += self._integrate_call(call, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 497, in _integrate_call
    subtotal = call.ratio *self._integrate_function(callee, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 489, in _integrate_function
    total += self._integrate_call(call, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 497, in _integrate_call
    subtotal = call.ratio *self._integrate_function(callee, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 489, in _integrate_function
    total += self._integrate_call(call, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 497, in _integrate_call
    subtotal = call.ratio *self._integrate_function(callee, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 489, in _integrate_function
    total += self._integrate_call(call, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 497, in _integrate_call
    subtotal = call.ratio *self._integrate_function(callee, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 489, in _integrate_function
    total += self._integrate_call(call, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 497, in _integrate_call
    subtotal = call.ratio *self._integrate_function(callee, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 489, in _integrate_function
    total += self._integrate_call(call, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 497, in _integrate_call
    subtotal = call.ratio *self._integrate_function(callee, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 489, in _integrate_function
    total += self._integrate_call(call, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 497, in _integrate_call
    subtotal = call.ratio *self._integrate_function(callee, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 489, in _integrate_function
    total += self._integrate_call(call, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 497, in _integrate_call
    subtotal = call.ratio *self._integrate_function(callee, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 483, in _integrate_function
    return self._integrate_cycle(function.cycle, outevent, inevent)
  File "/home/positron/Downloads/gprof2dot.py", line 537, in _integrate_cycle
    assert partial == max(partials.values())
AssertionError

What version of the product are you using? On what operating system?
just downloaded from Wiki page

Please provide any additional information below.
I'm on Ubuntu 12.04.5 x64

Original issue reported on code.google.com by positro...@gmail.com on 15 Sep 2014 at 1:42

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by Jose.R.F...@gmail.com on 13 Mar 2015 at 7:12