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

crash after tst_QCoapClient::setMinimumTokenSize

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P1: Critical P1: Critical
    • None
    • 6.11
    • CoAP
    • None

      This was seen in a nightly healthcheck:

      agent:2025/09/11 22:13:19 build.go:413: PASS   : tst_QCoapClient::setMinimumTokenSize(in_range)
      agent:2025/09/11 22:13:19 build.go:413: *** Signal 5: Backtracing from 0x10377eaa0... done ***
      agent:2025/09/11 22:13:19 build.go:413: *** Program crashed: System trap at 0x000000010377eaa0 ***
      agent:2025/09/11 22:13:19 build.go:413: Thread 0 crashed:
      agent:2025/09/11 22:13:19 build.go:413:  0      0x000000010377eaa0 std::__1::vector<QObject*, std::__1::allocator<QObject*>>::erase(std::__1::__wrap_iter<QObject* const*>, std::__1::__wrap_iter<QObject* const*>) + 76 in QtCore
      agent:2025/09/11 22:13:19 build.go:413:  1 [ra] 0x000000010377e8cc QtPrivate::BindingStatusOrList::removeObject(QObject*) + 204 in QtCore
      agent:2025/09/11 22:13:19 build.go:413:  2 [ra] 0x000000010377ed60 QThreadPrivate::removeObjectWithPendingBindingStatusChange(QObject*) + 132 in QtCore
      agent:2025/09/11 22:13:19 build.go:413:  3 [ra] 0x00000001035e6498 QObject::~QObject() + 256 in QtCore
      agent:2025/09/11 22:13:19 build.go:413:  4 [ra] 0x0000000100ea0ec4 QCoapConnection::~QCoapConnection() + 28 in QtCoap
      agent:2025/09/11 22:13:19 build.go:413:  5 [ra] 0x0000000100e95548 QCoapQUdpConnection::~QCoapQUdpConnection() + 28 in QtCoap
      agent:2025/09/11 22:13:19 build.go:413:  6 [ra] 0x0000000100e88f8c QCoapQUdpConnection::~QCoapQUdpConnection() + 28 in QtCoap
      agent:2025/09/11 22:13:19 build.go:413:  7 [ra] 0x0000000100e88fb8 QCoapQUdpConnection::~QCoapQUdpConnection() + 28 in QtCoap
      agent:2025/09/11 22:13:19 build.go:413:  8 [ra] 0x0000000100e96540 QCoapClientPrivate::setConnection(QCoapConnection*) + 128 in QtCoap
      agent:2025/09/11 22:13:19 build.go:413:  9 [ra] 0x0000000100a54834 QCoapClientForSocketErrorTests::QCoapClientForSocketErrorTests() + 132 in qcoapclient at /Users/qt/work/qt/qtcoap/tests/auto/qcoapclient/tst_qcoapclient.cpp:136:24
      agent:2025/09/11 22:13:19 build.go:413:     134|     {
      agent:2025/09/11 22:13:19 build.go:413:     135|         QCoapClientPrivate *privateClient = static_cast<QCoapClientPrivate *>(d_func());
      agent:2025/09/11 22:13:19 build.go:413:   * 136|         privateClient->setConnection(new QCoapQUdpConnectionSocketTests());
      agent:2025/09/11 22:13:19 build.go:413:        |                        ^
      agent:2025/09/11 22:13:19 build.go:413:     137|     }
      agent:2025/09/11 22:13:19 build.go:413:     138|
      agent:2025/09/11 22:13:19 build.go:413: 10 [ra] 0x0000000100a51948 QCoapClientForSocketErrorTests::QCoapClientForSocketErrorTests() + 28 in qcoapclient at /Users/qt/work/qt/qtcoap/tests/auto/qcoapclient/tst_qcoapclient.cpp:134:5
      agent:2025/09/11 22:13:19 build.go:413:     132| public:
      agent:2025/09/11 22:13:19 build.go:413:     133|     QCoapClientForSocketErrorTests()
      agent:2025/09/11 22:13:19 build.go:413:   * 134|     {                                                                
      agent:2025/09/11 22:13:19 build.go:413:        |    ^
      agent:2025/09/11 22:13:19 build.go:413:     135|         QCoapClientPrivate *privateClient = static_cast<QCoapClientPrivate *>(d_func());
      agent:2025/09/11 22:13:19 build.go:413:     136|         privateClient->setConnection(new QCoapQUdpConnectionSocketTests());
      agent:2025/09/11 22:13:19 build.go:413: 11 [ra] 0x0000000100a512bc tst_QCoapClient::setMinimumTokenSize() + 248 in qcoapclient at /Users/qt/work/qt/qtcoap/tests/auto/qcoapclient/tst_qcoapclient.cpp:1081:40
      agent:2025/09/11 22:13:19 build.go:413:    1079| 
      agent:2025/09/11 22:13:19 build.go:413:    1080|     for (int i = 0; i < 20; ++i) {
      agent:2025/09/11 22:13:19 build.go:413:   *1081|         QCoapClientForSocketErrorTests client;                       
      agent:2025/09/11 22:13:19 build.go:413:        |                                        ^
      agent:2025/09/11 22:13:19 build.go:413:    1082|         client.setMinimumTokenSize(minTokenSize);
      agent:2025/09/11 22:13:19 build.go:413:    1083|
      agent:2025/09/11 22:13:19 build.go:413: 12 [ra] 0x0000000100a51e5c tst_QCoapClient::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 476 in qcoapclient at /Users/qt/work/qt/qtcoap_standalone_tests/tests/auto/qcoapclient/qcoapclient_autogen/include/tst_qcoapclient.moc:187:22
      agent:2025/09/11 22:13:19 build.go:413:     185|         case 27: _t->multicast_blockwise(); break;
      agent:2025/09/11 22:13:19 build.go:413:     186|         case 28: _t->setMinimumTokenSize_data(); break;
      agent:2025/09/11 22:13:19 build.go:413:   * 187|         case 29: _t->setMinimumTokenSize(); break;                   
      agent:2025/09/11 22:13:19 build.go:413:        |                      ^
      agent:2025/09/11 22:13:19 build.go:413:     188|         default: ;
      agent:2025/09/11 22:13:19 build.go:413:     189|         }
      

      Integration: https://testresults.qt.io/coin/integration/qt/qt5/tasks/nightly1757669415
      Full log: https://testresults.qt.io/coin/api/log/qt/qtcoap/cd34e66979af23ea15ad14a5af372945864e2e32/MacOSMacOS_15arm64MacOSMacOS_15arm64Clangqtci-macos-15-arm-104-3b7a4bTestOnly/70df9ff392bca4876ba101da866c7778f14f172a/forceRun/test_1757674241/log.txt.gz

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

            cnn Qt Core & Network
            jujokini Jukka Jokiniva
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes