Skip to content

netdev2_tap: crashes when hammered #3341

Closed
@kaspar030

Description

(this is a different problem than #3222)

using "ping6 -f %tapX" from two threads on linux to riot at the same time, I can reliably crash native:

(gdb) run tap0
Starting program: /home/kaspar/src/riot.7/examples/ng_networking/bin/native/ng_networking.elf tap0
RIOT native uart0 initialized.
RIOT native interrupts/signals initialized.
LED_GREEN_OFF
LED_RED_ON
RIOT native board initialized.
RIOT native hardware initialization complete.

kernel_init(): This is RIOT! (Version: 2014.12-2147-gb227)
kernel_init(): jumping into first task...
UART0 thread started.
uart0_init() [OK]
RIOT network stack example application
All up, running the shell now
> 
Program received signal SIGSEGV, Segmentation fault.
0x0804f1a4 in _find (prev_ptr=0x8079fe4 <_nomac_stack+7460>, node_ptr=0x8079fe8 <_nomac_stack+7464>, ptr=0x8076bec <_buf+588>)
    at /home/kaspar/src/riot.7/sys/net/crosslayer/ng_pktbuf/_pktbuf_static.c:140
140             node = (_used_t *)node->next;
(gdb)

Metadata

Assignees

Labels

Area: networkArea: NetworkingPlatform: nativePlatform: This PR/issue effects the native platformType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions