lwIP - A Lightweight TCP/IP stack - Bugs: bug #26213, Problem with memory allocation...
You are not allowed to post comments on this tracker with your current authentication level.
bug #26213: Problem with memory allocation when debugging
Submitter: | Kieran Mansley <kieranm> | ||
Submitted: | Fri 17 Apr 2009 10:46:55 AM UTC | ||
Category: | pbufs | Severity: | 3 - Normal |
Item Group: | Faulty Behaviour | Status: | Fixed |
Privacy: | Public | Assigned to: | goldsimon |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | 1.3.0 |
Sat 25 Apr 2009 05:44:25 PM UTC, comment #3: |
Simon Goldschmidt <goldsimon> |
Mon 20 Apr 2009 06:42:19 PM UTC, comment #2: Actually, I just discovered this is a bug in the calculation of memp_sizes with MEMP_OVERFLOW_CHECK/MEMP_SANITY_CHECK turned on. I'm on it... |
Simon Goldschmidt <goldsimon> |
Sat 18 Apr 2009 11:24:07 AM UTC, comment #1: I'm glad you added this, I've completely forgotton about it. Seems that's my fault, so I hope to get the time to look through this. |
Simon Goldschmidt <goldsimon> |
Fri 17 Apr 2009 10:46:55 AM UTC, original submission:
Marek MaĆowidzki has reported a problem on lwip-devel:
|
Kieran Mansley <kieranm> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2009-04-25 | goldsimon | Status | None | Fixed | |
Open/Closed | Open | Closed | |||
2009-04-18 | goldsimon | Assigned to | None | goldsimon | |
Planned Release | 1.3.1 |
Powered by Savane 3.13-f8d8.
Corresponding source code
Fixed by fixing the sizes stored in memp_sizes. I also made the malloc-pools a little bigger (so that the sizes define in lwippools.h are what the user can malloc, not what is reserved) and added a new configuration option to try the next bigger pool if one is empty (removes a @todo in mem.c).