lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #25695] Segmentation fault in do_writemore(struct netc


From: Frédéric Bernon
Subject: [lwip-devel] [bug #25695] Segmentation fault in do_writemore(struct netconn *conn)
Date: Tue, 24 Feb 2009 20:23:11 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729)

Follow-up Comment #1, bug #25695 (project lwip):

Rhe fix you propose seems to be good at the first sight.

But perhaps I'm wrong, I think the problem is more in the unix port : in
contribportsunixsys_arch.c, the sys_mbox_trypost implementation use a call to
sys_sem_wait, which cause the "switching" to tcpip_tcp_timer, causing the
reentrance problem. 

Perhaps replacing sys_sem_wait by sys_arch_sem_wait in sys_arch.c good fix
this problem...


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?25695>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]