masayuki2009 commented on PR #8438:
URL: https://github.com/apache/nuttx/pull/8438#issuecomment-1418641259

   >Hmm, it seems that heap corruption happened.
   >However, I can not reproduce the crash locally.
   
   I can reproduce the crash. 
   
   ```
   $ /home/ishikawa/opensource/QEMU/qemu-7.1/build/qemu-system-arm -M sabrelite 
-smp 1 -bios none -kernel ./nuttx -nographic ABDGHIJKNOPQ
   _assert: Current Version: NuttX  12.0.0 388fa31892-dirty Feb  6 2023 
16:22:38 arm
   _assert: Assertion failed : at file: mm_heap/mm_malloc.c:195 task: Idle Task 
0x1080106d
   ```
   
   It seems that we need to add -m 1024
   
   ```
   $ /home/ishikawa/opensource/QEMU/qemu-7.1/build/qemu-system-arm -M sabrelite 
-m 1024 -smp 1 -bios none -kernel ./nuttx -nographic
   ABDGHIJKNOPQ
   
   NuttShell (NSH) NuttX-12.0.0
   nsh>
   ```
   
   I will fix common.py in this PR.
   
   
   


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