From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18087 invoked by alias); 12 Nov 2007 13:11:03 -0000 Received: (qmail 18079 invoked by uid 22791); 12 Nov 2007 13:11:03 -0000 X-Spam-Check-By: sourceware.org Received: from bay0-omc2-s39.bay0.hotmail.com (HELO bay0-omc2-s39.bay0.hotmail.com) (65.54.246.175) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 12 Nov 2007 13:10:58 +0000 Received: from BAY121-W32 ([207.46.10.67]) by bay0-omc2-s39.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 12 Nov 2007 05:10:57 -0800 Message-ID: From: Alperen Coskun To: Andrew Lunn CC: ecos discuss Date: Mon, 12 Nov 2007 13:11:00 -0000 In-Reply-To: <20071112105536.GF4401@lunn.ch> References: <20071112105536.GF4401@lunn.ch> Content-Type: text/plain; charset="windows-1254" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: RE: [ECOS] Ethernet Communication X-SW-Source: 2007-11/txt/msg00071.txt.bz2 Thanks for your reply, I did what you said and get the following error message: ASSERT FAIL: dlmalloc.cxx [ 771] void Cyg_Mempool_dlmalloc_Implementation::do_check_chunk() (cyg_uint8 *)p + sz <= (cyg_uint8 *)(((mbinptr)((char*)&(av_[2*(0) + 2]) - 2*(sizeof(Cyg_Mempool_dlmalloc_Implementation::Cyg_dlmalloc_size_t))))->fd) What do you suggest me doing? Regards Alperen > Date: Mon, 12 Nov 2007 11:55:36 +0100 > From: andrew@lunn.ch > To: a_a_coskunoc@hotmail.com > CC: ecos-discuss@ecos.sourceware.org > Subject: Re: [ECOS] Ethernet Communication > >> BUT, when I put the client program to the other board, everything >> exploded. If the buffer is sent only one time, no errors occur. But, >> using it with a loop, client is sending the buffer and server is >> receiving it but only for 5 times. Then, a 'sendto error' occurs. I >> examined example programs such as 'udp_lo_test.c'. All the things >> are same but I didn't understand where the error is. (It gives >> different errors, ENAMETOOLONG, EHOSTDOWN, sometimes bind error >> etc.) > > This sounds like stack overflow or some other form of data corruption. > Turn on CYG_INFRA_DEBUG and stack checking. > > Andrew _________________________________________________________________ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss