Opened 11 years ago

Closed 11 years ago

#11210 closed Bug Report - General (Upstream Bug)

Mythfrontend running slow on the watch recordings screen

Reported by: bob.havlin@… Owned by: Jim Stichnoth
Priority: minor Milestone: unknown
Component: MythTV - General Version: 0.26-fixes
Severity: medium Keywords: mythfrontend slow sluggish
Cc: Ticket locked: no

Description

When sitting idle at the watch-recordings screen, the following are output over and over and it appears to be slowing down navigation in the recordings.


Nov  1 00:24:42  mythlogserver: last message repeated 87 times
Nov  1 00:24:42 mythfe mythlogserver: mythfrontend[2281]: I CoreContext mythuibuttonlist.cpp:2521 (customEvent) Build background buttonlist item 0
Nov  1 00:24:42 mythfe mythlogserver: mythfrontend[2281]: E CoreContext mythpainter.cpp:396 (GetImageFromTextLayout) MythPainter::GetImageFromTextLayout: Invalid canvas.
Nov  1 00:24:45  mythlogserver: last message repeated 21 times
Nov  1 00:24:45 mythfe mythlogserver: mythfrontend[2281]: I CoreContext mythuibuttonlist.cpp:2521 (customEvent) Build background buttonlist item 100
Nov  1 00:24:45 mythfe mythlogserver: mythfrontend[2281]: E CoreContext mythpainter.cpp:396 (GetImageFromTextLayout) MythPainter::GetImageFromTextLayout: Invalid canvas.
Nov  1 00:24:50  mythlogserver: last message repeated 32 times
Nov  1 00:24:50 mythfe mythlogserver: mythfrontend[2281]: I CoreContext mythuibuttonlist.cpp:2521 (customEvent) Build background buttonlist item 200
Nov  1 00:24:50 mythfe mythlogserver: mythfrontend[2281]: E CoreContext mythpainter.cpp:396 (GetImageFromTextLayout) MythPainter::GetImageFromTextLayout: Invalid canvas.
Nov  1 00:24:53  mythlogserver: last message repeated 21 times
Nov  1 00:24:53 mythfe mythlogserver: mythfrontend[2281]: I CoreContext mythuibuttonlist.cpp:2521 (customEvent) Build background buttonlist item 300
Nov  1 00:24:53 mythfe mythlogserver: mythfrontend[2281]: E CoreContext mythpainter.cpp:396 (GetImageFromTextLayout) MythPainter::GetImageFromTextLayout: Invalid canvas.
Nov  1 00:25:19  mythlogserver: last message repeated 98 times
Nov  1 00:25:19 mythfe mythlogserver: mythfrontend[2281]: I CoreContext mythuibuttonlist.cpp:2521 (customEvent) Build background buttonlist item 0
Nov  1 00:25:20 mythfe mythlogserver: mythfrontend[2281]: E CoreContext mythpainter.cpp:396 (GetImageFromTextLayout) MythPainter::GetImageFromTextLayout: Invalid canvas.
Nov  1 00:25:20  mythlogserver: last message repeated 21 times
Nov  1 00:25:20 mythfe mythlogserver: mythfrontend[2281]: I CoreContext mythuibuttonlist.cpp:2521 (customEvent) Build background buttonlist item 100
Nov  1 00:25:20 mythfe mythlogserver: mythfrontend[2281]: E CoreContext mythpainter.cpp:396 (GetImageFromTextLayout) MythPainter::GetImageFromTextLayout: Invalid canvas.
Nov  1 00:25:22  mythlogserver: last message repeated 32 times
Nov  1 00:25:22 mythfe mythlogserver: mythfrontend[2281]: I CoreContext mythuibuttonlist.cpp:2521 (customEvent) Build background buttonlist item 200
Nov  1 00:25:22 mythfe mythlogserver: mythfrontend[2281]: E CoreContext mythpainter.cpp:396 (GetImageFromTextLayout) MythPainter::GetImageFromTextLayout: Invalid canvas.
Nov  1 00:25:24  mythlogserver: last message repeated 21 times
Nov  1 00:25:24 mythfe mythlogserver: mythfrontend[2281]: I CoreContext mythuibuttonlist.cpp:2521 (customEvent) Build background buttonlist item 300
Nov  1 00:25:24 mythfe mythlogserver: mythfrontend[2281]: E CoreContext mythpainter.cpp:396 (GetImageFromTextLayout) MythPainter::GetImageFromTextLayout: Invalid canvas.

Attachments (3)

mythfe.txt (1.0 KB) - added by bob.havlin@… 11 years ago.
sysinfo
gdb.txt (707.4 KB) - added by bob.havlin@… 11 years ago.
gdb backtrace
mythfe_gui.log (149.7 KB) - added by bob.havlin@… 11 years ago.
mythfronted -v gui logfile

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by bob.havlin@…

Attachment: mythfe.txt added

sysinfo

Changed 11 years ago by bob.havlin@…

Attachment: gdb.txt added

gdb backtrace

comment:1 Changed 11 years ago by Jim Stichnoth

Owner: set to Jim Stichnoth
Status: newaccepted

It's possible that your theme is trying to define an invalid area for drawing some widget.

What theme are you using?

Please attach the entire "-v gui" log from the mythfrontend session, i.e. start "mythfrontend -v gui", navigate to the problematic Watch Recordings screen, exit mythfrontend, and attach the resulting mythfrontend log file.

comment:2 Changed 11 years ago by bob.havlin@…

Definitely possible that there is an invalid drawing. I am using theme: Mythbuntu-26.15

See attached log from: mythfrontend -v gui

Changed 11 years ago by bob.havlin@…

Attachment: mythfe_gui.log added

mythfronted -v gui logfile

comment:3 Changed 11 years ago by Jim Stichnoth

Resolution: Upstream Bug
Status: acceptedclosed

This appears to be a problem with the Mythbuntu theme (despite the lack of clear diagnostics from MythTV), specifically two incorrect elements in recordings-ui.xml:

<area>0,0,0,0</area>

and

<area>0,0,0,31</area>

These are specifying zero width and (in the former case) zero height.

Please bring this to the attention of the Mythbuntu theme developers.

Note: See TracTickets for help on using tickets.