Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.13.0 Beta3
-
-
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
For Gerrit Dashboard: QTBUG-75907 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
264332,7 | winrt: Avoid threading issues when handling characteristic changes | 5.13 | qt/qtconnectivity | Status: MERGED | +2 | 0 |
264334,6 | winrt: Add service thread logging | 5.13 | qt/qtconnectivity | Status: MERGED | +2 | 0 |