[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #47666] lwip crash inside do_writemore when used in iO
From: |
richardhu |
Subject: |
[lwip-devel] [bug #47666] lwip crash inside do_writemore when used in iOS extension |
Date: |
Tue, 12 Apr 2016 09:11:50 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17 |
URL:
<http://savannah.nongnu.org/bugs/?47666>
Summary: lwip crash inside do_writemore when used in iOS
extension
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: hyr666
Submitted on: Tue 12 Apr 2016 09:11:49 AM GMT
Category: TCP
Severity: 3 - Normal
Item Group: Crash Error
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release:
lwIP version: 1.4.1
_______________________________________________________
Details:
lwip is used inside iOS extension to receive IP packets. and then use socket
API to get TCP content and then send the data out.
the simple http connection works well and the request and response all works.
but, when too many connections made - eg. 10-20 http connections. the lwip
will crash.
all the time it will crash at do_writemore()
most time at this assert line:
LWIP_ASSERT("conn->write_offset < conn->current_msg->msg.w.len",
conn->write_offset < conn->current_msg->msg.w.len);
and some time also at
LWIP_ASSERT("conn->pcb.tcp != NULL", conn->pcb.tcp != NULL);
all the settings are default (like #define MEM_SIZE 1048576)
is this issue caused by limitation of resource usage in extension?
or what information need for proceed solve this issue?
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?47666>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #47666] lwip crash inside do_writemore when used in iOS extension,
richardhu <=