Re: Segmentation fault while sending bytes messages

2009-04-29 Thread Timothy Bish
On Mon, 2009-04-27 at 09:44 -0700, manua wrote: > Hi Tim, > > In continuation to my previous mail, I tried with increasing the array size > at the producer end, but still getting the same error. > > Also, my producer is running till end, its the consumer which fails. The > same consumer never fai

Re: Segmentation fault while sending bytes messages

2009-04-27 Thread manua
Hi Tim, In continuation to my previous mail, I tried with increasing the array size at the producer end, but still getting the same error. Also, my producer is running till end, its the consumer which fails. The same consumer never fails for Text/Map Messages of any length and of any number of m

Re: Segmentation fault while sending bytes messages

2009-04-25 Thread manua
Hi Tim, I am getting the error, even when my file is just 65 bytes. Its also evident from the output (where I am capturing number of byte recieved). I have posted my output in the previous posts. Also, if I want to transfer large files (image files of size 100K or more), than what should be the

Re: Segmentation fault while sending bytes messages

2009-04-24 Thread Timothy Bish
On Fri, 2009-04-24 at 17:31 -0700, manua wrote: > Hi Tim, > > Thanks for your reply. > > PLease find below the part of my code, which I am using for sending and > recieving bytesmessages. > > Code snippet from Producer.cpp > > char Text[100]; > > ifstream inFile("abc.txt",ios::in | ios::binary

Re: Segmentation fault while sending bytes messages

2009-04-24 Thread manua
Hi Tim, Thanks for your reply. PLease find below the part of my code, which I am using for sending and recieving bytesmessages. Code snippet from Producer.cpp char Text[100]; ifstream inFile("abc.txt",ios::in | ios::binary); int i=0; while(inFile>>Text[i]) { coutsetBodyBytes((unsigne

Re: Segmentation fault while sending bytes messages

2009-04-22 Thread Timothy Bish
On Wed, 2009-04-22 at 07:40 -0700, manua wrote: > Hi All, > > I am trying to send large bytes messages. From the producer end, I ma able > to send the messages, but at the consumer end, after recieving some > messages, I am getting Segmentation fault. > > Please find below the output, I recieved