buglwIP - A Lightweight TCP/IP stack - Bugs: bug #34584, Deadlock on multithread enviroment

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #34584: Deadlock on multithread enviroment

Submitted by:  Boberek <bober>
Submitted on:  Tue 18 Oct 2011 07:36:17 AM UTC  
 
Category: sockets/netconnSeverity: 3 - Normal
Item Group: Crash ErrorStatus: Invalid
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: CVS Head

Tue 18 Oct 2011 08:22:45 AM UTC, comment #1:

You could call it a bug, but currently, we do not support using a socket from multiple threads at once (e.g. read/write or read/close).

-> closing as invalid

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Tue 18 Oct 2011 07:36:17 AM UTC, original submission:

I am working on multithread environment.
I use Tcp socket.
One thread after accept calls read() on socket,
Second thread wants to close this socket. Call shutdown() or close().
Function close(), shutdown() free mbox.
But after close, reading thread  still wait on mbox !.

My question: It is bug ? or LwIp socket functions witch use the same socket be used from different thread.

Boberek <bober>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by goldsimon (Posted a comment)
  • -unavailable- added by bober (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 18 Oct 2011 08:22:45 AM UTCgoldsimonStatusNone=>Invalid
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1