Uploaded image for project: 'Apache PLC4X'
  1. Apache PLC4X
  2. PLC4X-344

spi.transaction.RequestTransactionManager is not thread safe

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.0, 0.9.0, 0.10.0, 0.9.1
    • 0.11.0
    • Driver-S7, PLC4J
    • None
    • Siemens IOT 2050, debian. PLC4J via kotlin

    Description

      When running a s7 connection to an PLC sometimes the connection halts and this error is thrown in the log. It seems like the processWorklog function uses a thread safe queue but is itself not threadsafe throwing this error.

       

      We're using an single connection to the plc. Reading two datablocks. Each datablock is read by a different handler running in a separate thread but using the same instance of PLC4J.

      Attachments

        1. errorConnect.png
          184 kB
          Robin
        2. PLC4X-344.patch
          4 kB
          Łukasz Dywicki

        Activity

          People

            ldywicki Łukasz Dywicki
            VhmRobin Robin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: