masayuki2009 edited a comment on pull request #5761:
URL: https://github.com/apache/incubator-nuttx/pull/5761#issuecomment-1072893725


   @anchao 
   
   >The same issue also happens with raspberrypi-pico:nsh (non SMP).
   
   It seems that the hardfault happened.
   
   ```
   End of test memory usage:
   VARIABLE  BEFORE   AFTER
   ======== ======== ========
   arena       407d0    407d0
   ordblks         4        5
   mxordblk    39ba0    39ba0
   uordblks     5180     5180
   fordblks    3b650    3b650
   
   user_main: pthread_rwlock test
   pthread_rwlock: Initializing rwlock
   
   b up_assert                                                                  
                                                                                
   Breakpoint 1 at 0x10004b60: file common/arm_assert.c, line 479.              
                                                                                
   Note: automatically using hardware breakpoints for read-only addresses.      
                                                                                
   (gdb) c                                                                      
                                                                                
   Continuing.                                                                  
                                                                                
                                                                                
                                                                                
   Thread 1 hit Breakpoint 1, up_assert (filename=filename@entry=0x10015780 
"armv6-m/arm_hardfault.c", lineno=lineno@entry=123) at common/arm_assert.c:479  
    
   479       syslog_flush();                                                    
                                                                                
   (gdb) where                                                                  
                                                                                
   #0  up_assert (filename=filename@entry=0x10015780 "armv6-m/arm_hardfault.c", 
lineno=lineno@entry=123) at common/arm_assert.c:479                             
   #1  0x10003772 in _assert (filename=filename@entry=0x10015780 
"armv6-m/arm_hardfault.c", linenum=linenum@entry=123) at assert/lib_assert.c:36 
               
   #2  0x10000a5a in arm_hardfault (irq=<optimized out>, context=<optimized 
out>, arg=<optimized out>) at armv6-m/arm_hardfault.c:123                       
    
   #3  0x10001496 in irq_dispatch (irq=irq@entry=3, context=<optimized out>) at 
irq/irq_dispatch.c:179                                                          
   #4  0x100008ec in arm_doirq (irq=3, regs=0x0) at armv6-m/arm_doirq.c:70      
                                                                                
   #5  0x10000514 in exception_common () at armv6-m/arm_exception.S:188         
                                                                                
   ```


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