[riot-notifications] [RIOT] [native] segfault in swapcontext when receiving a packet (#346)

benpicco notifications at github.com
Wed Nov 20 13:33:42 CET 2013


I've updated my RIOT and how it will segfault when receiving a UDP packet

```
Program received signal SIGSEGV, Segmentation fault.
0xf7e2dd94 in swapcontext () from /lib/i386-linux-gnu/libc.so.6
(gdb) bt
#0  0xf7e2dd94 in swapcontext () from /lib/i386-linux-gnu/libc.so.6
#1  0x0804afb4 in thread_yield () at native_cpu.c:173
#2  0x0804b740 in msg_reply (m=0x8083be0 <receive_thread_stack+15552>, reply=0x8083be8 <receive_thread_stack+15560>) at msg.c:178
#3  0x08057c56 in destiny_socket_recvfrom (s=1, buf=0x8083c5c <receive_thread_stack+15676>, len=256, flags=0, from=0x8083c45 <receive_thread_stack+15653>, fromlen=0x8083c28 <receive_thread_stack+15624>) at socket.c:982
#4  0x0805be44 in olsr_receiver_thread () at olsr_init.c:87
#5  0x00000000 in ?? ()
```

I'll try to bisect the issue.

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/346
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20131120/45db12ea/attachment.html>


More information about the notifications mailing list