-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 2015.09 - RC3 #6
Comments
Can you briefly explain how you can enforce memory leaks? Does it only occure on the iotlab? |
Now I tried (unicast, single-hop) pinging on the iotlab testbed. pktbuffer still behaves as expected |
Start an experiment with 5 nodes, ping from node to another like this: |
I used my running experiment (2 nodes and
|
Maybe it's not happening always. |
Have you tried with multicast pinging, too? |
multicast ping leaks memory and after several attempts I get the "pktbuffer full" error on the pinging side |
From #5 (comment)
I patched the diff --git a/examples/gnrc_networking/main.c b/examples/gnrc_networking/main.c
index 6301f42..24f5405 100644
--- a/examples/gnrc_networking/main.c
+++ b/examples/gnrc_networking/main.c
@@ -20,6 +20,7 @@
#include <stdio.h>
+#include "net/gnrc/pktbuf.h"
#include "shell.h"
#include "msg.h"
@@ -28,8 +29,17 @@ static msg_t _main_msg_queue[MAIN_QUEUE_SIZE];
extern int udp_cmd(int argc, char **argv);
+static int _pktbuf(int argc, char **argv)
+{
+ (void)argc;
+ (void)argv;
+ gnrc_pktbuf_stats();
+ return 0;
+}
+
static const shell_command_t shell_commands[] = {
{ "udp", "send data over UDP and listen on UDP ports", udp_cmd },
+ { "pktbuf", "output packet buffer strts", _pktbuf },
{ NULL, NULL, NULL }
};
And started an experiment with three nodes in the testbed. BOARD=iotlab-m3 IOTLAB_NODES=3 make iotlab-exp iotlab-term Then I started the experiment as usual
After that I have leaks in the packet buffer (e.g. on current release branch)
(oh and that shorts aren't printed anymore is quite a bummer ;-)) |
From #5 (comment)
Could be, could also be |
Since when do you have this problem? |
I realized this only yesterday. But it's also effecting
|
and rpl's output for the trickle timer values |
I realized it 1-2 weeks ago, but I forget about it and thought it was merely a problem with my compiler |
I have this for the rpl output, but not for od or ifconfig. |
And I think for RPL it is related to RIOT-OS/RIOT#1891 |
I think for od and ifconfig this is toolchain and nano.specs related. |
Superseded by #7 |
testsutils.mixins: fix pktbuf emptiness check
This issue lists the status of all tests for the Release Candidate 3 of the 2015.09 release.
Specs tested:
The text was updated successfully, but these errors were encountered: