lwIP - A Lightweight TCP/IP stack - Bugs: bug #23408, Deadlock on sys_mbox_post...
You are not allowed to post comments on this tracker with your current authentication level.
bug #23408: Deadlock on sys_mbox_post sys_mbox_fetch
Submitter: | Homyak <onlyslon> | ||
Submitted: | Wed 28 May 2008 11:08:22 AM UTC | ||
Category: | Contrib | Severity: | 3 - Normal |
Item Group: | Faulty Behaviour | Status: | Fixed |
Privacy: | Public | Assigned to: | kieranm |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | 1.3.0 |
Jump to the original submission
Sat 15 Nov 2008 12:39:00 PM UTC, comment #12: |
Homyak <onlyslon> |
Fri 30 May 2008 11:29:37 AM UTC, comment #11: I've checked in something that should fix it, but I'm not in a postition to test it right now.
|
Kieran Mansley <kieranm> |
Fri 30 May 2008 11:15:36 AM UTC, comment #10: ...and the suggested solution of separate semaphores for fetch and post should do the trick. We could also solve it by taking the semaphore mutex before dropping the sys_mbox mutex, but that's a bit ugly.
|
Kieran Mansley <kieranm> |
Fri 30 May 2008 11:10:13 AM UTC, comment #9: OK, I think I understand. Here is what I think, please correct me if I'm wrong:
|
Kieran Mansley <kieranm> |
Wed 28 May 2008 05:44:12 PM UTC, comment #8: Comment #5 - a result of my negligence. ;-)
|
Homyak <onlyslon> |
Wed 28 May 2008 05:19:49 PM UTC, comment #7: That explains why I didn't understand: I didn't use the unix port, so far.
|
Simon Goldschmidt <goldsimon> |
Wed 28 May 2008 05:08:53 PM UTC, comment #6: Sorry. A little tired. This is corrected post.
|
Homyak <onlyslon> |
Wed 28 May 2008 04:56:35 PM UTC, comment #5: Ok I try again. 8-). Sorry for my english.
|
Homyak <onlyslon> |
Wed 28 May 2008 04:04:08 PM UTC, comment #4: I'm afraid I still don't get what you're talking about.
|
Simon Goldschmidt <goldsimon> |
Wed 28 May 2008 12:55:33 PM UTC, comment #3: version 1.3.0
|
Homyak <onlyslon> |
Wed 28 May 2008 11:23:33 AM UTC, comment #2: Can you describe your problem a little more detailed? Which version of lwIP are you using? A problem like this should only occur if you try to write to a mailbox which is full and simply drop the mail (which is wrong, of course). This should be solved in 1.3.0, I think. |
Simon Goldschmidt <goldsimon> |
Wed 28 May 2008 11:22:59 AM UTC, comment #1: Can you explain more about the deadlock you experienced. I don't understand how it arose. |
Kieran Mansley <kieranm> |
Wed 28 May 2008 11:08:22 AM UTC, original submission:
Hello..
|
Homyak <onlyslon> |
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 |
---|---|---|---|---|---|
2008-11-17 | kieranm | Status | None | Fixed | |
Open/Closed | Open | Closed | |||
2008-05-30 | kieranm | Assigned to | None | kieranm | |
Planned Release | 1.3.1 |
Powered by Savane 3.13-02a9.
Corresponding source code
Problem solved. Thank you Kieran.