« Return to Thread: [bug #22567] malloc() can occasionally run into an infinite loop

[bug #22567] malloc() can occasionally run into an infinite loop

by gry-3 :: Rate this Message:

Reply to Author | View in Thread


URL:
  <http://savannah.nongnu.org/bugs/?22567>

                 Summary: malloc() can occasionally run into an infinite loop
                 Project: AVR C Runtime Library
            Submitted by: joerg_wunsch
            Submitted on: Wednesday 03/12/2008 at 10:54
                Category: None
                Severity: 4 - Important
                Priority: 5 - Normal
              Item Group: None
                  Status: None
        Percent Complete: 0%
             Assigned to: None
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I've seen two reports so far where malloc() eventually ran
into an infinite loop.  This is caused by the freelist
becoming cyclically linked.  So far, there's no test case
that would reliably reproduce this situation, but it should
be investigated what might cause that behaviour so it can
be fixed (and hopefully, a regression test could be written
as well for it).




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?22567>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@...
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

 « Return to Thread: [bug #22567] malloc() can occasionally run into an infinite loop