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

tst_QInAppStore::registerUnknownProduct() crash on 10.10

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • None
    • 5.9.0 Alpha
    • Purchasing

    Description

      https://codereview.qt-project.org/#/c/174657/
      http://testresults.qt.io/logs/qt/qtpurchasing/b11be19fee497b24f5ed774baee133e187aec243/OSXOSX_10_10x86_64OSXOSX_10_10x86_64Clangqtci-osx-10.10-x86_64DebugAndRelease_Release/379a67d6c01b1c00029110da2ce45a9fafb2a0d9/testrun_1477638501/testlog.txt.gz

      /Users/qt/work/qt/qtpurchasing/tests/auto/purchasing/qinappstore/target_wrapper.sh  ./tst_qinappstore -o /Users/qt/work/testresults/tests/auto/purchasing/qinappstore837074990,xml -o -,txt
       ********* Start testing of tst_QInAppStore *********
       Config: Using QtTest library 5.9.0, Qt 5.9.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 7.0.2 (clang-700.1.81) (Apple))
       PASS   : tst_QInAppStore::initTestCase()
       FAIL!  : tst_QInAppStore::registerUnknownProduct() Caught unhandled exception
          Loc: [qtestcase.cpp(1780)]
       Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 2ms
       ********* Finished testing of tst_QInAppStore *********
       2016-10-28 10:23:19.669 tst_qinappstore[512:3660] An uncaught exception was raised
       2016-10-28 10:23:19.670 tst_qinappstore[512:3660] *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]
       2016-10-28 10:23:19.670 tst_qinappstore[512:3660] (
       	0   CoreFoundation                      0x00007fff9416103c __exceptionPreprocess + 172
       	1   libobjc.A.dylib                     0x00007fff8fc7276e objc_exception_throw + 43
       	2   CoreFoundation                      0x00007fff9404ce3f -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 383
       	3   CoreFoundation                      0x00007fff94062abb +[NSDictionary dictionaryWithObjects:forKeys:count:] + 59
       	4   StoreKit                            0x00000001024ff384 -[SKServiceProxy serviceConnection] + 613
       	5   StoreKit                            0x00000001024ff544 -[SKServiceProxy objectProxyWithErrorHandler:] + 33
       	6   StoreKit                            0x0000000102502ac2 -[SKPaymentQueue _addObserverWithBlock:] + 138
       	7   StoreKit                            0x0000000102502b40 -[SKPaymentQueue _registerForNotifications] + 88
       	8   QtPurchasing                        0x00000001024ed9b5 _ZNK11QInAppStore17registeredProductERK7QString + 3541
       	9   QtPurchasing                        0x00000001024ef012 _ZNK11QInAppStore17registeredProductERK7QString + 9266
       	10  tst_qinappstore                     0x0000000101a3abca _ZN15tst_QInAppStore22registerUnknownProductEv + 298
       	11  QtCore                              0x0000000102133804 _ZNK11QMetaMethod6invokeEP7QObjectN2Qt14ConnectionTypeE22QGenericReturnArgument16QGenericArgumentS5_S5_S5_S5_S5_S5_S5_S5_S5_ + 1348
       	12  QtTest                              0x00000001024b2098 _ZN5QTest16qtest_qParseArgsEiPPcb + 8104
       	13  QtTest                              0x00000001024b2c84 _ZN5QTest16qtest_qParseArgsEiPPcb + 11156
       	14  QtTest                              0x00000001024b3ab4 _ZN5QTest15toPrettyUnicodeEPKti + 1492
       	15  QtTest                              0x00000001024b46d7 _ZN5QTest5qExecEP7QObjectiPPc + 1143
       	16  tst_qinappstore                     0x0000000101a3b69c main + 124
       	17  libdyld.dylib                       0x00007fff932c15c9 start + 1
       	18  ???                                 0x0000000000000005 0x0 + 5
       )
       2016-10-28 10:23:19.671 tst_qinappstore[512:3660] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]'
       *** First throw call stack:
       (
       	0   CoreFoundation                      0x00007fff9416103c __exceptionPreprocess + 172
       	1   libobjc.A.dylib                     0x00007fff8fc7276e objc_exception_throw + 43
       	2   CoreFoundation                      0x00007fff9404ce3f -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 383
       	3   CoreFoundation                      0x00007fff94062abb +[NSDictionary dictionaryWithObjects:forKeys:count:] + 59
       	4   StoreKit                            0x00000001024ff384 -[SKServiceProxy serviceConnection] + 613
       	5   StoreKit                            0x00000001024ff544 -[SKServiceProxy objectProxyWithErrorHandler:] + 33
       	6   StoreKit                            0x0000000102502ac2 -[SKPaymentQueue _addObserverWithBlock:] + 138
       	7   StoreKit                            0x0000000102502b40 -[SKPaymentQueue _registerForNotifications] + 88
       	8   QtPurchasing                        0x00000001024ed9b5 _ZNK11QInAppStore17registeredProductERK7QString + 3541
       	9   QtPurchasing                        0x00000001024ef012 _ZNK11QInAppStore17registeredProductERK7QString + 9266
       	10  tst_qinappstore                     0x0000000101a3abca _ZN15tst_QInAppStore22registerUnknownProductEv + 298
       	11  QtCore                              0x0000000102133804 _ZNK11QMetaMethod6invokeEP7QObjectN2Qt14ConnectionTypeE22QGenericReturnArgument16QGenericArgumentS5_S5_S5_S5_S5_S5_S5_S5_S5_ + 1348
       	12  QtTest                              0x00000001024b2098 _ZN5QTest16qtest_qParseArgsEiPPcb + 8104
       	13  QtTest                              0x00000001024b2c84 _ZN5QTest16qtest_qParseArgsEiPPcb + 11156
       	14  QtTest                              0x00000001024b3ab4 _ZN5QTest15toPrettyUnicodeEPKti + 1492
       	15  QtTest                              0x00000001024b46d7 _ZN5QTest5qExecEP7QObjectiPPc + 1143
       	16  tst_qinappstore                     0x0000000101a3b69c main + 124
       	17  libdyld.dylib                       0x00007fff932c15c9 start + 1
       	18  ???                                 0x0000000000000005 0x0 + 5
       )
       libc++abi.dylib: terminating with uncaught exception of type NSException
       make: *** [check] Abort trap: 6
      

      COIN is broken now, can't try again in COIN to reproduce it for the second time.

      Attachments

        Issue Links

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

          Activity

            People

              qtandroidteam Qt Android Team
              liaqi Liang Qi
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes