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

QLowEnergyController assertion failure

    XMLWordPrintable

    Details

    • Platform/s:
      Windows
    • Commits:
      d755f7ab67a1f5b345caf09b1fc798d3c6e0ca34 (qt/qtconnectivity/5.13)

      Description

      I have a widgets based desktop application running on Windows 10 that utilizes the BLE support of Qt to communicate with a custom hardware through Bluetooth. After running the application for some time - involving active Bluetooth communication in the background - the following assert is being triggered:

       
      The call stack of the fault is the following in Visual Studio:

      Qt5Cored.dll!qt_message_fatal(QtMsgType __formal, const QMessageLogContext & context, const QString & message) Line 1875
      Qt5Cored.dll!QMessageLogger::fatal(const char * msg, ...) Line 888
      Qt5Cored.dll!qt_assert_x(const char * where, const char * what, const char * file, int line) Line 3255
      Qt5Cored.dll!QArrayData::deallocate(QArrayData * data, unsigned __int64 objectSize, unsigned __int64 alignment) Line 167
      Qt5Cored.dll!QTypedArrayData<char>::deallocate(QArrayData * data) Line 240
      Qt5Cored.dll!QByteArray::operator=(const QByteArray & other) Line 1288
      Qt5Bluetoothd.dll!QLowEnergyControllerPrivate::updateValueOfCharacteristic(unsigned short charHandle, const QByteArray & value, bool appendValue) Line 219
      Qt5Bluetoothd.dll!QLowEnergyControllerPrivateWinRTNew::characteristicChanged(unsigned short charHandle, const QByteArray & data) Line 1573
      Qt5Bluetoothd.dll!QLowEnergyControllerPrivateWinRTNew::registerForValueChanges::__l2::<lambda>(ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic * characteristic, ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattValueChangedEventArgs * args) Line 703
      [External Code]	
      

        Attachments

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

          Activity

            People

            • Assignee:
              owolff Oliver Wolff
              Reporter:
              giszo Zoltan Kovacs
            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes