[KDE/Mac] More audio strangeness

Jeremy Whiting jpwhiting at kde.org
Fri Jan 16 02:02:00 UTC 2015


Hey all,

I thought I'd look a bit further into debugging why audio isn't working in
kanagram which uses QtMultimedia via qml to play a chalk sound for each new
word. I added some debug lines to the qml and found that the MediPlayer is
getting ServiceMissing error when it's trying to load the media service. I
also seem to be somehow getting both the _debug.dylib and the .dylib qt
libraries loaded somehow as shown here. any idea why that would be? Did I
mistakenly build in non debug mode once (creating the multimedia plugin)
then again in debug mode or something when building my qt5build build of qt
dev branch with the qsp patch?

jpmac:~ jeremy$ otool -L
/Applications/KDE/kanagram.app/Contents/MacOS/kanagram

/Applications/KDE/kanagram.app/Contents/MacOS/kanagram:

/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Quick_debug.5.dylib
(compatibility version 5.5.0, current version 5.5.0)

/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Core_debug.5.dylib
(compatibility version 5.5.0, current version 5.5.0)

/usr/local/lib/libKF5I18n.5.dylib (compatibility version 5.0.0, current
version 5.7.0)

/usr/local/lib/libKF5NewStuff.5.dylib (compatibility version 5.0.0, current
version 5.7.0)

/usr/local/lib/libKF5SonnetCore.5.dylib (compatibility version 5.0.0,
current version 5.7.0)

/usr/local/lib/libKF5Declarative.5.dylib (compatibility version 5.0.0,
current version 5.7.0)

/usr/local/lib/libKF5Crash.5.dylib (compatibility version 5.0.0, current
version 5.7.0)

/usr/local/lib/libKEduVocDocument.5.dylib (compatibility version 5.0.0,
current version 5.0.0)

/usr/local/lib/libKF5XmlGui.5.dylib (compatibility version 5.0.0, current
version 5.7.0)

/usr/local/lib/libKF5Attica.5.dylib (compatibility version 5.0.0, current
version 5.7.0)

/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Qml_debug.5.dylib
(compatibility version 5.5.0, current version 5.5.0)

/usr/local/lib/libKF5ConfigWidgets.5.dylib (compatibility version 5.0.0,
current version 5.7.0)

/usr/local/lib/libKF5Codecs.5.dylib (compatibility version 5.0.0, current
version 5.7.0)

/usr/local/lib/libKF5ConfigGui.5.dylib (compatibility version 5.0.0,
current version 5.7.0)

/usr/local/lib/libKF5Auth.5.dylib (compatibility version 5.0.0, current
version 5.7.0)

/usr/local/lib/libKF5WidgetsAddons.5.dylib (compatibility version 5.0.0,
current version 5.7.0)

/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Widgets_debug.5.dylib
(compatibility version 5.5.0, current version 5.5.0)

/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Gui_debug.5.dylib
(compatibility version 5.5.0, current version 5.5.0)

/usr/local/lib/libKF5KIOCore.5.dylib (compatibility version 5.0.0, current
version 5.7.0)

/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Network_debug.5.dylib
(compatibility version 5.5.0, current version 5.5.0)

/usr/local/lib/libKF5Service.5.dylib (compatibility version 5.0.0, current
version 5.7.0)

/usr/local/lib/libKF5ConfigCore.5.dylib (compatibility version 5.0.0,
current version 5.7.0)

/usr/local/lib/libKF5CoreAddons.5.dylib (compatibility version 5.0.0,
current version 5.7.0)

/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5DBus_debug.5.dylib
(compatibility version 5.5.0, current version 5.5.0)

/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Xml_debug.5.dylib
(compatibility version 5.5.0, current version 5.5.0)

/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version
120.0.0)

/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
1213.0.0)

jpmac:~ jeremy$ export DYLD_PRINT_LIBRARIES=1

jpmac:~ jeremy$ /Applications/KDE/kanagram.app/Contents/MacOS/kanagram

dyld: loaded: /Applications/KDE/kanagram.app/Contents/MacOS/kanagram

dyld: loaded:
/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Quick_debug.5.dylib

dyld: loaded:
/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Core_debug.5.dylib

dyld: loaded: /usr/local/lib/libKF5I18n.5.dylib

dyld: loaded: /usr/local/lib/libKF5NewStuff.5.dylib

dyld: loaded: /usr/local/lib/libKF5SonnetCore.5.dylib

dyld: loaded: /usr/local/lib/libKF5Declarative.5.dylib

dyld: loaded: /usr/local/lib/libKF5Crash.5.dylib

dyld: loaded: /usr/local/lib/libKEduVocDocument.5.dylib

dyld: loaded: /usr/local/lib/libKF5XmlGui.5.dylib

dyld: loaded: /usr/local/lib/libKF5Attica.5.dylib

dyld: loaded:
/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Qml_debug.5.dylib

dyld: loaded: /usr/local/lib/libKF5ConfigWidgets.5.dylib

... Snipped to get through moderation hopefully ...

dyld: loaded:
/Users/jeremy/devel/kde/src/qt5build/qtbase/qml/QtQuick.2/libqtquick2plugin_debug.dylib

dyld: loaded:
/Users/jeremy/devel/kde/src/qt5build/qtbase/qml/QtQuick/Controls/libqtquickcontrolsplugin_debug.dylib

dyld: loaded:
/Users/jeremy/devel/kde/src/qt5build/qtbase/qml/QtMultimedia/libdeclarative_multimedia_debug.dylib

dyld: loaded:
/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5MultimediaQuick_p_debug.5.dylib

dyld: loaded:
/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Multimedia_debug.5.dylib

dyld: loaded:
/Users/jeremy/devel/kde/src/qt5build/qtbase/plugins/mediaservice/libqavfmediaplayer.dylib

dyld: loaded:
/System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation

dyld: loaded:
/System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia

dyld: loaded:
/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5MultimediaWidgets.5.dylib

dyld: loaded:
/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Multimedia.5.dylib

dyld: loaded:
/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Widgets.5.dylib

dyld: loaded:
/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Gui.5.dylib

dyld: loaded:
/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Network.5.dylib

dyld: loaded:
/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Core.5.dylib

dyld: loaded:
/System/Library/Frameworks/AVFoundation.framework/Versions/A/Resources/libAVFAudio.dylib

dyld: loaded:
/System/Library/Frameworks/MediaToolbox.framework/Versions/A/MediaToolbox

dyld: loaded:
/System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox

dyld: loaded:
/System/Library/Frameworks/CoreMediaIO.framework/Versions/A/CoreMediaIO

dyld: loaded:
/System/Library/PrivateFrameworks/MediaControlSender.framework/Versions/A/MediaControlSender

dyld: loaded:
/System/Library/PrivateFrameworks/CoreAVCHD.framework/Versions/A/CoreAVCHD

dyld: loaded:
/System/Library/Frameworks/MediaAccessibility.framework/Versions/A/MediaAccessibility

dyld: loaded:
/System/Library/PrivateFrameworks/Mangrove.framework/Versions/A/Mangrove

dyld: loaded:
/System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC

dyld: loaded:
/System/Library/PrivateFrameworks/NetworkStatistics.framework/Versions/A/NetworkStatistics

dyld: loaded:
/System/Library/PrivateFrameworks/AirPlaySupport.framework/Versions/A/AirPlaySupport

dyld: loaded:
/System/Library/PrivateFrameworks/CoreUtils.framework/Versions/A/CoreUtils

dyld: loaded:
/System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA

dyld: loaded:
/System/Library/PrivateFrameworks/XPCService.framework/Versions/A/XPCService

dyld: loaded:
/System/Library/PrivateFrameworks/AppSandbox.framework/Versions/A/AppSandbox

dyld: loaded: /usr/lib/libsandbox.1.dylib

dyld: loaded:
/System/Library/PrivateFrameworks/AppContainer.framework/Versions/A/AppContainer

dyld: loaded:
/System/Library/PrivateFrameworks/SecCodeWrapper.framework/Versions/A/SecCodeWrapper

dyld: loaded: /usr/lib/libMatch.1.dylib

dyld: loaded:
/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5OpenGL.5.dylib

dyld: loaded: /opt/local/lib/libicui18n.54.dylib

dyld: loaded: /opt/local/lib/libicuuc.54.dylib

dyld: loaded: /opt/local/lib/libicudata.54.dylib

dyld: loaded: /opt/local/lib/libpcre16.0.dylib

objc[33021]: Class NotificationReceiver is implemented in both
/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Widgets_debug.5.dylib
and /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Widgets.5.dylib.
One of the two will be used. Which one is undefined.

QObject::moveToThread: Current thread (0x7f82c9c1e730) is not the object's
thread (0x7f82c9d87bf0).

Cannot move to target thread (0x7f82c9c1e730)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-mac/attachments/20150115/ba913cba/attachment.html>


More information about the kde-mac mailing list