[mythtv-users] Deadlock in backend since latest .25-fixes update.

jrh jharbestonus at gmail.com
Wed Jul 4 18:14:22 UTC 2012



On Jul 4, 2012, at 1:49 PM, jrh wrote:

> 
> As indicated in the title, I am currently experiencing deadlocks in the backend as below:
> 
> I am on the latest .25-fixes built for mythbuntu: 2:0.25.0+fixes.20120703.1282eb3
> 
> 
> 
> 
> Prior to doing the updates yesterday, I had never had this problem. My last update prior yesterday was around middle of last week.
> 
> Regards, and Help!
> 
> 
> 2012-07-04 13:27:26.632652 C  Qt version: compile: 4.8.1, runtime: 4.8.1
> 2012-07-04 13:27:26.632658 N  Enabled verbose msgs:  general
> 2012-07-04 13:27:26.632687 N  Setting Log Level to LOG_INFO
> 2012-07-04 13:27:26.632725 I  Added logging to the console
> 2012-07-04 13:27:26.632732 I  Added database logging to table logging
> 2012-07-04 13:27:26.632758 N  Setting up SIGHUP handler
> 2012-07-04 13:27:26.632880 N  Using runtime prefix = /Applications/Mythbackend.25/MythFrontend.app/Contents/Resources
> 2012-07-04 13:27:26.632889 N  Using configuration directory = /Users/NNN/.mythtv
> 2012-07-04 13:27:26.632986 I  Assumed character encoding: en_US.UTF-8
> 2012-07-04 13:27:26.633521 E  Unable to read configuration file mysql.txt
> 2012-07-04 13:27:26.633736 N  Empty LocalHostName.
> 2012-07-04 13:27:26.633745 I  Using localhost value of NNNNNN
> 2012-07-04 13:27:26.633922 I  Testing network connectivity to '192.168.1.11'
> 2012-07-04 13:27:26.635161 I  Starting IO manager (read)
> 2012-07-04 13:27:26.635194 I  Starting process signal handler
> 2012-07-04 13:27:26.635220 I  Starting process manager
> 2012-07-04 13:27:26.635228 I  Starting IO manager (write)
> 2012-07-04 13:27:26.820446 N  Setting QT default locale to en_US
> 2012-07-04 13:27:26.820454 I  Current locale en_US
> 2012-07-04 13:27:26.820519 N  Reading locale defaults from /Applications/Mythbackend.25/MythFrontend.app/Contents/Resources/share/mythtv//locales/en_us.xml
> 2012-07-04 13:27:26.932859 I  Binding to UDP 127.0.0.1:6948
> 2012-07-04 13:27:26.932944 I  Binding to UDP 192.168.1.10:6948
> 2012-07-04 13:27:26.933044 I  Binding to UDP [::1]:6948
> 2012-07-04 13:27:26.933109 I  Binding to UDP 192.168.1.255:6948
> 2012-07-04 13:27:27.043061 N  Desktop video mode: 2560x1440 60.000 Hz
> 2012-07-04 13:27:27.096672 I  Listening on TCP 127.0.0.1:6547
> 2012-07-04 13:27:27.096753 I  Listening on TCP 192.168.1.10:6547
> 2012-07-04 13:27:27.096843 I  Listening on TCP [::1]:6547
> 2012-07-04 13:27:27.467568 E  RAOP Conn: Failed to read key from: /Users/NNN/.mythtv/RAOPKey.rsa
> 2012-07-04 13:27:27.467587 E  RAOP Device: Aborting startup - no key found.
> 2012-07-04 13:27:27.501160 I  Loading en_us translation for module mythfrontend
> 2012-07-04 13:27:27.544186 I  Using Frameless Window
> 2012-07-04 13:27:27.545846 I  Using Full Screen Window
> 2012-07-04 13:27:27.705790 I  Trying the OpenGL painter
> 2012-07-04 13:27:27.705814 W  OpenGL: Could not determine whether Sync to VBlank is enabled.
> 2012-07-04 13:27:27.705820 I  OpenGL: Forcing swap interval for OS X.
> 2012-07-04 13:27:27.850695 I  OpenGL1: Fragment program support available
> 2012-07-04 13:27:27.850743 I  OpenGL: OpenGL vendor  : ATI Technologies Inc.
> 2012-07-04 13:27:27.850748 I  OpenGL: OpenGL renderer: ATI Radeon HD 6770M OpenGL Engine
> 2012-07-04 13:27:27.850751 I  OpenGL: OpenGL version : 2.1 ATI-7.18.18
> 2012-07-04 13:27:27.850758 I  OpenGL: Max texture size: 16384 x 16384
> 2012-07-04 13:27:27.850762 I  OpenGL: Max texture units: 8
> 2012-07-04 13:27:27.850785 I  OpenGL: Direct rendering: Yes
> 2012-07-04 13:27:27.850790 I  OpenGL: PixelBufferObject support available
> 2012-07-04 13:27:27.850796 I  OpenGL: Initialised MythRenderOpenGL
> 2012-07-04 13:27:28.645533 I  Current MythTV Schema Version (DBSchemaVer): 1299
> 2012-07-04 13:27:29.526158 N  Registering Internal as a media playback plugin.
> 2012-07-04 13:27:29.600429 I  Loading en_us translation for module mytharchive
> 2012-07-04 13:27:29.611765 N  Registering WebBrowser as a media playback plugin.
> 2012-07-04 13:27:29.611812 I  Loading en_us translation for module mythbrowser
> 2012-07-04 13:27:29.690775 I  Loading en_us translation for module mythgallery
> 2012-07-04 13:27:29.701780 I  Loading en_us translation for module mythgame
> 2012-07-04 13:27:29.824917 I  Current MythMusic Schema Version (MusicDBSchemaVer): 1019
> 2012-07-04 13:27:29.863789 I  Locking input devices
> 2012-07-04 13:27:30.026464 I  Loading en_us translation for module mythmusic
> 2012-07-04 13:27:30.037996 I  Loading en_us translation for module mythnews
> 2012-07-04 13:27:30.054210 I  Loading en_us translation for module mythweather
> 2012-07-04 13:27:30.059152 I  Loading en_us translation for module mythzoneminder
> 2012-07-04 13:27:30.064004 I  Listening on TCP 127.0.0.1:6546
> 2012-07-04 13:27:30.064091 I  Listening on TCP 192.168.1.10:6546
> 2012-07-04 13:27:30.064197 I  Listening on TCP [::1]:6546
> 2012-07-04 13:27:30.113309 N  Found mainmenu.xml for theme 'MythCenter-wide'
> 2012-07-04 13:27:30.178571 I  Unlocking input devices
> 2012-07-04 13:27:30.322032 I  Bonjour: Service registration complete: name 'Mythfrontend on NNNNNN' type '_mythfrontend._tcp.' domain: 'local.'
> 2012-07-04 13:27:30.334115 I  MythCoreContext: Connecting to backend server: 192.168.1.11:6543 (try 1 of 1)
> 2012-07-04 13:27:37.334137 E  MythSocket(10d921aa0:64): readStringList: Error, timed out after 7000 ms.
> 2012-07-04 13:27:37.334217 C  Protocol version check failure.
> 			The response to MYTH_PROTO_VERSION was empty.
> 			This happens when the backend is too busy to respond,
> 			or has deadlocked in due to bugs or hardware failure.
> 2012-07-04 13:27:37.334378 I  MythCoreContext: Connecting to backend server: 192.168.1.11:6543 (try 1 of 1)
> 2012-07-04 13:27:44.336759 E  MythSocket(10d921aa0:64): readStringList: Error, timed out after 7000 ms.
> 2012-07-04 13:27:44.336819 C  Protocol version check failure.
> 			The response to MYTH_PROTO_VERSION was empty.
> 			This happens when the backend is too busy to respond,
> 			or has deadlocked in due to bugs or hardware failure.
> 2012-07-04 13:27:44.336964 I  MythCoreContext: Connecting to backend server: 192.168.1.11:6543 (try 1 of 1)
> 2012-07-04 13:27:51.337343 E  MythSocket(10d945b10:64): readStringList: Error, timed out after 7000 ms.
> 2012-07-04 13:27:51.337418 C  Protocol version check failure.
> 			The response to MYTH_PROTO_VERSION was empty.
> 			This happens when the backend is too busy to respond,
> 			or has deadlocked in due to bugs or hardware failure.
> 2012-07-04 13:27:51.352666 I  MythCoreContext: Connecting to backend server: 192.168.1.11:6543 (try 1 of 1)
> 2012-07-04 13:27:58.355877 E  MythSocket(11b711870:67): readStringList: Error, timed out after 7000 ms.
> 2012-07-04 13:27:58.355937 C  Protocol version check failure.
> 			The response to MYTH_PROTO_VERSION was empty.
> 			This happens when the backend is too busy to respond,
> 			or has deadlocked in due to bugs or hardware failure.
> 2012-07-04 13:27:58.356076 I  MythCoreContext: Connecting to backend server: 192.168.1.11:6543 (try 1 of 1)
> 2012-07-04 13:27:58.471281 W  PlaybackBox: SortedList is Empty
> 2012-07-04 13:28:05.360459 E  MythSocket(107fcd7b0:67): readStringList: Error, timed out after 7000 ms.
> 2012-07-04 13:28:05.360519 C  Protocol version check failure.
> 			The response to MYTH_PROTO_VERSION was empty.
> 			This happens when the backend is too busy to respond,
> 			or has deadlocked in due to bugs or hardware failure.
> 2012-07-04 13:28:05.360617 I  MythCoreContext: Connecting to backend server: 192.168.1.11:6543 (try 1 of 1)
> 2012-07-04 13:28:12.361274 E  MythSocket(107fcd7b0:67): readStringList: Error, timed out after 7000 ms.
> 2012-07-04 13:28:12.361331 C  Protocol version check failure.
> 			The response to MYTH_PROTO_VERSION was empty.
> 			This happens when the backend is too busy to respond,
> 			or has deadlocked in due to bugs or hardware failure.
> 2012-07-04 13:28:12.361456 I  MythCoreContext: Connecting to backend server: 192.168.1.11:6543 (try 1 of 1)
> 2012-07-04 13:28:19.366499 E  MythSocket(11bd4ee10:67): readStringList: Error, timed out after 7000 ms.
> 2012-07-04 13:28:19.366560 C  Protocol version check failure.
> 			The response to MYTH_PROTO_VERSION was empty.
> 			This happens when the backend is too busy to respond,
> 			or has deadlocked in due to bugs or hardware failure.
> 2012-07-04 13:28:24.367002 I  MythCoreContext: Connecting to backend server: 192.168.1.11:6543 (try 1 of 1)
> 2012-07-04 13:28:31.370514 E  MythSocket(11bd4ee10:65): readStringList: Error, timed out after 7000 ms.
> 2012-07-04 13:28:31.370587 C  Protocol version check failure.
> 			The response to MYTH_PROTO_VERSION was empty.
> 			This happens when the backend is too busy to respond,
> 			or has deadlocked in due to bugs or hardware failure.
> 2012-07-04 13:28:31.370769 I  MythCoreContext: Connecting to backend server: 192.168.1.11:6543 (try 1 of 1)
> 2012-07-04 13:28:38.376631 E  MythSocket(1095152c0:65): readStringList: Error, timed out after 7000 ms.
> 2012-07-04 13:28:38.376684 C  Protocol version check failure.
> 			The response to MYTH_PROTO_VERSION was empty.
> 			This happens when the backend is too busy to respond,
> 			or has deadlocked in due to bugs or hardware failure.
> 2012-07-04 13:28:40.822183 N  Resuming idle timer
> 2012-07-04 13:28:40.830227 N  Resuming idle timer
> 2012-07-04 13:28:45.073124 C  MThread prolog was never run!
> 2012-07-04 13:28:45.073141 C  MThread epilog was never run!
> 2012-07-04 13:28:45.073618 I  Bonjour: De-registering service '_mythfrontend._tcp.' on 'Mythfrontend on NNNNNN'
> 2012-07-04 13:28:45.073683 I  RAOP Device: Cleaning up.
> 2012-07-04 13:28:45.073699 I  AirPay: Cleaning up.
> 2012-07-04 13:28:45.073706 I  Deleting UPnP client...
> 2012-07-04 13:28:45.969984 I  OpenGL1: Deleting OpenGL Resources
> 2012-07-04 13:28:45.970058 I  OpenGL: Deleting OpenGL Resources
> 2012-07-04 13:28:46.003573 I  Waiting for threads to exit.
> Error: Not all threads were shut down properly: 
> Thread AppleRemote is still running
> 
> NNNNNN:~ NNN$ 
> 

Additional information:

Restarting the mythbackend service doesn't correct the problem. Also, I tried stopping mythbackend, stopping mysql, then starting mysql and mythbackend, and no luck.

Rebooting did fix it, though I don't know why it would and not restarting the above services.

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120704/a754059a/attachment.html>


More information about the mythtv-users mailing list