Wind River Support Network

HomeDefectsLIN8-2682
Fixed

LIN8-2682 : pybootchargui failed to generate the png file

Created: Feb 2, 2016    Updated: Dec 3, 2018
Resolved Date: Feb 29, 2016
Found In Version: 8.0
Fix Version: 8.0.0.3
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace

Description

pybootchargui is working on WRL 7 but failed on WRL 8

Steps to Reproduce

Steps
1. Configure QEMU
make config-target
  1a. select 64
  1b. type clocksource=pit oprofile.timer=1 init=/sbin/bootchartd
   1c. save the configuration and exit
2. make start-target
3. After boot, there is a bootchart.tgz file generated in /var/log
4. Move this tgz file to the project directory

On the host, run
1. cd to the project
2. host-cross/usr/bin/pybootchartgui bootchart.tgz -n -o ~/ 

Then I got error:
parsing 'taskstats.log'
merged 41 logger processes
Fontconfig error: Cannot load default config file
Traceback (most recent call last):
  File "/home/wruser/Builds/target-qemux86-64_small/host-cross/usr/bin/pybootchartgui", line 24, in <module>
    sys.exit(main())
  File "/home/wruser/Builds/target-qemux86-64_small/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/pybootchartgui/main.py", line 158, in main
    render()
  File "/home/wruser/Builds/target-qemux86-64_small/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/pybootchartgui/main.py", line 149, in render
    batch.render(writer, trace, options, filename)
  File "/home/wruser/Builds/target-qemux86-64_small/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/pybootchartgui/batch.py", line 43, in render
    draw.render (ctx, options, 1.0, trace)
  File "/home/wruser/Builds/target-qemux86-64_small/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/pybootchartgui/draw.py", line 406, in render
    curr_y = draw_header (ctx, trace.headers, duration)
  File "/home/wruser/Builds/target-qemux86-64_small/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/pybootchartgui/draw.py", line 476, in draw_header
    header_y = ctx.font_extents()[2] + 10
MemoryError

Other Downloads


Live chat
Online