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

QModbusRtuSerialMaster Q_ASSERT_X "processQueue", "response timer active"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.13.0 RC 1
    • 5.12.0
    • SerialBus: MOD Bus
    • None
    • visual studio 2015 x64
    • Windows
    • a40fcae40fdc4d7cd658c4b8ab38aad7572f2ecf

      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().

        For Gerrit Dashboard: QTBUG-73230
        # Subject Branch Project Status CR V

            heimrich Karsten Heimrich
            magicturtle jiming huang
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes