Walkingmind / embox

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

broken mem.heap test #692

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.r13693, x86/nonvga_debug
2.
3.

What is the expected output? What do you see instead?
    test: running embox.test.mem.heap .......

  ______
 |  ____|                                            __          __
 | |___  _ __ ___            ____  ____  ____  _____/ /   _____ / /
 |  ___|| '_ ` _ \          / __ \/ __ \/ __ \/ ___/ /   |_____| |
 | |____| | | | | |_ _ _   / /_/ / /_/ / /_/ (__  )_/    |_____| |
 |______|_| |_| |_(_|_|_)  \____/\____/ .___/____(_)           | |
                                     /_/                        \_\
 ASSERTION FAILED on CPU 0
    at src/mem/heap/mspace_malloc.c:76
    in function mspace_memalign

iter++ < 2

    (memory allocation cyclic
)

 --   01000000 * A R    thread 0  task 0 --------------------------------------

 13 0x001c71a9 <__assertion_handle_failure+0xfc> ...lib/libc/assert/assert.c:45
 12 0x001c0ae4 <mspace_memalign+0x6c>           src/mem/heap/mspace_malloc.c:63
 11 0x001c0c47 <mspace_malloc+0x3a>            src/mem/heap/mspace_malloc.c:103
 10 0x00148574 <malloc+0x27>                           src/mem/heap/malloc.c:39
  9 0x00121e55 <__test_case_at_line_143+0x18>          src/tests/mem/heap.c:142
  8 0x00184d24 <test_run+0x47>                     src/framework/test/run.c:119
  7 0x00184c7c <test_case_run+0x52>                 src/framework/test/run.c:96
  6 0x00184b9f <test_suite_run+0xbb>                src/framework/test/run.c:55
  5 0x00184929 <test_mod_enable+0x2e>          src/framework/test/registry.c:31
  4 0x00148d63 <mod_enable+0x7b>                   src/framework/mod/core.c:143
  3 0x001487c2 <runlevel_set+0xa3>                  src/framework/runlevel.c:51
  2 0x001000ff <init+0x24>                                 src/kernel/init.c:51
  1 0x001000bd <kernel_start+0x10>                         src/kernel/init.c:23

run 0x00183514 <boot_stub+0x0>               src/kernel/thread/boot_thread.c:21

Please use labels and text to provide additional information.

Original issue reported on code.google.com by ki.stfu on 8 May 2014 at 11:27

GoogleCodeExporter commented 9 years ago
fixed by r13694

Original comment by ki.stfu on 8 May 2014 at 12:08