jlaitine opened a new pull request, #17263:
URL: https://github.com/apache/nuttx/pull/17263

   ## Summary
   
   This fixes the debug assertion bug 
https://github.com/apache/nuttx/issues/17259
   
   The DEBUGASSERT is wrong in two cases;
   1) In SIM, which does sim_timer_update from the idle task, and the sim timer 
runs on signals
   2) If signal is dispatched from within an interrupt
   
   The debugassert isn't very useful, so it is better to just remove it rather 
than handle the exceptions above.
   
   ## Impact
   
   Only removes the debugassert, which is wrong in the two exceptions mentioned 
in the Summary
   
   ## Testing
   
   Tested by adding 
   CONFIG_SIM_WALLTIME_SIGNAL=n into 
boards/sim/sim/sim/configs/ostest/defconfig, configuring, compiling and running 
sim:ostest target. The target doesn't crash for the debugassert any more
   


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