lwIP - A Lightweight TCP/IP stack - Bugs: bug #29375, Error in memp_malloc with CVS Head...
You are not allowed to post comments on this tracker with your current authentication level.
bug #29375: Error in memp_malloc with CVS Head Revision
Submitter: | EisenkolbThomas <poweruser> | ||
Submitted: | Tue 30 Mar 2010 05:56:48 AM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | Crash Error | Status: | Works For Me |
Privacy: | Public | Assigned to: | goldsimon |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | CVS Head |
Jump to the original submission
Wed 21 Apr 2010 08:03:31 PM UTC, comment #10: |
Simon Goldschmidt <goldsimon> |
Fri 02 Apr 2010 10:40:21 AM UTC, comment #9:
|
Simon Goldschmidt <goldsimon> |
Fri 02 Apr 2010 08:41:41 AM UTC, comment #8: Okay I have now changed the driver to avoid any operation with a zero pointer in the mailbox and now it is working.
|
EisenkolbThomas <poweruser> |
Thu 01 Apr 2010 08:46:24 AM UTC, comment #7:
|
Simon Goldschmidt <goldsimon> |
Thu 01 Apr 2010 08:22:54 AM UTC, comment #6: Okay in my comment there was a little mistake.
|
EisenkolbThomas <poweruser> |
Thu 01 Apr 2010 07:20:09 AM UTC, comment #5: Using one netconn from more than one thread at a time is not supported (yet?), so that could well be your problem.
|
Simon Goldschmidt <goldsimon> |
Thu 01 Apr 2010 06:23:54 AM UTC, comment #4: I checked the sys_mbox_trypost and I am sure that everthing is alright with the method.
|
EisenkolbThomas <poweruser> |
Wed 31 Mar 2010 02:18:25 PM UTC, comment #3:
|
Simon Goldschmidt <goldsimon> |
Wed 31 Mar 2010 11:29:17 AM UTC, comment #2: Okay I have now tried a few things with the mem_free and the memp_free.
|
EisenkolbThomas <poweruser> |
Tue 30 Mar 2010 06:59:29 AM UTC, comment #1: Although there is currently no (debug-) code checking if an item to free is not freed twice, looking at the code, your description strongly suggests there is a problem with your mbox implementation: TCPIP_MSG_INPKT elements are only allocated in tcpip_input() and freed in tcpip_input() (when sys_mbox_trypost() returns != ERR_OK) and tcpip_thread() (after the message has been processed).
|
Simon Goldschmidt <goldsimon> |
Tue 30 Mar 2010 05:56:48 AM UTC, original submission:
Hello,
|
EisenkolbThomas <poweruser> |
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 |
---|---|---|---|---|---|
2010-04-21 | goldsimon | Assigned to | None | goldsimon | |
Open/Closed | Open | Closed | |||
2010-04-01 | poweruser | Attached File | - | Added ETH_RTOS_Driver.c, #20083 | |
2010-03-30 | goldsimon | Status | None | Works For Me |
Powered by Savane 3.13-3230.
Corresponding source code
Closing as this really isn't a bug. We could add a debug-check for freeing in correct pool and double-freeing, though.