[riot-notifications] [RIOT] vtimer_sleep fails after long uptime (#2435)

Joakim Gebart notifications at github.com
Wed Jun 3 11:36:12 CEST 2015


I managed to get a backtrace on a hanged system running the vtimer_msg test. The timer ran fine until hwtimer_now reported 12313 seconds (decimal) and 0x44e9 ticks (hexadecimal, 1/32768 second per tick). This was on a mulle with #3140, #3147  and #3146 applied.

The short term queue contains a loop:
```
(gdb) print shortterm_priority_queue_root 
$11 = {first = 0x2000112c <main_stack+1380>}
(gdb) print shortterm_priority_queue_root.first 
$12 = (priority_queue_node_t *) 0x2000112c <main_stack+1380>
(gdb) print *shortterm_priority_queue_root.first 
$13 = {next = 0x2000000c <msg_a>, priority = 3912824240, data = 16777216}
(gdb) print *shortterm_priority_queue_root.first->next
$14 = {next = 0x2000000c <msg_a>, priority = 3914335200, data = 0}
(gdb) print *shortterm_priority_queue_root.first->next->next
$15 = {next = 0x2000000c <msg_a>, priority = 3914335200, data = 0}
```

I still have the system paused in the debugger so I can investigate more but I don't have any time to start reading through the vtimer code right now.

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


More information about the notifications mailing list