public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Alperen Coskun <a_a_coskunoc@hotmail.com>
To: Andrew Lunn <andrew@lunn.ch>
Cc: ecos discuss <ecos-discuss@ecos.sourceware.org>
Subject: RE: [ECOS] Ethernet Communication
Date: Mon, 12 Nov 2007 13:11:00 -0000	[thread overview]
Message-ID: <BAY121-W32BEF9094914BA8FFE8828CC870@phx.gbl> (raw)
In-Reply-To: <20071112105536.GF4401@lunn.ch>


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

  reply	other threads:[~2007-11-12 13:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-12 10:39 Alperen Coskun
2007-11-12 10:55 ` Andrew Lunn
2007-11-12 13:11   ` Alperen Coskun [this message]
     [not found]   ` <BAY121-W40DA18DB31664E5920D34ACC870@phx.gbl>
2007-11-12 13:27     ` Andrew Lunn
2007-11-14 16:15       ` Alperen Coskun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAY121-W32BEF9094914BA8FFE8828CC870@phx.gbl \
    --to=a_a_coskunoc@hotmail.com \
    --cc=andrew@lunn.ch \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).