RSATom / QmlVlc

[ABANDONED] libvlc wrapper for Qt Quick 2/Qml
Other
140 stars 56 forks source link

Many Possible Memory Leak in qmlvlc using valgrind check. #19

Closed kingctan closed 10 years ago

kingctan commented 10 years ago

Maybe you can try valgrind check. below is first 7 lines of my check result.

2 bytes in 2 blocks are possibly lost in loss record 144 of 62,856
  in QmlVlcConfig::createLibvlcInstance() in lib/QmlVlc/QmlVlcConfig.cpp:51
  1: calloc in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so
  2: var_Inherit in /usr/lib/libvlccore.so.7.0.0
  3: var_Create in /usr/lib/libvlccore.so.7.0.0
  4: libvlc_InternalInit in /usr/lib/libvlccore.so.7.0.0
  5: libvlc_new in /usr/lib/libvlc.so.5.4.0
  6: QmlVlcConfig::createLibvlcInstance() in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/lib/QmlVlc/QmlVlcConfig.cpp:51" >lib/QmlVlc/QmlVlcConfig.cpp:51</a>
  7: QmlVlcPlayer::QmlVlcPlayer(QObject*) in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/lib/QmlVlc/QmlVlcPlayer.cpp:9" >lib/QmlVlc/QmlVlcPlayer.cpp:9</a>
  8: QQmlPrivate::QQmlElement&lt;QmlVlcPlayer&gt;::QQmlElement() in <a href="file:///usr/include/qt5/QtQml/qqmlprivate.h:85" >/usr/include/qt5/QtQml/qqmlprivate.h:85</a>
  9: void QQmlPrivate::createInto&lt;QmlVlcPlayer&gt;(void*) in /home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/linuxktv
  10: QQmlVME::run(QList&lt;QQmlError&gt;*, QQmlVME::Interrupt const&amp;, void* const**) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  11: QQmlVME::execute(QList&lt;QQmlError&gt;*, QQmlVME::Interrupt const&amp;) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  12: QQmlComponentPrivate::beginCreate(QQmlContextData*) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  13: QQmlComponent::beginCreate(QQmlContext*) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  14: QQmlComponent::create(QQmlContext*) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  15: QQuickView::continueExecute() in /usr/lib/i386-linux-gnu/libQt5Quick.so.5.2.1
  16: /usr/lib/i386-linux-gnu/libQt5Quick.so.5.2.1
  17: QtQuick2ApplicationViewer::setMainQmlFile(QString const&amp;) in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/qtquick2applicationviewer/qtquick2applicationviewer.cpp:71" >qtquick2applicationviewer/qtquick2applicationviewer.cpp:71</a>
  18: main in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/main.cpp:303" >main.cpp:303</a>

2 bytes in 2 blocks are possibly lost in loss record 145 of 62,856
  in QmlVlcConfig::createLibvlcInstance() in lib/QmlVlc/QmlVlcConfig.cpp:51
  1: calloc in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so
  2: var_Inherit in /usr/lib/libvlccore.so.7.0.0
  3: var_Create in /usr/lib/libvlccore.so.7.0.0
  4: libvlc_InternalInit in /usr/lib/libvlccore.so.7.0.0
  5: libvlc_new in /usr/lib/libvlc.so.5.4.0
  6: QmlVlcConfig::createLibvlcInstance() in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/lib/QmlVlc/QmlVlcConfig.cpp:51" >lib/QmlVlc/QmlVlcConfig.cpp:51</a>
  7: QmlVlcPlayer::QmlVlcPlayer(QObject*) in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/lib/QmlVlc/QmlVlcPlayer.cpp:9" >lib/QmlVlc/QmlVlcPlayer.cpp:9</a>
  8: QQmlPrivate::QQmlElement&lt;QmlVlcPlayer&gt;::QQmlElement() in <a href="file:///usr/include/qt5/QtQml/qqmlprivate.h:85" >/usr/include/qt5/QtQml/qqmlprivate.h:85</a>
  9: void QQmlPrivate::createInto&lt;QmlVlcPlayer&gt;(void*) in /home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/linuxktv
  10: QQmlVME::run(QList&lt;QQmlError&gt;*, QQmlVME::Interrupt const&amp;, void* const**) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  11: QQmlVME::execute(QList&lt;QQmlError&gt;*, QQmlVME::Interrupt const&amp;) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  12: QQmlComponentPrivate::beginCreate(QQmlContextData*) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  13: QQmlComponent::beginCreate(QQmlContext*) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  14: QQmlComponent::create(QQmlContext*) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  15: QQuickView::continueExecute() in /usr/lib/i386-linux-gnu/libQt5Quick.so.5.2.1
  16: /usr/lib/i386-linux-gnu/libQt5Quick.so.5.2.1
  17: QtQuick2ApplicationViewer::setMainQmlFile(QString const&amp;) in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/qtquick2applicationviewer/qtquick2applicationviewer.cpp:71" >qtquick2applicationviewer/qtquick2applicationviewer.cpp:71</a>
  18: main in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/main.cpp:303" >main.cpp:303</a>

2 bytes in 2 blocks are possibly lost in loss record 146 of 62,856
  in QmlVlcConfig::createLibvlcInstance() in lib/QmlVlc/QmlVlcConfig.cpp:51
  1: calloc in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so
  2: var_Inherit in /usr/lib/libvlccore.so.7.0.0
  3: var_Create in /usr/lib/libvlccore.so.7.0.0
  4: libvlc_InternalInit in /usr/lib/libvlccore.so.7.0.0
  5: libvlc_new in /usr/lib/libvlc.so.5.4.0
  6: QmlVlcConfig::createLibvlcInstance() in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/lib/QmlVlc/QmlVlcConfig.cpp:51" >lib/QmlVlc/QmlVlcConfig.cpp:51</a>
  7: QmlVlcPlayer::QmlVlcPlayer(QObject*) in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/lib/QmlVlc/QmlVlcPlayer.cpp:9" >lib/QmlVlc/QmlVlcPlayer.cpp:9</a>
  8: QQmlPrivate::QQmlElement&lt;QmlVlcPlayer&gt;::QQmlElement() in <a href="file:///usr/include/qt5/QtQml/qqmlprivate.h:85" >/usr/include/qt5/QtQml/qqmlprivate.h:85</a>
  9: void QQmlPrivate::createInto&lt;QmlVlcPlayer&gt;(void*) in /home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/linuxktv
  10: QQmlVME::run(QList&lt;QQmlError&gt;*, QQmlVME::Interrupt const&amp;, void* const**) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  11: QQmlVME::execute(QList&lt;QQmlError&gt;*, QQmlVME::Interrupt const&amp;) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  12: QQmlComponentPrivate::beginCreate(QQmlContextData*) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  13: QQmlComponent::beginCreate(QQmlContext*) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  14: QQmlComponent::create(QQmlContext*) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  15: QQuickView::continueExecute() in /usr/lib/i386-linux-gnu/libQt5Quick.so.5.2.1
  16: /usr/lib/i386-linux-gnu/libQt5Quick.so.5.2.1
  17: QtQuick2ApplicationViewer::setMainQmlFile(QString const&amp;) in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/qtquick2applicationviewer/qtquick2applicationviewer.cpp:71" >qtquick2applicationviewer/qtquick2applicationviewer.cpp:71</a>
  18: main in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/main.cpp:303" >main.cpp:303</a>

2 bytes in 2 blocks are possibly lost in loss record 147 of 62,856
  in vlc::basic_player::open(libvlc_instance_t*) in lib/QmlVlc/libvlc_wrapper/vlc_basic_player.cpp:61
  1: calloc in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so
  2: var_Inherit in /usr/lib/libvlccore.so.7.0.0
  3: var_Create in /usr/lib/libvlccore.so.7.0.0
  4: libvlc_media_player_new in /usr/lib/libvlc.so.5.4.0
  5: vlc::basic_player::open(libvlc_instance_t*) in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/lib/QmlVlc/libvlc_wrapper/vlc_basic_player.cpp:61" >lib/QmlVlc/libvlc_wrapper/vlc_basic_player.cpp:61</a>
  6: vlc::player::open(libvlc_instance_t*) in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/lib/QmlVlc/libvlc_wrapper/vlc_player.cpp:66" >lib/QmlVlc/libvlc_wrapper/vlc_player.cpp:66</a>
  7: QmlVlcPlayer::QmlVlcPlayer(QObject*) in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/lib/QmlVlc/QmlVlcPlayer.cpp:11" >lib/QmlVlc/QmlVlcPlayer.cpp:11</a>
  8: QQmlPrivate::QQmlElement&lt;QmlVlcPlayer&gt;::QQmlElement() in <a href="file:///usr/include/qt5/QtQml/qqmlprivate.h:85" >/usr/include/qt5/QtQml/qqmlprivate.h:85</a>
  9: void QQmlPrivate::createInto&lt;QmlVlcPlayer&gt;(void*) in /home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/linuxktv
  10: QQmlVME::run(QList&lt;QQmlError&gt;*, QQmlVME::Interrupt const&amp;, void* const**) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  11: QQmlVME::execute(QList&lt;QQmlError&gt;*, QQmlVME::Interrupt const&amp;) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  12: QQmlComponentPrivate::beginCreate(QQmlContextData*) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  13: QQmlComponent::beginCreate(QQmlContext*) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  14: QQmlComponent::create(QQmlContext*) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  15: QQuickView::continueExecute() in /usr/lib/i386-linux-gnu/libQt5Quick.so.5.2.1
  16: /usr/lib/i386-linux-gnu/libQt5Quick.so.5.2.1
  17: QtQuick2ApplicationViewer::setMainQmlFile(QString const&amp;) in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/qtquick2applicationviewer/qtquick2applicationviewer.cpp:71" >qtquick2applicationviewer/qtquick2applicationviewer.cpp:71</a>
  18: main in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/main.cpp:303" >main.cpp:303</a>

8 bytes in 1 blocks are possibly lost in loss record 3,921 of 62,856
  in vlc::basic_player::play() in lib/QmlVlc/libvlc_wrapper/vlc_basic_player.cpp:79
  1: malloc in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so
  2: realloc in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so
  3: var_AddCallback in /usr/lib/libvlccore.so.7.0.0
  4: libvlc_media_player_play in /usr/lib/libvlc.so.5.4.0
  5: vlc::basic_player::play() in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/lib/QmlVlc/libvlc_wrapper/vlc_basic_player.cpp:79" >lib/QmlVlc/libvlc_wrapper/vlc_basic_player.cpp:79</a>
  6: vlc::player::internalPlay(int) in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/lib/QmlVlc/libvlc_wrapper/vlc_player.cpp:198" >lib/QmlVlc/libvlc_wrapper/vlc_player.cpp:198</a>
  7: vlc::player::play(unsigned int) in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/lib/QmlVlc/libvlc_wrapper/vlc_player.cpp:225" >lib/QmlVlc/libvlc_wrapper/vlc_player.cpp:225</a>
  8: QmlVlcPlayerProxy::play(QString const&amp;) in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/lib/QmlVlc/QmlVlcPlayerProxy.cpp:150" >lib/QmlVlc/QmlVlcPlayerProxy.cpp:150</a>
  9: SongsQueue::play2play() in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/songsqueue.h:524" >songsqueue.h:524</a>
  10: SongsQueue::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/moc_songsqueue.cpp:291" >/home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/moc_songsqueue.cpp:291</a>
  11: SongsQueue::qt_metacall(QMetaObject::Call, int, void**) in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/moc_songsqueue.cpp:419" >/home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/moc_songsqueue.cpp:419</a>
  12: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) in /usr/lib/i386-linux-gnu/libQt5Core.so.5.2.1
  13: /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  14: /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  15: /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  16: /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  17: 0x14b74984
  18: /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  19: /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  20: QQmlBoundSignalExpression::evaluate(void**) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  21: /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  22: QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  23: /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  24: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) in /usr/lib/i386-linux-gnu/libQt5Core.so.5.2.1
  25: QMetaCallEvent::placeMetaCall(QObject*) in /usr/lib/i386-linux-gnu/libQt5Core.so.5.2.1

8 bytes in 1 blocks are possibly lost in loss record 3,922 of 62,856
  in vlc::basic_player::play() in lib/QmlVlc/libvlc_wrapper/vlc_basic_player.cpp:79
  1: malloc in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so
  2: realloc in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so
  3: var_AddCallback in /usr/lib/libvlccore.so.7.0.0
  4: libvlc_media_player_play in /usr/lib/libvlc.so.5.4.0
  5: vlc::basic_player::play() in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/lib/QmlVlc/libvlc_wrapper/vlc_basic_player.cpp:79" >lib/QmlVlc/libvlc_wrapper/vlc_basic_player.cpp:79</a>
  6: vlc::player::internalPlay(int) in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/lib/QmlVlc/libvlc_wrapper/vlc_player.cpp:198" >lib/QmlVlc/libvlc_wrapper/vlc_player.cpp:198</a>
  7: vlc::player::play(unsigned int) in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/lib/QmlVlc/libvlc_wrapper/vlc_player.cpp:225" >lib/QmlVlc/libvlc_wrapper/vlc_player.cpp:225</a>
  8: QmlVlcPlayerProxy::play(QString const&amp;) in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/lib/QmlVlc/QmlVlcPlayerProxy.cpp:150" >lib/QmlVlc/QmlVlcPlayerProxy.cpp:150</a>
  9: SongsQueue::play2play() in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/songsqueue.h:524" >songsqueue.h:524</a>
  10: SongsQueue::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/moc_songsqueue.cpp:291" >/home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/moc_songsqueue.cpp:291</a>
  11: SongsQueue::qt_metacall(QMetaObject::Call, int, void**) in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/moc_songsqueue.cpp:419" >/home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/moc_songsqueue.cpp:419</a>
  12: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) in /usr/lib/i386-linux-gnu/libQt5Core.so.5.2.1
  13: /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  14: /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  15: /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  16: /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  17: 0x14b74984
  18: /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  19: /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  20: QQmlBoundSignalExpression::evaluate(void**) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  21: /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  22: QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  23: /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  24: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) in /usr/lib/i386-linux-gnu/libQt5Core.so.5.2.1
  25: QMetaCallEvent::placeMetaCall(QObject*) in /usr/lib/i386-linux-gnu/libQt5Core.so.5.2.1

10 bytes in 2 blocks are possibly lost in loss record 4,210 of 62,856
  in vlc::basic_player::open(libvlc_instance_t*) in lib/QmlVlc/libvlc_wrapper/vlc_basic_player.cpp:61
  1: malloc in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so
  2: strdup in /build/buildd/eglibc-2.19/string/strdup.c:42
  3: var_Create in /usr/lib/libvlccore.so.7.0.0
  4: libvlc_media_player_new in /usr/lib/libvlc.so.5.4.0
  5: vlc::basic_player::open(libvlc_instance_t*) in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/lib/QmlVlc/libvlc_wrapper/vlc_basic_player.cpp:61" >lib/QmlVlc/libvlc_wrapper/vlc_basic_player.cpp:61</a>
  6: vlc::player::open(libvlc_instance_t*) in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/lib/QmlVlc/libvlc_wrapper/vlc_player.cpp:66" >lib/QmlVlc/libvlc_wrapper/vlc_player.cpp:66</a>
  7: QmlVlcPlayer::QmlVlcPlayer(QObject*) in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/lib/QmlVlc/QmlVlcPlayer.cpp:11" >lib/QmlVlc/QmlVlcPlayer.cpp:11</a>
  8: QQmlPrivate::QQmlElement&lt;QmlVlcPlayer&gt;::QQmlElement() in <a href="file:///usr/include/qt5/QtQml/qqmlprivate.h:85" >/usr/include/qt5/QtQml/qqmlprivate.h:85</a>
  9: void QQmlPrivate::createInto&lt;QmlVlcPlayer&gt;(void*) in /home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/linuxktv
  10: QQmlVME::run(QList&lt;QQmlError&gt;*, QQmlVME::Interrupt const&amp;, void* const**) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  11: QQmlVME::execute(QList&lt;QQmlError&gt;*, QQmlVME::Interrupt const&amp;) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  12: QQmlComponentPrivate::beginCreate(QQmlContextData*) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  13: QQmlComponent::beginCreate(QQmlContext*) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  14: QQmlComponent::create(QQmlContext*) in /usr/lib/i386-linux-gnu/libQt5Qml.so.5.2.1
  15: QQuickView::continueExecute() in /usr/lib/i386-linux-gnu/libQt5Quick.so.5.2.1
  16: /usr/lib/i386-linux-gnu/libQt5Quick.so.5.2.1
  17: QtQuick2ApplicationViewer::setMainQmlFile(QString const&amp;) in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/qtquick2applicationviewer/qtquick2applicationviewer.cpp:71" >qtquick2applicationviewer/qtquick2applicationviewer.cpp:71</a>
  18: main in <a href="file:///home/linuxktv/projects/versoins/LinuxKTV/build-linuxktv-Desktop-Debug/../linuxktv/main.cpp:303" >main.cpp:303</a>
RSATom commented 10 years ago

it seems QmlVlcPlayer is not destroyed by some reason. Are you sure destroy instance of QQuickView on application close?