[mythtv-commits] Ticket #12229: After S3 sleep or FE Idle event connection is dead

MythTV noreply at mythtv.org
Sun Apr 9 18:23:58 UTC 2017


#12229: After S3 sleep or FE Idle event connection is dead
---------------------------------------+-----------------------------
 Reporter:  warpme@…                   |          Owner:  pbennett
     Type:  Bug Report - General       |         Status:  assigned
 Priority:  minor                      |      Milestone:  unknown
Component:  MythTV - General           |        Version:  Master Head
 Severity:  medium                     |     Resolution:
 Keywords:  S3 sleep event connection  |  Ticket locked:  0
---------------------------------------+-----------------------------

Comment (by warpme@…):

 Peter, excellent work! I put this on 3 production systems and dead event
 connection issue seems to be resolved. I'm testing by following procedure:

 1.put into sleep

 2.wait few hours

 3.resume

 4.just after resume i'm entering guide and press REC to schedule
 recording. If event connection is alive - user should see visual feedback
 on guide when BE schedules recording. With Your patch I see visual
 feedback on guide so control connection seems to be alive after sleep.

 Looking on fe log I frequently see following:


 {{{
 2017-04-09 18:54:11.047319 I Received notification \'Konto E-Mail:\',
 timeout 8
 2017-04-09 20:01:34.334545 N MythCoreContext::connectionClosed(): Event
 socket closed. No connection to the backend.
 2017-04-09 20:01:34.810830 I MythCoreContext::ConnectCommandSocket():
 Connecting to backend server: 192.168.1.254:6543 (try 1 of 1)
 2017-04-09 20:01:48.625222 I New DB connection, total: 1
 2017-04-09 20:01:48.815823 W Container \'guidegrid\' is missing child
 \'longdatetext\'
 2017-04-09 20:02:00.563011 E DB Error (UPDATE/INSERT record):
 Query was:
 INSERT INTO record SET type = ?, search = ?, recpriority = ?, prefinput =
 ?, startoffset = ?, endoffset = ?, dupmethod = ?, dupin = ?, filter = ?,
 inactive = ?, profile = ?, recgroup = ?, recgroupid = ?, storagegroup = ?,
 playgroup = ?, autoexpire = ?, maxepisodes = ?, maxnewest = ?,
 autocommflag = ?, autotranscode = ?, transcoder = ?, autouserjob1 = ?,
 autouserjob2 = ?, autouserjob3 = ?, autouserjob4 = ?, autometadata = ?,
 parentid = ?, title = ?, subtitle = ?, season = ?, episode = ?,
 description = ?, category = ?, starttime = ?, startdate = ?, endtime = ?,
 enddate = ?, seriesid = ?, programid = ?, inetref = ?, chanid = ?, station
 = ?, findday = ?, findtime = ?, findid = ?, next_record = ?, last_record =
 ?, last_delete = ?, avg_delay = ? ;
 Bindings were:
 :AUTOCOMMFLAG=false, :AUTOEXPIRE=true, :AUTOMETADATA=true,
 :AUTOTRANSCODE=false,
 :AUTOUSERJOB1=false, :AUTOUSERJOB2=false, :AUTOUSERJOB3=false,
 :AUTOUSERJOB4=false, :AVGDELAY=100, :CATEGORY="film", :CHANID=11104,
 :DESCRIPTION="Po stopnieniu wszystkich lodowcĂłw Ziemia zmienia siÄ™ w
 wielki ocean. Ludzie, ktĂłrym udaĹ‚o siÄ™ przetrwać kataklizm, mieszkajÄ
 na Ĺ‚odziach i sztucznych atolach. NiektĂłrzy z ocalaĹ‚ych wierzÄ
 w
 istnienie mitycznego suchego lÄ
du. Ĺťeglarz (Kevin Costner) naleĹźy do
 pierwszego pokolenia modyfikowanych genetycznie ludzi wyposaĹźonych w
 skrzela. Odrzucony przez zwykłych śmiertelników, şyje samotnie na
 łodzi. Pewnego dnia zawija do jednej ze skonstruowanych sztucznie
 pĹ‚ywajÄ
cych osad. W tym samym czasie pojawiajÄ
 siÄ™ tam oceaniczni
 piraci, Smokersi, dowodzeni przez bezwzględnego Deacona (Dennis Hopper).
 NapadajÄ
 na mieszkaĹ„cĂłw i ograbiajÄ
 ich. W ogĂłlnym zamieszaniu
 Ĺťeglarzowi udaje siÄ™ uciec z pomocÄ
 pięknej Helen (Jeanne Tripplehorn)
 i jej podopiecznej, Enoli (Tina Majorino). Razem podÄ
ĹźajÄ
 w dalszÄ
 drogę. Legenda głosi, şe dziewczynka ma na pleca
 2017-04-09 20:02:26.445855 I Received notification \'TVN24 HD\', timeout
 10
 }}}

 It this expected thing?

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


More information about the mythtv-commits mailing list