raiden00pl opened a new issue, #14514:
URL: https://github.com/apache/nuttx/issues/14514

   ### Description / Steps to reproduce the issue
   
   Hardware timer example (`apps/example/timer`) is broken for some of ARM 
devices (probably for all ARM chips, but I can't check all of them).
   What I have verified and is broken: all Nordic chips and all STM32 chips.
   
   Broken with this PR: https://github.com/apache/nuttx/pull/13606
   
   Here crash with `nrf52840-dk/jumbo`:
   
   ```
   nsh> timer
   Open /dev/timer0
     flags: 00000000 timeout: 0 timeleft: 0 nsignals: 0
   Set timer interval to 1000000
     flags: 00000000 timeout: 0 timeleft: 0 nsignals: 0
   Attach timer handler
     flags: 00000002 timeout: 0 timeleft: 0 nsignals: 0
   Start the timer
     flags: 00000003 timeout: 0 timeleft: 0 nsignals: 1
   dump_assert_info: Current Version: NuttX  10.4.0 854ea78852 Oct 26 2024 
09:14:06 arm
   dump_assert_info: Assertion failed panic: at file: :0 task: <noname> 
process: <noname> 0x1284d
   up_dump_register: R0: 0000000a R1: 00000000 R2: 00007fff  R3: 200034a8
   up_dump_register: R4: 00000001 R5: 00000000 R6: 00000000  FP: 2000351c
   up_dump_register: R8: 00000000 SB: 2000351c SL: 00000000 R11: 00000034
   up_dump_register: IP: 00000001 SP: 20003468 LR: 0001347d  PC: 00000000
   up_dump_register: xPSR: 60000000 PRIMASK: 00000000 CONTROL: 00000000
   up_dump_register: EXC_RETURN: fffffff9
   dump_stackinfo: User Stack:
   dump_stackinfo:   base: 0x20002dc8
   dump_stackinfo:   size: 00002016
   dump_stackinfo:     sp: 0x20003468
   stack_dump: 0x20003448: 0000000a 00000000 00007fff 200034a8 00000001 
0001347d 00000000 60000000
   stack_dump: 0x20003468: 00000000 0000459f 2000350c 00014e53 2000350c 
0001333f 00000001 00000034
   stack_dump: 0x20003488: 00013381 00013353 000046c9 20002b70 00014e53 
00000000 0001248d 01000000
   stack_dump: 0x200034a8: 000186a0 00000000 00000000 00000000 00000000 
0000459f 2000350c 00014e53
   stack_dump: 0x200034c8: 2000350c 0001333f 00000001 00000034 00013381 
00013353 000046c9 20002b70
   stack_dump: 0x200034e8: 00014e53 00000000 00000014 000130ef 00014e53 
2000350c 00000003 0001283d
   stack_dump: 0x20003508: 00014e53 00000003 00000000 00000000 00000001 
00000000 00000000 00000003
   stack_dump: 0x20003528: 00000000 00000000 00000000 00000003 00000000 
000129d7 7665642f 6d69742f
   stack_dump: 0x20003548: 00307265 7d4166af eb712001 00000000 200035a8 
00000002 00000001 000127e5
   stack_dump: 0x20003568: ffffffff fffffffe 00000002 00000000 00000000 
0001284d 00000001 20002db8
   stack_dump: 0x20003588: 00000000 00003fed 0001284d 00001dfd 00000000 
00000000 00000000 00000000
   stack_dump: 0x200035a8: 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000
   dump_tasks:    PID GROUP PRI POLICY   TYPE    NPX STATE   EVENT      SIGMASK 
         STACKBASE  STACKSIZE   COMMAND
   dump_task:       0     0   0 FIFO     Kthread -   Ready              
0000000000000000 0x20001320      1008   <noname>
   dump_task:       1     1 100 RR       Task    -   Waiting Semaphore  
0000000000000000 0x20001de0      2008   <noname>
   dump_task:       2     2 100 RR       Task    -   Running            
0000000000000000 0x20002dc8      2016   <noname>
   
   ```
   
   ### On which OS does this issue occur?
   
   [OS: Linux]
   
   ### What is the version of your OS?
   
   Arch Linux
   
   ### NuttX Version
   
   nuttx-12.7.0-RC1, master
   
   ### Issue Architecture
   
   [Arch: arm]
   
   ### Issue Area
   
   [Area: Drivers]
   
   ### Verification
   
   - [X] I have verified before submitting the report.


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