{"action":"created","issue":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/10672","repository_url":"https://api.github.com/repos/RIOT-OS/RIOT","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/10672/labels{/name}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/10672/comments","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/10672/events","html_url":"https://github.com/RIOT-OS/RIOT/issues/10672","id":394793303,"node_id":"MDU6SXNzdWUzOTQ3OTMzMDM=","number":10672,"title":"gnrc: runs full on very heavy load","user":{"login":"miri64","id":675644,"node_id":"MDQ6VXNlcjY3NTY0NA==","avatar_url":"https://avatars1.githubusercontent.com/u/675644?v=4","gravatar_id":"","url":"https://api.github.com/users/miri64","html_url":"https://github.com/miri64","followers_url":"https://api.github.com/users/miri64/followers","following_url":"https://api.github.com/users/miri64/following{/other_user}","gists_url":"https://api.github.com/users/miri64/gists{/gist_id}","starred_url":"https://api.github.com/users/miri64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miri64/subscriptions","organizations_url":"https://api.github.com/users/miri64/orgs","repos_url":"https://api.github.com/users/miri64/repos","events_url":"https://api.github.com/users/miri64/events{/privacy}","received_events_url":"https://api.github.com/users/miri64/received_events","type":"User","site_admin":false},"labels":[{"id":86443543,"node_id":"MDU6TGFiZWw4NjQ0MzU0Mw==","url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/Area:%20network","name":"Area: network","color":"6600ff","default":false},{"id":23399098,"node_id":"MDU6TGFiZWwyMzM5OTA5OA==","url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/Type:%20bug","name":"Type: bug","color":"ffff66","default":false}],"state":"closed","locked":false,"assignee":{"login":"miri64","id":675644,"node_id":"MDQ6VXNlcjY3NTY0NA==","avatar_url":"https://avatars1.githubusercontent.com/u/675644?v=4","gravatar_id":"","url":"https://api.github.com/users/miri64","html_url":"https://github.com/miri64","followers_url":"https://api.github.com/users/miri64/followers","following_url":"https://api.github.com/users/miri64/following{/other_user}","gists_url":"https://api.github.com/users/miri64/gists{/gist_id}","starred_url":"https://api.github.com/users/miri64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miri64/subscriptions","organizations_url":"https://api.github.com/users/miri64/orgs","repos_url":"https://api.github.com/users/miri64/repos","events_url":"https://api.github.com/users/miri64/events{/privacy}","received_events_url":"https://api.github.com/users/miri64/received_events","type":"User","site_admin":false},"assignees":[{"login":"miri64","id":675644,"node_id":"MDQ6VXNlcjY3NTY0NA==","avatar_url":"https://avatars1.githubusercontent.com/u/675644?v=4","gravatar_id":"","url":"https://api.github.com/users/miri64","html_url":"https://github.com/miri64","followers_url":"https://api.github.com/users/miri64/followers","following_url":"https://api.github.com/users/miri64/following{/other_user}","gists_url":"https://api.github.com/users/miri64/gists{/gist_id}","starred_url":"https://api.github.com/users/miri64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miri64/subscriptions","organizations_url":"https://api.github.com/users/miri64/orgs","repos_url":"https://api.github.com/users/miri64/repos","events_url":"https://api.github.com/users/miri64/events{/privacy}","received_events_url":"https://api.github.com/users/miri64/received_events","type":"User","site_admin":false}],"milestone":null,"comments":17,"created_at":"2018-12-29T12:49:24Z","updated_at":"2019-01-03T21:37:54Z","closed_at":"2018-12-30T15:05:18Z","author_association":"MEMBER","body":"<!--\r\nIf your issue is a usage question, please submit it to the user mailing-list\r\nusers@riot-os.org or to the developer mailing-list devel@riot-os.org.\r\nIf your issue is related to security, please submit it to the security\r\nmailing-list security@riot-os.org.\r\n-->\r\n\r\n#### Description\r\nWhen using a 6Lo capable node, I am able to cause one node to have a full packet buffer. The packet space is never released, so the node basically becomes unreachable.\r\n\r\nThis was originally reported in https://github.com/RIOT-OS/RIOT/pull/10581#issuecomment-450367114\r\n<!--\r\nExample: Cannot build gnrc_networking application for samr21-xpro board.\r\n-->\r\n\r\n#### Steps to reproduce the issue\r\nCompile `gnrc_networking` on native with\r\n\r\n```diff\r\ndiff --git a/examples/gnrc_networking/Makefile b/examples/gnrc_networking/Makefile\r\nindex 4d361f825..693378f50 100644\r\n--- a/examples/gnrc_networking/Makefile\r\n+++ b/examples/gnrc_networking/Makefile\r\n@@ -18,7 +18,7 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \\\r\n \r\n # Include packages that pull up and auto-init the link layer.\r\n # NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present\r\n-USEMODULE += gnrc_netdev_default\r\n+USEMODULE += socket_zep\r\n+USEMODULE += gnrc_pktbuf_cmd\r\n USEMODULE += auto_init_gnrc_netif\r\n # Specify the mandatory networking modules for IPv6 and UDP\r\n USEMODULE += gnrc_ipv6_router_default\r\n```\r\n\r\nRun two instances of it\r\n\r\n`native1`:\r\n\r\n```sh\r\nTERMFLAGS=\"-z [::]:17754,[::1]:17755\" make -C examples/gnrc_networking term\r\n```\r\n\r\n`native2`:\r\n\r\n```sh\r\nTERMFLAGS=\"-z [::]:17755,[::1]:17754\" make -C examples/gnrc_networking term\r\n```\r\n\r\nNote: you might need to start both instances rather quickly between each start, otherwise the already running instance might abort with\r\n\r\n```\r\n/home/mlenders/Repositories/RIOT-OS/RIOT/examples/gnrc_networking/bin/native/gnrc_networking.elf: zep: read: Connection refused\r\n```\r\n\r\nStart pinging with full MTU-sized packages from both nodes (nearly) at the same time:\r\n\r\n```\r\nnative1> ping6 200 fe80::25a:4550:a00:455a 1232 0\r\nnative2> ping6 200 fe80::25a:4550:a00:455b 1232 0\r\n```\r\n\r\n\r\n<!--\r\nTry to describe as precisely as possible here the steps required to reproduce\r\nthe issue. Here you can also describe your hardware configuration, the network\r\nsetup, etc.\r\n-->\r\n\r\n#### Expected results\r\nThere will be timeouts and maybe full packet buffer messages, but afterwards the packet buffer will be free (check with `pktbuf` command).\r\n<!--\r\nExample: The gnrc_networking application builds on samr21-xpro.\r\n-->\r\n\r\n#### Actual results\r\nThe packet buffer runs full and won't be released (one node will only get ping timeouts rather quickly, the other nodes only reports `error: packet buffer full` multiple times and then return to shell. The `pktbuf` commands reveals that the packet buffer contains packets that are never released\r\n<!--\r\nPlease paste or specifically describe the actual output.\r\n-->\r\n\r\n#### Versions\r\nTested in `2018.10` and current master as of writing this issue (07ceddd9b157692845e2418b64537d1b05626865). I also had a look `2018.04` (where the `gnrc_pktbuf_cmd` pseudo-module does not exist) here both nodes ran full (but that might only be incidental).\r\n\r\n```\r\n$ ./dist/tools/ci/print_toolchain_versions.sh \r\n\r\nOperating System Environment\r\n-----------------------------\r\n       Operating System: \"Arch Linux\" \r\n                 Kernel: Linux 4.19.12-arch1-1-ARCH x86_64 unknown\r\n\r\nInstalled compiler toolchains\r\n-----------------------------\r\n             native gcc: gcc (GCC) 8.2.1 20181127\r\n      arm-none-eabi-gcc: arm-none-eabi-gcc (Arch Repository) 8.2.0\r\n                avr-gcc: avr-gcc (GCC) 8.2.0\r\n       mips-mti-elf-gcc: missing\r\n             msp430-gcc: missing\r\n   riscv-none-embed-gcc: missing\r\n                  clang: clang version 7.0.1 (tags/RELEASE_701/final)\r\n\r\nInstalled compiler libs\r\n-----------------------\r\n   arm-none-eabi-newlib: \"3.0.0\"\r\n    mips-mti-elf-newlib: missing\r\nriscv-none-embed-newlib: missing\r\n               avr-libc: \"2.0.0\" (\"20150208\")\r\n\r\nInstalled development tools\r\n---------------------------\r\n                  cmake: cmake version 3.13.1\r\n               cppcheck: missing\r\n                doxygen: 1.8.14\r\n                 flake8: missing\r\n                    git: git version 2.20.1\r\n                   make: GNU Make 4.2.1\r\n                openocd: missing\r\n                 python: Python 3.7.1\r\n                python2: Python 2.7.15\r\n                python3: Python 3.7.1\r\n             coccinelle: missing\r\n```\r\n\r\n(maybe @gschorcht also can report his build environment)\r\n\r\n<!--\r\nOperating system: Mac OSX, Linux, Vagrant VM\r\nBuild environment: GCC, CLang versions (you can run the following command from\r\nthe RIOT base directory: ./dist/tools/ci/print_toolchain_versions.sh).\r\n-->\r\n\r\n<!-- Thanks for contributing! -->\r\n"},"comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments/451285562","html_url":"https://github.com/RIOT-OS/RIOT/issues/10672#issuecomment-451285562","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/10672","id":451285562,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTI4NTU2Mg==","user":{"login":"gschorcht","id":31932013,"node_id":"MDQ6VXNlcjMxOTMyMDEz","avatar_url":"https://avatars3.githubusercontent.com/u/31932013?v=4","gravatar_id":"","url":"https://api.github.com/users/gschorcht","html_url":"https://github.com/gschorcht","followers_url":"https://api.github.com/users/gschorcht/followers","following_url":"https://api.github.com/users/gschorcht/following{/other_user}","gists_url":"https://api.github.com/users/gschorcht/gists{/gist_id}","starred_url":"https://api.github.com/users/gschorcht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gschorcht/subscriptions","organizations_url":"https://api.github.com/users/gschorcht/orgs","repos_url":"https://api.github.com/users/gschorcht/repos","events_url":"https://api.github.com/users/gschorcht/events{/privacy}","received_events_url":"https://api.github.com/users/gschorcht/received_events","type":"User","site_admin":false},"created_at":"2019-01-03T21:37:54Z","updated_at":"2019-01-03T21:37:54Z","author_association":"CONTRIBUTOR","body":"Sorry, wrong issue."}}
{"actor":{"display_login":"gschorcht"}}