Sorry Pieter, It was a brain fart of mine, I was linking the wrong zmq library 
. Once I corrected it, everything works well. 

> From: [email protected]
> Date: Mon, 29 Sep 2014 10:04:50 +0200
> To: [email protected]
> Subject: Re: [zeromq-dev] ARM cross compiled ZeroMQ zstr_rcv() gives 
> segmentation fault
> 
> Please provide a minimal complete example of a program that crashes
> like this, thank you.
> 
> On Mon, Sep 29, 2014 at 7:35 AM, Ranganath Gunawardane
> <[email protected]> wrote:
> > 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
> >
> > _______________________________________________
> > zeromq-dev mailing list
> > [email protected]
> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> >
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
                                          
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to