[mythtv-commits] Ticket #9447: MacOS X - Qt binaries log spam

MythTV noreply at mythtv.org
Tue May 10 12:10:49 UTC 2011


#9447: MacOS X - Qt binaries log spam
-------------------------------------------------+-------------------------
 Reporter:  Craig Treleaven <ctreleaven@…>       |          Owner:  nigel
     Type:  Bug Report                           |         Status:
 Priority:  minor                                |  accepted
Component:  Ports - OSX                          |      Milestone:  unknown
 Severity:  medium                               |        Version:
 Keywords:                                       |  0.24-fixes
                                                 |     Resolution:
                                                 |  Ticket locked:  0
-------------------------------------------------+-------------------------

Comment (by nigel):

 export DYLD_PRINT_LIBRARIES=1 reveals that these problems are due to Qt
 plugins:
 {{{

 2011-05-10 21:54:16.279 LIRC, Error: Failed to connect to Unix socket
 '/var/run/lirc/lircd'
                         eno: No such file or directory (2)
 dyld: loaded:
 /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib
 2011-05-10 21:54:16.289 UDPListener: bound to port 6948
 2011-05-10 21:54:16.342 Desktop video mode: 1280x800 60.000 Hz
 2011-05-10 21:54:16.355 Enabled verbose msgs:  important general
 2011-05-10 21:54:16.358 Loading en_us translation for module mythfrontend
 dyld: loaded: /Volumes/Backups/MythTV/.osx-
 packager/build/plugins/imageformats/libqgif.dylib
 dyld: loaded: /Volumes/Backups/MythTV/.osx-
 packager/build/lib/libQtGui.4.dylib
 dyld: loaded: /Volumes/Backups/MythTV/.osx-
 packager/build/lib/libQtCore.4.dylib
 objc[95787]: Class QMacSoundDelegate is implemented in both
 /Volumes/Backups/MythTV/MythFrontend.app/Contents/MacOS/../Frameworks/QtGui.framework/QtGui
 and /Volumes/Backups/MythTV/.osx-packager/build/lib/libQtGui.4.dylib. One
 of the two will be used. Which one is undefined.

 QObject::moveToThread: Current thread (0x4481a0) is not the object's
 thread (0x500b00).
 Cannot move to target thread (0x500b00)

 On Mac OS X, you might be loading two sets of Qt binaries into the same
 process. Check that all plugins are compiled against the right Qt
 binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of
 binaries are being loaded.
 dyld: loaded: /Volumes/Backups/MythTV/.osx-
 packager/build/plugins/imageformats/libqico.dylib
 QObject::moveToThread: Current thread (0x4481a0) is not the object's
 thread (0x500b00).
 Cannot move to target thread (0x500b00)
 }}}
 i.e. moving .osx-packager/build/plugins out of the way removes the
 warning.
 [[BR]]
 The only plugins that we load are the image ones, and
 http://code.mythtv.org/trac/ticket/8898 says that QImage uses
 QCoreApplication::libraryPaths() to locate its plugins. The doc for that
 class now hints that qt.conf can override the defaults.

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


More information about the mythtv-commits mailing list