Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gprof2dot] crashes with AssertionError #107

Open
GoogleCodeExporter opened this issue Jul 28, 2015 · 1 comment
Open

[gprof2dot] crashes with AssertionError #107

GoogleCodeExporter opened this issue Jul 28, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link
Contributor

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
Copy link
Contributor Author

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

  • Changed title: [gprof2dot] crashes with AssertionError

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant