[mythtv-commits] Ticket #12356: 0.27 mythfrontend.re process takes 100% cpu

MythTV noreply at mythtv.org
Sun May 10 18:53:05 UTC 2015


#12356: 0.27 mythfrontend.re process takes 100% cpu
-----------------------------------+----------------------------
 Reporter:  eric.koester@…         |          Owner:  paulh
     Type:  Bug Report - General   |         Status:  assigned
 Priority:  minor                  |      Milestone:  unknown
Component:  MythTV - General       |        Version:  0.27-fixes
 Severity:  medium                 |     Resolution:
 Keywords:  mythfrontend 100% CPU  |  Ticket locked:  0
-----------------------------------+----------------------------

Comment (by Jonathan <jonathan@…>):

 I had this problem very consistently, and was able to produce detailed
 error logs (Hi paulh). I currently work around it by leaving my system on
 the Status Screen (accessible with a jump point programmed into my remote
 as part of the power toggle sequence). The system has never run away when
 in this state.

 If the frontend thread runs away while a commercial detection job is
 running, my little dual-core Zacate processor overheats, panics, halts,
 and reboots.

 Earlier it looked like the problem happened in the loop in lines 273-346
 of https://code.mythtv.org/doxygen/mythdownloadmanager_8cpp_source.html
 Maybe we can add a sleep(1) between lines 274 and 275 just so this doesn't
 crash user systems? Adding a delay between download requests is reasonable
 practice anyway. I don't have a suitable development environment but I'd
 be pleased to run a version with more detailed logging inserted into this
 loop, to try to catch the condition that triggers the runaway.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12356#comment:5>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list