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 2022/04/01 13:42:58 UTC

[GitHub] [incubator-nuttx] acassis opened a new issue #5956: LVGL on SIM is crashing

acassis opened a new issue #5956:
URL: https://github.com/apache/incubator-nuttx/issues/5956


   Some recent modification in the mainline is crashing LVGL demo:
   ```
   alan@dev:/tmp/nuttx$ ./tools/configure.sh sim:lvgl
   
   alan@dev:/tmp/nuttx$ ./nuttx 
   Segmentation fault (core dumped)
   
   $ uname -a
   Linux dev 5.13.0-39-generic #44-Ubuntu SMP Thu Mar 24 15:35:05 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
   ```
   


-- 
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: commits-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] xiaoxiang781216 commented on issue #5956: LVGL on SIM is crashing

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 commented on issue #5956:
URL: https://github.com/apache/incubator-nuttx/issues/5956#issuecomment-1086934282


   @acassis fix here: #5971. Please verify in your environment again.


-- 
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: commits-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] xiaoxiang781216 commented on issue #5956: LVGL on SIM is crashing

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 commented on issue #5956:
URL: https://github.com/apache/incubator-nuttx/issues/5956#issuecomment-1086653931


   Ok, I will take a look tomorrow.


-- 
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: commits-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] gustavonihei commented on issue #5956: LVGL on SIM is crashing

Posted by GitBox <gi...@apache.org>.
gustavonihei commented on issue #5956:
URL: https://github.com/apache/incubator-nuttx/issues/5956#issuecomment-1086033816


   After a quick inspection, I noticed the issue does not happen if `MEMSET_OPTSPEED` is selected.


-- 
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: commits-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] acassis commented on issue #5956: LVGL on SIM is crashing

Posted by GitBox <gi...@apache.org>.
acassis commented on issue #5956:
URL: https://github.com/apache/incubator-nuttx/issues/5956#issuecomment-1086652439


   Doing bisect I discovered that the issue was caused by commit ee931c137fb795630b4c68f040861583d52a3efd
   Adding -fno-builtin back to CFLAGS fixed the issue:
   ```
   diff --git a/boards/sim/sim/sim/scripts/Make.defs b/boards/sim/sim/sim/scripts/Make.defs
   index fb6bad3a97..abaa5bb2bd 100644
   --- a/boards/sim/sim/sim/scripts/Make.defs
   +++ b/boards/sim/sim/sim/scripts/Make.defs
   @@ -67,8 +67,8 @@ endif
    
    # Add -fno-common because macOS "ld -r" doesn't seem to pick objects
    # for common symbols.
   -ARCHCFLAGS = -fno-common -ffunction-sections -fdata-sections
   -ARCHCXXFLAGS = -fno-common -ffunction-sections -fdata-sections -nostdinc++
   +ARCHCFLAGS = -fno-common -fno-builtin -ffunction-sections -fdata-sections
   +ARCHCXXFLAGS = -fno-common -fno-builtin -ffunction-sections -fdata-sections -nostdinc++
    
    ifeq ($(CONFIG_CXX_EXCEPTION),)
      ARCHCXXFLAGS += -fno-exceptions -fcheck-new
   ```
   @xiaoxiang781216 could you please verify?


-- 
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: commits-unsubscribe@nuttx.apache.org

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