День добрый.
Есть WB5 (5.8), вновь вдруг понадобился RTU Modbus-TCP для HMI на смартфоне.
В конце 2017, как помню, всё прекрасно работало.
Чёрт меня дернул обновляться (периодически)… и… На днях обнаружил, что при попытке считать чего-либо или записать wb-mqtt-mbgate вываливается (умирает и перестаёт слушать 502/tcp).
Включил debug. И в лучшем случае вижу:
2019-09-06 14:28:53.877 INFO: Connected to MQTT server
2019-09-06 14:28:55.854 DEBUG: Modbus incoming connection
Segmentation fault
Потыкался на этот порт telnet’ом - как только чего-либо передаю на wb-mqtt-mbgate - сразу вновь “Segmentation fault” и старт руками.
Что не так? Как выявить проблему? Как увеличить детализацию debug?
Firmware version: 201906131405
wb-mqtt-mbgate --version
wb-mqtt-mbgate version 0.1.4
Git revision 01f7980c428a6acb5ae44f6e1db7e34b3cf023ff
Build date: Oct 4 2018 10:01:u5408:
wb-adc-tools-mxs/stretch,now 1.0 armel [installed]
wb-configs/stretch,stretch,now 1.81.0 all [installed]
wb-configs-stretch/stretch,stretch,now 1.81.0 all [installed,automatic]
wb-daemon-watchdogs/stretch,stretch,now 1.1 all [installed]
wb-dt-overlays/stretch,stretch,now 1.3 all [installed]
wb-homa-adc/stretch,now 1.14.6 armel [installed]
wb-homa-gpio/stretch,now 1.19.5 armel [installed]
wb-homa-ism-radio/stretch,stretch,now 1.17.3 all [installed]
wb-homa-w1/stretch,now 1.10.1 armel [installed]
wb-hwconf-manager/stretch,stretch,now 1.28.0 all [installed]
wb-mqtt-confed/stretch,now 1.2.2 armel [installed]
wb-mqtt-dac/stretch,stretch,now 1.1.1 all [installed]
wb-mqtt-db/stretch,now 1.7.3 armel [installed]
wb-mqtt-db-cli/stretch,stretch,now 1.2.1 all [installed]
wb-mqtt-homeui/stretch,stretch,now 1.7.1 all [installed]
wb-mqtt-mbgate/stretch,now 0.1.4 armel [installed]
wb-mqtt-serial/stretch,now 1.53.0 armel [installed]
wb-rules/stretch,now 1.7.1 armel [installed]
wb-rules-system/stretch,stretch,now 1.6.2 all [installed]
wb-test-suite/stretch,stretch,now 1.15.1 all [installed]
wb-utils/stretch,stretch,now 2.1.2 all [installed,automatic]
Спасибо.