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

QModbusRtuSerialMaster Q_ASSERT_X "processQueue", "response timer active"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.13.0 RC 1
    • 5.12.0
    • SerialBus: MOD Bus
    • None
    • visual studio 2015 x64
    • Windows
    • 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

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes