[bugs:#829] event system fails with zmq 4.2.0
Status: open
Labels: zmq debian9 events
Created: Mon Nov 14, 2016 11:55 AM UTC by Carlos Falcon
Last Updated: Mon Nov 14, 2016 11:55 AM UTC
Owner: nobody
Attachments:
Event system seems to not work with zmq 4.2.0 (Debian 9). If you try to subscribe to an attribute ( C++ client) you get an event error with this message: "Received malformed data for event tango"
You can reproduce the bug with the attached code.
The bug was reproduced using a docker container for debian unstable with:
* libtango9 (Version: 9.2.5~rc1+dfsg1-2 )
* libzmq5 (Version: 4.2.0-1 )
* omniORB4 (Version: 4.1.6-2+b1)
/eventclient sys/tg_test/1 short_scalar I have received an event for attribute tango://ct64debian8.cells.es:10000/sys/tg_test/1/short_scalar Mon Nov 14 11:34:47 2016 (1479123287,361428 sec) : short_scalar (dim_x = 1, dim_y = 0, w_dim_x = 1, w_dim_y = 0, Data quality factor = VALID, Data format = SCALAR, Data type = DevShort) Element number [0] = 179 Element number [1] = 0 ev_id1 = 1 The event is an error Tango error stack Severity = ERROR Error reason = API_WrongEventData Desc : Received malformed data for event tango://ct64debian8.cells.es:10000/sys/tg_test/1/short_scalar.idl5_change Origin : ZmqEventConsumer::push_zmq_event()
Sent from sourceforge.net because Tango-cs...@lists.sf.net is subscribed to https://sourceforge.net/p/tango-cs/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/tango-cs/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Hi Manu,
The DS was the TangoTest from the debian package. So it must be compiled using the same version of the library. It was running on the same host as the client (we have used a docker container to reproduce it). The Tango database was running on a different host (VM in this case) but also using Tango version 9.2.
Thanks!
[bugs:#829] event system fails with zmq 4.2.0
Status: open
Labels: zmq debian9 events
Created: Mon Nov 14, 2016 11:55 AM UTC by Carlos Falcon
Last Updated: Mon Nov 14, 2016 01:16 PM UTC
Owner: nobody
Attachments: