Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1779

QAudioOutput auto test is unstable and has been black listed for Qt 5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 1.2.1
    • 1.2.x
    • Multimedia
    • None
    • 06605e32dae33931575e8329778d81d591789837

    Description

      QAudioOutput auto test is unstable. It sometimes fails on Linux for no apparent reason, and hangs on Mac OS X. Mac logs are attached below (test aborted after not progressing overnight).

      ********* Start testing of tst_QAudioOutput *********
      Config: Using QTest library 5.0.0, Qt 5.0.0
      PASS   : tst_QAudioOutput::initTestCase()
      PASS   : tst_QAudioOutput::format()
      PASS   : tst_QAudioOutput::invalidFormat()
      PASS   : tst_QAudioOutput::bufferSize()
      PASS   : tst_QAudioOutput::notifyInterval()
      ^CQFATAL : tst_QAudioOutput::disableNotifyInterval() Received signal 2
      FAIL!  : tst_QAudioOutput::disableNotifyInterval() Received a fatal error.
         Loc: [Unknown file(0)]
      Totals: 5 passed, 1 failed, 0 skipped
      ********* Finished testing of tst_QAudioOutput *********
      Abort trap
      

      Attaching to the process with GDB gives the following backtrace.

      (gdb) bt
      #0  0x00007fff871cff8a in __semwait_signal ()
      #1  0x00007fff871d3da1 in _pthread_cond_wait ()
      #2  0x000000010008d450 in QWaitCondition::wait ()
      #3  0x0000000101032529 in QAudioOutputPrivate::stop ()
      #4  0x0000000100010fe4 in tst_QAudioOutput::disableNotifyInterval (this=0x7fff5fbff5c0) at /Users/repo/qt/qtmultimediakit/tests/auto/qaudiooutput/tst_qaudiooutput.cpp:408
      #5  0x000000010001613f in tst_QAudioOutput::qt_static_metacall (_o=0x7fff5fbff5c0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff5fbfe990) at tst_qaudiooutput.moc:77
      #6  0x00000001001a724c in QMetaMethod::invoke ()
      #7  0x00000001001a96dc in QMetaObject::invokeMethod ()
      #8  0x000000010003b59f in QTest::qInvokeTestMethodDataEntry ()
      #9  0x000000010003c2bc in QTest::qInvokeTestMethod ()
      #10 0x000000010003ca5a in QTest::qExec ()
      #11 0x0000000100005f50 in main (argc=1, argv=0x7fff5fbff640) at /Users/repo/qt/qtmultimediakit/tests/auto/qaudiooutput/tst_qaudiooutput.cpp:960
      

      Attachments

        Activity

          People

            jorabbe Jonas Rabbe (closed Nokia identity) (Inactive)
            jorabbe Jonas Rabbe (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: