[mythtv-commits] Ticket #10890: Mythfrontend tries every 30s to start mythlogserver

MythTV noreply at mythtv.org
Sun Nov 18 18:07:28 UTC 2012


#10890: Mythfrontend tries every 30s to start mythlogserver
----------------------------------+-----------------------------
 Reporter:  jyavenard             |          Owner:  beirdo
     Type:  Bug Report - General  |         Status:  assigned
 Priority:  minor                 |      Milestone:  unknown
Component:  MythTV - General      |        Version:  Master Head
 Severity:  medium                |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+-----------------------------

Comment (by Craig Treleaven <ctreleaven@…>):

 Summary -

 The good news--launchd on OS X WILL start up mythlogserver when another
 myth program accesses TCP 35327 (used by the myth's logging system).

 The bad news--no logs are created except for mythlogserver.  mythlogserver
 times out (after 5 minutes) even though a Myth app is running.
 mythlogserver crashes after the 5 minute timeout for some reason.

 Details -

 I created a launchd plist--no --daemon flag--for mythlogserver, attached,
 based on documentation from Apple:

 http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html#//apple_ref/doc/uid
 /10000172i-SW7-BCIEDDBJ

 I installed myth 0.26 (code as of ~Oct 10, 2012) using an unreleased
 MacPorts portfile.  Loaded the plist with:

  sudo launchctl load -w
 /Library/LaunchDaemons/org.mythtv.mythlogserver.plist

 Note that mythlogserver is not launched at this point.  Then started
 mythtv-setup.  Immediately, mythlogserver started up.  The launchd plist
 redirects std out and std err to a file and mythlogserver began writing
 it's log to the normal log file.  However, no log file appeared for
 mythtv-setup.  Log from launched is attached and I've added comments about
 the crashes, etc.  One of the crash reports is attached--the others are
 substantially the same.

 Later, I quit and relaunched mythtv-setup while mythlogserver was already
 running.  From watching Activity Monitor, two copies of mythlogserver
 appeared with one copy disappearing almost immediately.

 Please let me know if there are additional tests that I should run.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10890#comment:8>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list