lwIP - A Lightweight TCP/IP stack - Bugs: bug #31741, lwip_select seems to have...
You are not allowed to post comments on this tracker with your current authentication level.
bug #31741: lwip_select seems to have threading problems
Submitter: | Simon Goldschmidt <goldsimon> | ||
Submitted: | Thu 02 Dec 2010 11:37:30 AM UTC | ||
Category: | sockets/netconn | Severity: | 4 - Important |
Item Group: | Crash Error | Status: | Fixed |
Privacy: | Public | Assigned to: | goldsimon |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | CVS Head |
Mon 24 Jan 2011 07:30:33 PM UTC, comment #2: |
Simon Goldschmidt <goldsimon> |
Tue 11 Jan 2011 02:07:43 PM UTC, comment #1: This is now the only known issue preventing the release of 1.4.0. From the description the solutions sound easy, but I'm not sure I've understood correctly.
|
Kieran Mansley <kieranm> |
Thu 02 Dec 2010 11:37:30 AM UTC, original submission:
From lwip-users:
|
Simon Goldschmidt <goldsimon> |
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 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2011-01-24 | goldsimon | Status | None | Fixed | |
Assigned to | None | goldsimon | |||
Open/Closed | Open | Closed |
Powered by Savane 3.13-758e.
Corresponding source code
Yeah, sorry for that mess. Don't know what drove me writing such code :-( That's a really good example why you should not modify the loop variable within the loop...
As to the counter, that's only a 'revision' counter of the select_cb_list: if it has changed, someone has modified the list, meaning we have to re-scan it from the start. That line was simply missing in the part of lwip_select where the list item was removed again.
Should be fixed now.