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

   @Donny9 @xiaoxiang781216 
   
   I noticed that sim:elf crashes with this PR.
   
   
   ```
   $ ./nuttx
   
   NuttShell (NSH) NuttX-12.0.0
   MOTD: username=admin password=Administrator
   nsh> elf
   Initial memory usage: 1332888
   Registering romdisk at /dev/ram6
   
   Memory Usage after romdisk_register:
     Before:  1332888 After:  1333016 Change:      128
   Mounting ROMFS filesystem at target=/mnt/romfs with source=/dev/ram6
   
   Memory Usage after mount:
     Before:  1333016 After:  1333752 Change:      736
   
   ****************************************************************************
   * Executing errno
   ****************************************************************************
   
   
   Memory Usage after exec:
     Before:  1333752 After:  1403736 Change:    69984
   Wait a bit for test completion
   Segmentation fault (core dumped)
   ```
   
   Specifically, the following commit causes the crash.
   
   ```
   commit 6efdd50d5a31587598d1420dcb15559a94f3021c
   Author: dongjiuzhu1 <[email protected]>
   Date:   Fri Oct 13 22:34:55 2023 +0800
   
       arch/sim: Remove executable bit from the normal heap
   
       Signed-off-by: Xiang Xiao <[email protected]>
   ```


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