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

benpicco notifications at github.com
Thu Nov 21 00:20:23 CET 2013


this doesn't happen anymore with the lastest RIOT, instead I get
```
Program received signal SIGSEGV, Segmentation fault.
0x0804a727 in native_isr_entry (sig=29, info=0x808f44c <sigalt_stk+7212>, 
    context=0x808f4cc <sigalt_stk+7340>) at irq_cpu.c:319
319         _native_cur_ctx = (ucontext_t *)active_thread->sp;
(gdb) bt
#0  0x0804a727 in native_isr_entry (sig=29, info=0x808f44c <sigalt_stk+7212>, 
    context=0x808f4cc <sigalt_stk+7340>) at irq_cpu.c:319
#1  <signal handler called>
#2  0xf7fdb430 in __kernel_vsyscall ()
#3  0xf7ecc933 in write () from /lib/i386-linux-gnu/libc.so.6
#4  0x0804b0f4 in write (fd=1, buf=0x806a8a8, count=30) at syscalls.c:80
#5  0x0804b151 in puts (s=0x806a8a8 "RIOT native uart0 initialized.")
    at syscalls.c:94
#6  0x0804c526 in _native_init_uart0 () at native-uart0.c:96
#7  0x0804c292 in board_init () at board_init.c:27
#8  0x08049475 in startup (argc=2, argv=0xffffcf94) at startup.c:58
#9  0x08069f92 in __libc_csu_init ()
#10 0xf7e0589a in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#11 0x08049311 in _start ()
```
and
```
Program received signal SIGSEGV, Segmentation fault.
0x0804bced in sched_set_status (process=0x804b7b5 <msg_receive+25>, status=3)
    at sched.c:188
188         process->status = status;
(gdb) bt
#0  0x0804bced in sched_set_status (process=0x804b7b5 <msg_receive+25>, 
    status=3) at sched.c:188
#1  0x0804bbfe in sched_run () at sched.c:153
#2  0x0804aecb in isr_thread_yield () at native_cpu.c:152
#3  0xf7e2dd6b in makecontext () from /lib/i386-linux-gnu/libc.so.6
#4  0x00000000 in ?? ()
(gdb) bt
#0  0x0804bced in sched_set_status (process=0x804b7b5 <msg_receive+25>, 
    status=3) at sched.c:188
#1  0x0804bbfe in sched_run () at sched.c:153
#2  0x0804aecb in isr_thread_yield () at native_cpu.c:152
#3  0xf7e2dd6b in makecontext () from /lib/i386-linux-gnu/libc.so.6
#4  0x00000000 in ?? ()
```

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


More information about the notifications mailing list