Git Product home page Git Product logo

Comments (5)

dvader avatar dvader commented on July 18, 2024

I also recently got the following error:
1485184870:634270 conn[192.168.2.51]: state CONN_TTY deadlock.

from mbusd.

3cky avatar 3cky commented on July 18, 2024

Hmm, thanks for reporting. Since mbusd is single-threaded application, re-entrancy shouldn't be an issue. I will look into it, but could you provide some context? What OS and hardware are you using (especially tty), also some info about client app and typical requests pattern.

from mbusd.

dvader avatar dvader commented on July 18, 2024

Linux 2.4.21-rmk1 #1 Mon Mar 5 15:00:39 CET 2012 armv4l unknown
Cirrus Logic ARM EP7312-CBZ http://ca.mouser.com/ProductDetail/Cirrus-Logic/EP7312-CBZ/?qs=bUPhaerQQeGSZ7MA5Dwd%2FA%3D%3D
I am not using RxTx control, it's a full duplex UART.
I am using qModmaster https://sourceforge.net/projects/qmodmaster/ as a client and I am running two of them with 123 register request every second.
Here's a sample request and response:
INFO 2017-02-17T16:33:33.685 ..\qModMaster\src\modbusadapter.cpp @ 379 Rx Data : "26 73 00 00 00 f9 01 03 f6 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0d 00 02 00 00 00 00 00 02 00 11 00 11 00 10 00 22 00 18 00 c0 00 a8 00 02 00 3b 00 ff 00 ff 00 00 00 00 00 c0 00 a8 00 02 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
INFO 2017-02-17T16:33:33.685 ..\qModMaster\src\modbusadapter.cpp @ 226 Modbus Read Data return value = 123
INFO 2017-02-17T16:33:33.685 ..\qModMaster\src\mainwindow.cpp @ 543 Packets sent / received = 9843 , errors = 4
INFO 2017-02-17T16:33:34.574 ..\qModMaster\src\modbusadapter.cpp @ 161 Modbus Transaction. Function Code = 3
INFO 2017-02-17T16:33:34.574 ..\qModMaster\src\modbusadapter.cpp @ 190 Modbus Read Data
INFO 2017-02-17T16:33:34.574 ..\qModMaster\src\modbusadapter.cpp @ 360 Tx Data : "26 74 00 00 00 06 01 03 13 ec 00 7b "
INFO 2017-02-17T16:33:34.761 ..\qModMaster\src\modbusadapter.cpp @ 379 Rx Data : "26 74 00 00 00 f9 01 03 f6 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0d 00 02 00 00 00 00 00 02 00 11 00 11 00 10 00 22 00 19 00 c0 00 a8 00 02 00 3b 00 ff 00 ff 00 00 00 00 00 c0 00 a8 00 02 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
INFO 2017-02-17T16:33:34.761 ..\qModMaster\src\modbusadapter.cpp @ 226 Modbus Read Data return value = 123
INFO 2017-02-17T16:33:34.761 ..\qModMaster\src\mainwindow.cpp @ 543 Packets sent / received = 9844 , errors = 4

from mbusd.

nickma82 avatar nickma82 commented on July 18, 2024

@dvader any updates on that?

from mbusd.

nickma82 avatar nickma82 commented on July 18, 2024

@3cky plz close that ticket

from mbusd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.