sawsen11 / jrfonseca

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

[gprof2dot] AssertionError #109

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. unzip the attachment
2. cat it into gprof2dot.py
3. see AssertionError

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

Expected dot.

What version of the product are you using? On what operating system?

Linux RedHat 6, yesterdays version of gprof2dot.

Please provide any additional information below.

Original issue reported on code.google.com by pocma...@gmail.com on 13 Jan 2015 at 4:17

Attachments:

GoogleCodeExporter commented 9 years ago
Actually should be enough to run:

$ zcat foo.out.gz | ./gprof2dot.py 
Traceback (most recent call last):
  File "./gprof2dot.py", line 3179, in <module>
    main()
  File "./gprof2dot.py", line 3143, in main
    profile = parser.parse()
  File "./gprof2dot.py", line 1239, in parse
    profile.integrate(TOTAL_TIME, TIME)
  File "./gprof2dot.py", line 478, in integrate
    self._integrate_function(function, outevent, inevent)
  File "./gprof2dot.py", line 483, in _integrate_function
    return self._integrate_cycle(function.cycle, outevent, inevent)
  File "./gprof2dot.py", line 537, in _integrate_cycle
    assert partial == max(partials.values())
AssertionError

Original comment by pocma...@gmail.com on 13 Jan 2015 at 4:17

GoogleCodeExporter commented 9 years ago

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