Walkingmind / embox

Automatically exported from code.google.com/p/embox
2 stars 0 forks source link

dlist_debug_check assertion failed in priolist_add #676

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.r12498, ppc/debug
2.apply patch
3.run

What is the expected output? What do you see instead?
Started shell [tish] on device [ttyS0]
loading start script:
(<>)(<>)(<>)(<>)(<>)(<>)(<>)(<>)(<>)(<

  ______
 |  ____|                                            __          __
 | |___  _ __ ___            ____  ____  ____  _____/ /   _____ / /
 |  ___|| '_ ` _ \          / __ \/ __ \/ __ \/ ___/ /   |_____| |
 | |____| | | | | |_ _ _   / /_/ / /_/ / /_/ (__  )_/    |_____| |
 |______|_| |_| |_(_|_|_)  \____/\____/ .___/____(_)           | |
                                     /_/                        \_\
 ASSERTION FAILED on CPU 0
    at src/util/dlist_debug.c:26
    in function __dlist_debug_check

(!poison || (void *) ~poison == head) && n->prev == head && p->next == head

    (
head: 0x0009b8a0, poison: 0x0009b8a4
prev: 0x00005998, n: 0x2f890000, p: 0x419e0008
next: 0x0009b8c4, n: 0x000069d8, p: 0x00008000
)

Please use labels and text to provide additional information.
qemu 1.7.50, gcc 4.8.2

Original issue reported on code.google.com by ki.stfu on 23 Jan 2014 at 4:29

Attachments:

GoogleCodeExporter commented 9 years ago
backtrace:
(gdb) bt
#0  arch_shutdown (mode=ARCH_SHUTDOWN_MODE_ABORT)
    at src/arch/ppc/kernel/arch.c:17
#1  0x00042134 in __assertion_handle_failure (
    point=0x755c0 <__assertion_point.1538>)
    at src/lib/libc/assert/assert.c:63
#2  0x0005f0cc in __dlist_debug_check (head=0x9b8a0 <spwd_buf+88>)
    at src/util/dlist_debug.c:17
#3  0x0003caac in dlist_empty (head=0x9b8a0 <spwd_buf+88>)
    at src/include/util/dlist.h:125
#4  0x0003ccb8 in priolist_add (link=0x9b8a0 <spwd_buf+88>, 
    list=0x9abe0 <rq>) at src/util/priolist.c:18
#5  0x00027784 in runq_insert (queue=0x9abe0 <rq>, 
    t=0x9b7f4 <kernel_clock_source>)
    at src/kernel/sched/strategy/runq/prioq.c:24
#6  0x00023684 in __sched_enqueue (t=0x9b7f4 <kernel_clock_source>)
    at src/kernel/sched/sched.c:92
#7  0x00023f80 in __schedule (preempt=1)
    at src/kernel/sched/sched.c:395
#8  0x00024074 in sched_preempt () at src/kernel/sched/sched.c:424
---Type <return> to continue, or q <return> to quit---
#9  0x00006884 in critical_dispatch_pending ()
    at src/kernel/critical.c:35
#10 0x000038f4 in irq_handler (irq=10)
    at src/arch/ppc/kernel/irq_handler.c:27
#11 0x6f69736f in ?? ()
#12 0x00000000 in ?? ()

Original comment by ki.stfu on 23 Jan 2014 at 4:31

GoogleCodeExporter commented 9 years ago

Original comment by ki.stfu on 24 Jan 2014 at 2:23