[riot-notifications] [RIOT] segfault at 4 in _msg_receive (#272)

benpicco notifications at github.com
Fri Nov 8 19:35:56 CET 2013


With ENABLE_DEBUG for scheduler, seems always to happen at this order of events

```
scheduler: previous task: lowpan_transfer
scheduler: first in queue: ip_process
scheduler: next task: ip_process
scheduler: done.
removing process ip_process from runqueue 14.

scheduler: previous task: ip_process
scheduler: first in queue: idle
scheduler: next task: idle
scheduler: done.
adding process olsr_rec to runqueue 14.
idle: 31 14 1

scheduler: previous task: idle
scheduler: first in queue: olsr_rec
scheduler: next task: olsr_rec
scheduler: done.
adding process udp_packet_handler to runqueue 15.
LED_RED_TOGGLE
removing process olsr_rec from runqueue 14.

scheduler: previous task: olsr_rec
scheduler: first in queue: udp_packet_handler
scheduler: next task: udp_packet_handler
scheduler: done.
adding process lowpan_transfer to runqueue 14.

scheduler: previous task: udp_packet_handler
scheduler: first in queue: lowpan_transfer
scheduler: next task: lowpan_transfer
scheduler: done.
removing process lowpan_transfer from runqueue 14.

scheduler: previous task: lowpan_transfer
scheduler: first in queue: udp_packet_handler
scheduler: next task: udp_packet_handler
scheduler: done.
adding process ip_process to runqueue 14.
removing process udp_packet_handler from runqueue 15.
adding process olsr_rec to runqueue 14.

scheduler: previous task: udp_packet_handler
scheduler: first in queue: ip_process
scheduler: next task: ip_process
scheduler: done.
removing process ip_process from runqueue 14.

scheduler: previous task: ip_process
scheduler: first in queue: olsr_rec
scheduler: next task: olsr_rec
scheduler: done.
adding process udp_packet_handler to runqueue 15.

scheduler: previous task: olsr_rec
scheduler: first in queue: olsr_rec
scheduler: next task: olsr_rec
scheduler: done.
LED_RED_TOGGLE
removing process olsr_rec from runqueue 14.

scheduler: previous task: olsr_rec
scheduler: first in queue: udp_packet_handler
scheduler: next task: udp_packet_handler
scheduler: done.

Program received signal SIGSEGV, Segmentation fault.
0x0804b558 in _msg_receive (m=0x80b1e00 <udp_stack_buffer+7712>, block=1)
    at msg.c:265
265             *m = *sender_msg;
(gdb) 
```

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/272#issuecomment-28086214
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20131108/9dac441b/attachment.html>


More information about the notifications mailing list