Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
5.3.2
-
None
-
OSX 10.9.4
Description
I’m calling “QList<QSerialPortInfo> ports = QSerialPortInfo::availablePorts();” once every two seconds. After an intermittent amount of time, from a few seconds up to several minutes, my program crashes and Qt Creator’s debugger and Apple's crash log both point to this static method.
This is appears to be a regression. 5.3.1 did not have this problem.
Relevant crash log is here:
===============================================
Thread 7 Crashed:: SerialEnumerationThread
0 libobjc.A.dylib 0x00007fff8e670097 objc_msgSend + 23
1 QtCore 0x0000000100f10944 QCFString::toQString(__CFString const*) + 52
2 QtSerialPort 0x000000010c1a0e86 searchStringProperty(unsigned int, QCFString const&) + 102
3 QtSerialPort 0x000000010c19fe23 QSerialPortInfo::availablePorts() + 387
4 libSerial.dylib 0x000000010c833bab SerialConnection::availableDevices() + 123