On Sat, May 3, 2014 at 10:37 AM, cecco <[email protected]> wrote: > 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): > FD_SET(server_socket, &refset); > that is the code: > > fd_set refset; > fd_set rdset; > .... > .... > > server_socket = modbus_tcp_listen(ctx, NB_CONNECTION); > .... > > /* Clear the reference set of socket */ > FD_ZERO(&refset); > /* 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
My first thoughts, (mostly as this hasn't been published everywhere yet) but what compiler are you using? With the debian image we have a "gnueabihf" system, so your "gnueabi" compiler is not going to work anymore. Other then that, I'll have to leave it to the qt experts, I'm not one of them. Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
