Hi, It sounds like a memory overwrite. Have you tried to run the test case with Valgrind?
Martin On 30/11/11 11:37, Mahathi_Prabhala wrote: > Hi all > > We are facing quite a curious issue with ZMQ. A simple server is usedto > queue files to a client which process the files and queues theresults > back to the server. This setup works fine without ourapplication code > doing the actual processing, but once the applicationcode is > incorporated, there is an error in our device driver (part of > our application). What’s mystifying is that our application works > finewhen ZMQ is not used and files are instead read from the disk. > > When we run the program with the ZMQ, the system hangs. The debug > messages report an error that is, ”Unable to handle kernel paging request”. > > When we commented the memcpy() function call in the driver code it > worked fine though we don’t understand why a memcpy() function leads to > a system crash. > > The file that the server sends in is of 2KB. > > We are currently working on the Debian distribution of Linux, the kernel > version used being 2.6.39.The system configuration is as follows; > > Intel Xeon E31245 processor @ 3.3GHz > > 4 GB RAM and a 250GB 6.0Gb/s SATA Hard Drive. > > Can you please help us in finding out where the problem is. > > Is it the ZMQ that is being used in our application? > > Or is it the application that seems to be causing the problem( though we > are clueless as to why it’s causing a problem now when it worked fine > when the files were read from the disk)? > > I have attached the server and client programs for your reference. > > Thank you. > > *Regards* > > *Mahathi Prabhala*** > > *TIMES-7(Special)* > > *IBG-Technology,Media&Entertainment* > > *SDC,Bangalore* > > *cid:[email protected]* > > > ------------------------------------------------------------------------ > > DISCLAIMER: > This email (including any attachments) is intended for the sole use of > the intended recipient/s and may contain material that is CONFIDENTIAL > AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or > copying or distribution or forwarding of any or all of the contents in > this message is STRICTLY PROHIBITED. If you are not the intended > recipient, please contact the sender by email and delete all copies; > your cooperation in this regard is appreciated. > > > > _______________________________________________ > 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
