This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Ethernet Communication


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]