Hello to everyone!
I’m porting my application written in QT-5.2.1 from Texas sdk to debian 2014-04-14.
the most part works well, but I get a Segmentation Fault when I execute that (from libmodbus 3.1.1):
that is the code:
server_socket = modbus_tcp_listen(ctx, NB_CONNECTION);
/* Clear the reference set of socket /
/ Add the server socket */
FD_SET(server_socket, &refset); —>>> segfault!
the strange things is that if I put my mouse on “fd_set” the popup report:“Anonymous:11 fd_set”, an over “refset” i get"Anonymous:11".
This happens only with the “debian kit” : if I compile my project with an other kit (i.e. Texas with QT-4.8.5, or Android with QT-5.2.1 this no happens
Have you any idea?