{"action":"closed","issue":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/273","labels_url":"https://api.github.com/repos/esp8266/Arduino/issues/273/labels{/name}","comments_url":"https://api.github.com/repos/esp8266/Arduino/issues/273/comments","events_url":"https://api.github.com/repos/esp8266/Arduino/issues/273/events","html_url":"https://github.com/esp8266/Arduino/issues/273","id":77901285,"number":273,"title":"Crash after 354 UDP packets sent","user":{"login":"edufschmidt","id":7011650,"avatar_url":"https://avatars.githubusercontent.com/u/7011650?v=3","gravatar_id":"","url":"https://api.github.com/users/edufschmidt","html_url":"https://github.com/edufschmidt","followers_url":"https://api.github.com/users/edufschmidt/followers","following_url":"https://api.github.com/users/edufschmidt/following{/other_user}","gists_url":"https://api.github.com/users/edufschmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/edufschmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edufschmidt/subscriptions","organizations_url":"https://api.github.com/users/edufschmidt/orgs","repos_url":"https://api.github.com/users/edufschmidt/repos","events_url":"https://api.github.com/users/edufschmidt/events{/privacy}","received_events_url":"https://api.github.com/users/edufschmidt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-19T02:43:43Z","updated_at":"2015-05-19T14:06:49Z","closed_at":"2015-05-19T14:06:49Z","body":"Hi,\r\nI'm trying to stream data from the ESP8266 to a server using UDP, and for some reason there is a crash after I send 354 packets.\r\nThe code below is more or less what I'm using to transmit the packets:\r\n\r\nvoid loop() {\r\n count++;\r\n  if ( r = client.beginPacket(\"192.168.0.103\", 7777) ){\r\n    String str = String(count);\r\n    client.write(str.c_str(), str.length());\r\n    r = client.endPacket();\r\n  }\r\n  delay(50);\r\n}\r\n\r\nFor testing purposes I'm just sending the value of a counter, which is incremented until 354. Right after the ESP sends this value, it crashes, and I get the following message on the UART:\r\n\r\nets Jan  8 2013,rst cause:4, boot mode:(3,6)\r\n\r\nwdt reset\r\nload 0x40100000, len 30984, room 16 \r\ntail 8\r\nchksum 0xa9\r\nload 0x3ffe8000, len 2540, room 0 \r\ntail 12\r\nchksum 0x11\r\nho 0 tail 12 room 4\r\nload 0x3ffe89f0, len 2156, room 12 \r\ntail 0\r\nchksum 0xfb\r\ncsum 0xfb\r\n\r\nThe number of packets sent before the crash is always the same, and does not depend on the data being transmitted.\r\nAny help will be much appreciated!\r\nThanks in advance!\r\n\r\n\r\n"}}