[mythtv-users] Ticket #9819 - seems to affect current 0.25.2 in linux

Michael T. Dean mtdean at thirdcontact.com
Sat Jul 21 15:41:00 UTC 2012


On 07/21/2012 11:27 AM, John Drescher wrote:
> I was experiencing the issue that is described in ticket Ticket #9819
> in 64 bit gentoo-linux at mythtv-0.24.1 however after upgrading to
> 0.25.X (now at the latest git as of 1 hour ago) the problem is much
> worse.
>
> john at jmd0 ~ $ mythfrontend --version
> Please attach all output as a file in bug reports.
> MythTV Version : v0.25.2-3-gf0e2ad8
> MythTV Branch : fixes/0.25
> Network Protocol : 72
> Library API : 0.25.20120506-1
> QT Version : 4.8.2
> Options compiled in:
>   linux debug use_hidesyms using_alsa using_oss using_backend
> using_bindings_perl using_bindings_python using_bindings_php using_dvb
> using_frontend using_hdhomerun using_hdpvr using_ivtv using_libcrypto
> using_libxml2 using_libudf using_mheg using_opengl_video
> using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11
> using_xrandr using_bindings_perl using_bindings_python
> using_bindings_php using_mythtranscode using_opengl using_vdpau
> using_ffmpeg_threads using_mheg using_libass using_libxml2
> using_libudf
>
>
> john at jmd0 ~ $ mythfrontend
> 2012-07-21 11:16:56.841290 C  mythfrontend version: fixes/0.25
> [v0.25.2-3-gf0e2ad8] www.mythtv.org
> 2012-07-21 11:16:56.841319 C  Qt version: compile: 4.8.2, runtime: 4.8.2
> 2012-07-21 11:16:56.841322 N  Enabled verbose msgs:  general
> 2012-07-21 11:16:56.841346 N  Setting Log Level to LOG_INFO
> 2012-07-21 11:16:56.841389 I  Added logging to the console
> 2012-07-21 11:16:56.841396 I  Added database logging to table logging
> 2012-07-21 11:16:56.841466 N  Setting up SIGHUP handler
> 2012-07-21 11:16:56.841584 N  Using runtime prefix = /usr
> 2012-07-21 11:16:56.841656 N  Using configuration directory = /home/john/.mythtv
> 2012-07-21 11:16:56.841817 I  Assumed character encoding:
> 2012-07-21 11:16:56.841825 W  This application expects to be running a
> locale that specifies a UTF-8 codeset, and many features may behave
> improperly with your current language settings. Please set the LC_ALL
> or LC_CTYPE, and LANG variable(s) in the environment in which this
> program is executed to include a UTF-8 codeset (such as
> 'en_US.UTF-8').
> 2012-07-21 11:16:56.869843 N  Empty LocalHostName.
> 2012-07-21 11:16:56.869857 I  Using localhost value of jmd0.comcast.net
> 2012-07-21 11:16:56.870015 I  Testing network connectivity to 'jmd0'
> 2012-07-21 11:16:56.870284 I  Starting process signal handler
> 2012-07-21 11:16:56.870302 I  Starting process manager
> 2012-07-21 11:16:56.871470 I  Starting IO manager (write)
> 2012-07-21 11:16:56.871495 I  Starting IO manager (read)
> 2012-07-21 11:16:57.030546 N  Setting QT default locale to EN_US
> 2012-07-21 11:16:57.030615 I  Current locale EN_US
> 2012-07-21 11:16:57.030672 N  Reading locale defaults from
> /usr/share/mythtv//locales/en_us.xml
> 2012-07-21 11:16:57.121607 I  ScreenSaverX11Private: DPMS is active.
> 2012-07-21 11:16:57.129405 N  Desktop video mode: 1920x1080 59.934 Hz
> 2012-07-21 11:16:57.202385 I  Listening on TCP 127.0.0.1:6547
> 2012-07-21 11:16:57.202471 I  Listening on TCP 192.168.1.110:6547
> 2012-07-21 11:16:57.813935 I  Loading en_us translation for module mythfrontend
> 2012-07-21 11:16:57.819522 I  Binding to UDP 127.0.0.1:6948
> 2012-07-21 11:16:57.819580 I  Binding to UDP 192.168.1.110:6948
> 2012-07-21 11:16:57.819629 I  Binding to UDP 192.168.1.255:6948
> 2012-07-21 11:16:57.854676 I  Using Frameless Window
> 2012-07-21 11:16:57.854736 I  Using Full Screen Window
> 2012-07-21 11:16:57.977378 I  Trying the OpenGL painter
> 2012-07-21 11:16:57.978047 I  OpenGL: Sync to VBlank is enabled (good!)
> 2012-07-21 11:16:58.129232 I  OpenGL1: Fragment program support available
> 2012-07-21 11:16:58.129304 I  OpenGL: OpenGL vendor  : NVIDIA Corporation
> 2012-07-21 11:16:58.129308 I  OpenGL: OpenGL renderer: GeForce GT 520/PCIe/SSE2
> 2012-07-21 11:16:58.129311 I  OpenGL: OpenGL version : 4.2.0 NVIDIA 302.17
> 2012-07-21 11:16:58.129318 I  OpenGL: Max texture size: 16384 x 16384
> 2012-07-21 11:16:58.129322 I  OpenGL: Max texture units: 4
> 2012-07-21 11:16:58.129326 I  OpenGL: Direct rendering: Yes
> 2012-07-21 11:16:58.129329 I  OpenGL: PixelBufferObject support available
> 2012-07-21 11:16:58.129331 I  OpenGL: Initialised MythRenderOpenGL
> 2012-07-21 11:16:58.337490 I  Current MythTV Schema Version (DBSchemaVer): 1299
> 2012-07-21 11:16:58.859441 N  Registering Internal as a media playback plugin.
> 2012-07-21 11:16:58.860500 A  MMUnix:CheckMountable: DBus interface
> error: Not connected to D-Bus server
> 2012-07-21 11:16:59.360619 A  MMUnix:CheckMountable: DBus interface
> error: Not connected to D-Bus server
> 2012-07-21 11:16:59.860710 A  MMUnix:CheckMountable: DBus interface
> error: Not connected to D-Bus server
> 2012-07-21 11:17:00.360791 A  MMUnix:CheckMountable: DBus interface
> error: Not connected to D-Bus server
> 2012-07-21 11:17:00.860871 A  MMUnix:CheckMountable: DBus interface
> error: Not connected to D-Bus server
> 2012-07-21 11:17:01.360950 A  MMUnix:CheckMountable: DBus interface
> error: Not connected to D-Bus server
> 2012-07-21 11:17:01.861029 A  MMUnix:CheckMountable: DBus interface
> error: Not connected to D-Bus server
> 2012-07-21 11:17:02.361108 A  MMUnix:CheckMountable: DBus interface
> error: Not connected to D-Bus server
> 2012-07-21 11:17:02.861186 A  MMUnix:CheckMountable: DBus interface
> error: Not connected to D-Bus server
> 2012-07-21 11:17:03.361262 A  MMUnix:CheckMountable: DBus interface
> error: Not connected to D-Bus server
> 2012-07-21 11:17:03.878653 I  Loading en_us translation for module mytharchive
> 2012-07-21 11:17:03.913467 I  Current MythMusic Schema Version
> (MusicDBSchemaVer): 1019
> 2012-07-21 11:17:03.925089 I  Loading en_us translation for module mythmusic
> 2012-07-21 11:17:03.930953 I  Loading en_us translation for module mythnews
> 2012-07-21 11:17:04.006220 N  Found mainmenu.xml for theme 'MythCenter-wide'
> 2012-07-21 11:17:04.194568 I  MythCoreContext: Connecting to backend
> server: 192.168.1.110:6543 (try 1 of 1)
> 2012-07-21 11:17:04.195268 I  Using protocol version 72
> ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to
> objects owned by a different thread. Current thread 11e2a90. Receiver
> '' (of type 'PreviewGenerator') was created in thread 1a7fcf0", file
> kernel/qcoreapplication.cpp, line 501
> Aborted
>
> The ticket mentions that this is a windows bug but does not mention linux
> http://code.mythtv.org/trac/ticket/9819

The bug is in how MythTV is using Qt.  They /symptom/ of the bug--that 
the frontend shuts down with an assert failure--can occur on any 
platform, but will occur on Windows, by default, because the Windows Qt 
builds are debug builds.  If you bulid a non-debug version of Qt, 
mythfrontend shouldn't shut down (but, then again, the code is broken, 
so you may have some issues with mythfrontend and mythmusic interraction).

> At 0.24 I was able to modify the patch in that ticket and the problem
> went away. When I get time I will try that for my 0.25.

All of the patches on that ticket are broken for various reasons--which 
is why they're not incorporated into MythTV.  Instead, just build a 
non-debug version of Qt.

Mike


More information about the mythtv-users mailing list