Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.0
-
None
-
visual studio 2015 x64
-
-
a40fcae40fdc4d7cd658c4b8ab38aad7572f2ecf
Description
I use QModbusRtuSerialMaster to open a serial port without modbus client
(baudrate:115200 , databits: 8 , parity:noparity , stopbits:1 ,timesOfRetry:3 , response time out: 1000ms).
I send message continuously .Of course all are time out .But after a while, the program crashes. It seems due to
" Q_ASSERT_X m_responseTimer , "processQueue", "response timer active" , processQueue() in QModbusRtuSerialMasterPrivate_p.h
Maybe when m_responseTimer starts, writeAdu in processQueue() executes (due to last time out ) so m_sendTimer start again and result in Q_ASSERT_X in processQueue().
Attachments
Issue Links
- duplicates
-
QTBUG-73965 Periodically, an assert will occur indicating that processQueue is in an unexpected state which is Idle
- Closed
For Gerrit Dashboard: QTBUG-73230 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
256482,5 | Rewrite RTU master state machine | 5.13 | qt/qtserialbus | Status: MERGED | +2 | 0 |