Menu

#4 free() still a bit flaky

open
nobody
5
2007-10-06
2007-10-05
No

At times, free() screws up. Though it's pretty bad when a test program ("test tsr") can demonstrate this bug every time.

Discussion

  • Andrew

    Andrew - 2007-10-06
    • labels: --> Memory management
     
  • Andrew

    Andrew - 2007-10-06

    Logged In: YES
    user_id=1638080
    Originator: NO

    Can you provide more information than that? What exactly is screwing up? The list pointers?

    Running test tsr many many times followed by test malloc Works For Me.

    If you could you provide output or a patch, please do.

    Thanks.

     
  • GreaseMonkey

    GreaseMonkey - 2007-10-09

    Logged In: YES
    user_id=1801334
    Originator: YES

    Currently "test fdd" is broken, too.
    The problem occurs in sched.c when allocating the stack for a task - the system freezes.
    However, I am not sure which function is broken: malloc(), calloc(), or free().

     

Log in to post a comment.

MongoDB Logo MongoDB