You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/03/29 12:23:37 UTC

[GitHub] [incubator-nuttx-apps] tanushreebaindur removed a comment on issue #246: Illegal calls to romdisk_register()

tanushreebaindur removed a comment on issue #246:
URL: https://github.com/apache/incubator-nuttx-apps/issues/246#issuecomment-808839970


   I got the master branch version of nuttx and nuttx apps a few days ago and I am using the nsh:sim configuration. 
   
   Using ‘make menuconfig’ I enabled the Memory Manager(MM) debug features including the error, warning and informational output. I then typed ‘make’ and then ran the simulator. This caused the simulator to exit without going to the nsh prompt due to an assertion failing as described below:
   
   Following is part of the output I see  :
   mm_free: Freeing 0x10bd5aef0
   mm_free: Freeing 0x10bd5af10
   mm_free: Freeing 0x10bcdad90
   mm_free: Freeing 0x10bcdadd0
   mm_free: Freeing 0x10bcdad70
   login: mm_free: Freeing 0x10bcd8ef0
   Assertion failed at file:mm_heap/mm_checkcorruption.c line: 101
   
   Line 101 in mm_checkcorruption.c is:
                assert(node->size >= SIZEOF_MM_FREENODE);
   
   Running the simulator without the mm debug features enabled will not cause the above problem. The simulator works fine and comes to the nsh prompt and I am able to run the hello world app and also the examples/bastest app at the nsh prompt.
   
   I wanted to know if I am missing something as the assertion is failing on enabling the mm debug features and not otherwise.
   


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org