masayuki2009 commented on PR #6949:
URL: https://github.com/apache/incubator-nuttx/pull/6949#issuecomment-1239004313

   >The patch now is rebased to the latest master.
   >I enabled CONFIG_DEBUG_ASSERTIONS=y on sim:usrsocktest and tried several 
times and could not reproduct this assert.
   
   @ethanlcz 
   Hmm, it's  very strange.
   I'm using the following defconfig and run the nuttx sim on Ubuntu 18.04 
x86_64.
   What OS are you using to test the nuttx sim?
   
   ```
   --- a/boards/sim/sim/sim/configs/usrsocktest/defconfig
   +++ b/boards/sim/sim/sim/configs/usrsocktest/defconfig
   @@ -12,12 +12,16 @@ CONFIG_ARCH_CHIP="sim"
    CONFIG_ARCH_SIM=y
    CONFIG_BOARDCTL_POWEROFF=y
    CONFIG_BUILTIN=y
   +CONFIG_DEBUG_ASSERTIONS=y
   +CONFIG_DEBUG_ERROR=y
   +CONFIG_DEBUG_FEATURES=y
    CONFIG_DEBUG_SYMBOLS=y
    CONFIG_DEV_LOOP=y
    CONFIG_DEV_ZERO=y
    CONFIG_EXAMPLES_USRSOCKTEST=y
    CONFIG_IDLETHREAD_STACKSIZE=4096
    CONFIG_INIT_ENTRYPOINT="nsh_main"
   +CONFIG_NDEBUG=y
    CONFIG_NET=y
    CONFIG_NET_USRSOCK=y
    CONFIG_NSH_ARCHINIT=y
   ```


-- 
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-unsubscr...@nuttx.apache.org

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

Reply via email to