This is the mail archive of the ecos-discuss@sources.redhat.com 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] |
Hello All,
In the past , (With GoAhead Webserver v 2.1.7) , I ran into the same kind of problem with eCos.
After investigation this was caused by function "int socketSelect(int sid, int timeout)" in file Sockgen.c (the one /* not WIN || CE || NW */ ) which makes calls to balloc.
Using the another "socketSelect" (the one #if (defined (WIN) || defined (CE) ) solved the memory leak/overflow. May be you should try this before modifying balloc.c .
Note : Now, I use a 64K balloc buffer without any problems.
Hope this helps. Have a nice day.
On Tuesday 17 August 2004 06:41, Hao wrote:
Recently, I modify balloc() in balloc.c of goAhead. I try to increase 64bytes at the line of malloc() . And the problem of out of memory disappeared. So , I think it's not the probelm caused by eCos. I think it's caused by goAhead somewhere that call balloc() and use wrong size.
Now, in my target, goAhead still unstable just like you say. Then I use very simple web page instead of default web page(home.asp). It still unstable, but not crashed. But it can work very fine when I use 'lynx' instead of other browser(IE, mozilla..). I don't know what's the difference of behavior between lynx and other browser (IE,mozilla).
Hope this information can help you something.
Hao
Hello Hao!
-- 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] |