[zeromq-dev] ARM cross compiled ZeroMQ zstr_rcv() gives segmentation fault

Ranganath Gunawardane ranganath at outlook.com
Mon Sep 29 07:35:55 CEST 2014


Hi,
I cross-compiled zmq and czmq for ARM (arm-poky-linux) to build a PUB-SUB message router. In the program, I fork a attached thread using zthread_fork() and talk through the pipe. When I do a zstr_rcv() from main after forking, i get a segmentation fault. This code works fine in my Ubuntu box with GCC. What am I doing wrong here? or is it a ARM compatibility issue?
Regards.Ranganath 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140929/c21d7879/attachment.htm>


More information about the zeromq-dev mailing list