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

   @anjiahao1 
   
   I noticed that ostest with qemu-armv8a:netnsh_smp causes a deadlock.
   
   ```
   user_main: signal handler test
   sighand_test: Initializing semaphore to 0
   sighand_test: Unmasking SIGCHLD
   sighand_test: Registering SIGCHLD handler
   sighand_test: Starting waiter task
   sighand_test: Started waiter_main pid=153
   waiter_main: Waiter started
   waiter_main: Unmasking signal 32
   waiter_main: Registering signal handler
   waiter_main: oact.sigaction=0 oact.sa_flags=0 oact.sa_mask=0000000000000000
   waiter_main: Waiting on semaphore
   sighand_test: Signaling pid=153 with signo=32 sigvalue=42
   ```
   
   If I rever the following commit, the deadlock disappeared.
   
   ```
   commit 8abf803a1d7147efebc987a8ec5ac961a9a50515
   Author: anjiahao <[email protected]>
   Date:   Fri Jul 21 19:59:59 2023 +0800
   
       arm64:Need to store native sp pointer to tcb
   
       Signed-off-by: anjiahao <[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