Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-66910

"WARN: QCoreApplication::postEvent: Unexpected null receiver" since 5.10.1

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.9.4, 5.10.1
    • Fix Version/s: 5.9.7, 5.11.2
    • Component/s: Multimedia
    • Labels:
      None
    • Environment:
      Qt 5.10.1
      Clang 5.0.1

      Linux 4.15.7

      Description

      Since I updated from 5.10.0 to 5.10.1, I have a few of those warnings appearing when running my application.

      It's not on "deletelater()" in my user code, but it seems to come from the multimedia module.

       

      Stack trace:

       

      1  QMessageLogger::warning                                                        qlogging.cpp                   582  0x6928f878     
      2  QCoreApplication::postEvent                                                    qcoreapplication.cpp           1440 0x6943236b     
      3  QObject::deleteLater                                                           qobject.cpp                    2168 0x69452cd3     
      4  QSampleCache::loadingRelease                                                   qsamplecache_p.cpp             144  0x5a84254a     
      5  QSample::loadIfNecessary                                                       qsamplecache_p.cpp             292  0x5a8427c2     
      6  QSampleCache::requestSample                                                    qsamplecache_p.cpp             189  0x5a843492     
      7  QSoundEffectPrivate::setSource                                                 qsoundeffect_qaudio_p.cpp      136  0x5a847dc1     
      8  QSoundEffect::setSource                                                        qsoundeffect.cpp               176  0x5a840f1e     
      9  Sound::Sound                                                                   Sound.cpp                      32   0x10aaf5b      
      10 ***                                                                            ***                            19   0x12f4995      
      11 ***                                                                            ***                            45   0x12f7ba9      
      12 ***                                                                            ***                            1326 0x127c04f      
      13 ***                                                                            ***                            1145 0x127b7ea      
      14 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString>, void, void (***:: *)(QString const&)>::call qobjectdefs_impl.h             136  0x16e0dd5      
      15 QtPrivate::FunctionPointer<void (***:: *)(QString const&)>::call<QtPrivate::List<QString>, void>                        qobjectdefs_impl.h             169  0x16fa3af      
      16 QtPrivate::QSlotObject<void (***:: *)(QString const&), QtPrivate::List<QString>, void>::impl                            qobjectdefs_impl.h             398  0x16e8712      
      17 QtPrivate::QSlotObjectBase::call                                               qobjectdefs_impl.h             378  0x694556ad     
      18 QMetaObject::activate                                                          qobject.cpp                    3750 0x694556ad     
      19 QMetaObject::activate                                                          qobject.cpp                    3629 0x69455b70     
      20 ***                                                                            moc_***.cpp                    179  0x13d08fe      
      21 ***                                                                            ***                            260  0x10f1d78      
      22 ***:qt_static_metacall                                                         moc_***.cpp                    114  0x13d064f      
      23 QMetaObject::activate                                                          qobject.cpp                    3767 0x69455852     
      24 QMetaObject::activate                                                          qobject.cpp                    3629 0x69455b70     
      25 QAbstractButton::clicked                                                       moc_qabstractbutton.cpp        308  0x235dc797     
      26 QAbstractButtonPrivate::emitClicked                                            qabstractbutton.cpp            414  0x235dc9b2     
      27 QAbstractButtonPrivate::click                                                  qabstractbutton.cpp            407  0x235ddf50     
      28 QAbstractButton::mouseReleaseEvent                                             qabstractbutton.cpp            1011 0x235de1f1     
      29 QWidget::event                                                                 qwidget.cpp                    8897 0x23529590     
      30 QAbstractButton::event                                                         qabstractbutton.cpp            968  0x235df3ac     
      31 QPushButton::event                                                             qpushbutton.cpp                682  0x2366cf9c     
      32 QApplicationPrivate::notify_helper                                             qapplication.cpp               3732 0x234e8326     
      33 QApplication::notify                                                           qapplication.cpp               3208 0x234ef94d     
      34 QCoreApplication::notifyInternal2                                              qcoreapplication.cpp           1050 0x6942c1c4     
      35 QCoreApplication::sendSpontaneousEvent                                         qcoreapplication.h             237  0x234eedeb     
      36 QApplicationPrivate::sendMouseEvent                                            qapplication.cpp               2709 0x234eedeb     
      37 QWidgetWindow::handleMouseEvent                                                qwidgetwindow.cpp              661  0x2353ed74     
      38 QWidgetWindow::event                                                           qwidgetwindow.cpp              280  0x23540ee7     
      39 QApplicationPrivate::notify_helper                                             qapplication.cpp               3732 0x234e8326     
      40 QApplication::notify                                                           qapplication.cpp               3104 0x234ef66e     
      41 QCoreApplication::notifyInternal2                                              qcoreapplication.cpp           1050 0x6942c1c4     
      42 QCoreApplication::sendSpontaneousEvent                                         qcoreapplication.h             237  0x2f8ad0b8     
      43 QGuiApplicationPrivate::processMouseEvent                                      qguiapplication.cpp            1960 0x2f8ad0b8     
      44 QGuiApplicationPrivate::processWindowSystemEvent                               qguiapplication.cpp            1741 0x2f8aeddd     
      45 QWindowSystemInterface::sendWindowSystemEvents                                 qwindowsysteminterface.cpp     984  0x2f8910f3     
      46 QWindowsGuiEventDispatcher::sendPostedEvents                                   qwindowsguieventdispatcher.cpp 82   0xe75d6e79     
      47 qt_internal_proc                                                               qeventdispatcher_win.cpp       237  0x6947f917     
      48 USER32!CallWindowProcW                                                                                             0x7ffb08edbc50 
      49 USER32!DispatchMessageW                                                                                            0x7ffb08edb5cf 
      50 QEventDispatcherWin32::processEvents                                           qeventdispatcher_win.cpp       629  0x6947f07e     
      51 QWindowsGuiEventDispatcher::processEvents                                      qwindowsguieventdispatcher.cpp 74   0xe75d6e57     
      52 QEventLoop::processEvents                                                      qeventloop.cpp                 134  0x6942a83b     
      53 QEventLoop::exec                                                               qeventloop.cpp                 212  0x6942ac59     
      54 QCoreApplication::exec                                                         qcoreapplication.cpp           1338 0x69433a9a     
      55 QGuiApplication::exec                                                          qguiapplication.cpp            1687 0x2f8a4df5     
      56 QApplication::exec                                                             qapplication.cpp               2917 0x234e8208     
      57 main                                                                           ***.cpp                        303  0x403288
      

       

      Some more info at https://forum.qt.io/topic/88432/warn-qcoreapplication-postevent-unexpected-null-receiver-since-5-10-1/6

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              • Assignee:
                valentyn.doroshchuk Valentyn Doroshchuk
                Reporter:
                phallot phallot
              • Votes:
                3 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes