lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #40177] System hangs when dealing with corrupted packe


From: antonio diez
Subject: [lwip-devel] [bug #40177] System hangs when dealing with corrupted packets
Date: Fri, 04 Oct 2013 13:51:04 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36

URL:
  <http://savannah.nongnu.org/bugs/?40177>

                 Summary: System hangs when dealing with corrupted packets
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: antoniobwb
            Submitted on: Fri 04 Oct 2013 13:51:03 GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: 1.3.2

    _______________________________________________________

Details:

Hello,

I am not sure if this is an actual bug in my version of LwIP stack or rather a
flaw in other part of the system but I would appreciate some help on it.
Basically, when dealing with corrupted packets (I achieved this by using a
real network emulator and setting 50% error in the up and downstreams), the
system stops responding (Webserver does not respond anymore).

I am using LwIP v1.3.2 and I have enabled the debug messages. I have made the
unit crash a few times and this is what I get from the LwIP terminal. I would
appreciate any help to get this problem fixed. I am running LwIP on a
Stellaris LM3S9B96 and FreeRTOS.

Regards,

Antonio



1. Unsuported transport protocol 22


2. Same


3. Checksum (0x800) failed, IP packet dropped.
                                   
Checksum (0x8000) failed, IP packet dropped.
                                  
increment_magnitude <= p->len
                                                 
@ C:localsvndspyNEWBWOStagsv1.4.4_tx_stlsrcliblwipsrccorepbuf.c:437


                                                                            
                                                                              


                                                                 
                                                                              
 
@ C:localsvndspyNEWBWOStagsv1.4.4_tx_stlsrcliblwipsrccorepbuf.c:437

... ... ...

4. Checksum (0x1000) failed, IP packet dropped.
                                  
2013-10-05 13:03:53 Remote Login Success. IP: 192.168.5.36. sid: 893880941

5. Checksum (0x40) failed, IP packet dropped.
                                    
Checksum (0x400) failed, IP packet dropped.
                                   
IP (len 16432) is longer than pbuf (len 52), IP packet dropped.
               
2013-10-05 13:09:06 Deadlock: semaphoreTake

6. IP (len 4136) is longer than pbuf (len 50), IP packet dropped.
Checksum (0x7fff) failed, IP packet dropped.
  2013-10-05 14:05:34 Deadlock: semaphoreTake

7. IP (len 168) is longer than pbuf (len 50), IP packet dropped.
                 
increment_magnitude <= p->len
                                                 
@ C:localsvndspyNEWBWOStagsv1.4.4_tx_stlsrcliblwipsrccorepbuf.c:437


                                                                            
                                                                              
 
--- cut ---

                                                                 
                                                                              
 
@ C:localsvndspyNEWBWOStagsv1.4.4_tx_stlsrcliblwipsrccorepbuf.c:437

8.
IP (len 32808) is longer than pbuf (len 50), IP packet dropped.
               
Checksum (0x8000) failed, IP packet dropped.
                                  
2013-10-05 14:23:35 Deadlock: semaphoreTake

Checksum (0x800) failed, IP packet dropped.
                                   
Checksum (0x8000) failed, IP packet dropped.
                                  
Checksum (0x1) failed, IP packet dropped.
                                     
Checksum (0x1) failed, IP packet dropped.
                                     
Checksum (0x8) failed, IP packet dropped.
  

9.


2013-10-05 14:29:31 Welcome to the TX-V2
IP (len 56) is longer than pbuf (len 52), IP packet dropped.
                  
Checksum (0x10) failed, IP packet dropped.
                                    
Unsupported transport protocol 38
                                             








    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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