linguini1 commented on issue #16444:
URL: https://github.com/apache/nuttx/issues/16444#issuecomment-2910954170

   With the following modifications:
   
   ```c
   static inline_function void mm_addfreechunk(FAR struct mm_heap_s *heap,
                                               FAR struct mm_freenode_s *node)
   {
     FAR struct mm_freenode_s *next;
     FAR struct mm_freenode_s *prev;
     size_t nodesize = MM_SIZEOF_NODE(node);
     int ndx;
   
       if (!(nodesize >= MM_MIN_CHUNK)){
           up_putc('1');
       }
   
       if (!(MM_NODE_IS_FREE(node))){
           up_putc('2');
       }
   
       up_putc('a');
     DEBUGASSERT(nodesize >= MM_MIN_CHUNK);
       up_putc('b');
     DEBUGASSERT(MM_NODE_IS_FREE(node));
       up_putc('c');
   
     /* ... */
   ```
   
   I see this output (repeats forever as it spuriously reboots):
   
   ```console
   12a12a12a12a
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to