-
Notifications
You must be signed in to change notification settings - Fork 2k
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
gnrc_ipv6: crash on heavy network load on native #10875
Comments
The backtrace looks |
Hm, the crash happens on different calls in the IMHO it would be reasonable to let @miri64 have a short look before we close it. |
The send function changed significantly since |
So I think the version of master @kaspar030 reported on in #6123 was 8432d92. I determined this by running git log --merges --before="2016-11-15 17:55" l684 in #6123 seems to me to be the first access to a pointer in the provided RIOT/sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c Lines 657 to 684 in 8432d92
same goes for l539 in current master 6cd81db RIOT/sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c Lines 525 to 539 in 6cd81db
I'd say its inconclusive if it is the same error, but in both cases the packet seems to get corrupted while being in |
We have |
Thanks. Agreed. |
Discussion below unrelated to issue at hand ;-)@gschorcht Why |
I didn't try whether it also happens with data sizes less than the maximum size. I just used the same command as for my stress tests of esp8266 Probably also because I thought that the crash might be related to the buffer full problem and requires maximum data size to reproduce it. BTW, I still have a packet buffer problem there, issue 4 in #10861. I ran into the problem described here when I was trying whether I can reproduce it on |
Since both WiFi and Ethernet have an MTU 1500 that would be |
Yes, but if the router provides the IPv6 MTU option in its RA as mine does, the MTU is downsized to 1440 as in my case 😉 Exactly this question came up also in PR #10792 and PR #10581. The interface starts with MTU 1500 but once the first RA is received and the interface gets its routing prefix, the MTU is also downsized. This happens for Linux boxes in the same way. |
Ok sorry, I forgot about that. On native however, the MTU stays 1500. |
Were you able to? |
No, I just saw the crash described here. In |
Ok, I see. According to the description in #6123, the data size does not seem to matter. |
True |
Description
Bombarding
native
with pings of maximum size and an interval of 0 from multiple terminals leads to crash. The following is the backtrace fromgdb
Steps to reproduce the issue
Compile
examples/gnrc_networking
with-g
option:Start
gdb
:Run the RIOT instance in gdb:
Ping from four terms:
After a while, RIOT instance should crash.
The text was updated successfully, but these errors were encountered: