Kinsey Moore created an issue: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5416



## Summary
The ZynqMP ARM R5 BSP sample test hello.exe crashes on start.

```
*** FATAL ***
fatal source: 9 (RTEMS_FATAL_SOURCE_EXCEPTION)

R0   = 0x4500fab0 R8  = 0x00000068
R1   = 0x45012550 R9  = 0x00000002
R2   = 0x45012558 R10 = 0x00000008
R3   = 0x00000068 R11 = 0x00000008
R4   = 0x45012550 R12 = 0x00000000
R5   = 0x3ffedaa9 SP  = 0x00020ac8
R6   = 0x3ffedaa8 LR  = 0x84fffff8
R7   = 0x45012558 PC  = 0x45005b3e
CPSR = 0x200101f3 VEC = 0x00000004
FPEXC = 0x40000000
FPSCR = 0x00000000
D00 = 0x0033000040000000
D01 = 0x0400880002c8a042
D02 = 0x0102180410001088
D03 = 0xdc04000000000000
D04 = 0x0000000000040180
D05 = 0x6044000201008090
D06 = 0x0000000000000000
D07 = 0x00000000000001fe
D08 = 0x0200508004840004
D09 = 0x9240000008104085
D10 = 0x0000000802006820
D11 = 0x0001040844002444
D12 = 0x00000102180c5200
D13 = 0x0000004000000024
D14 = 0x0050000008090320
D15 = 0x0008000400480002
RTEMS version: 7.0.0.a640977c9f1e557610bf774335dcccea0e3b952f
RTEMS tools: 15.2.0 20250808 (RTEMS 7, RSB 
efde4afe1df5d6739f8c1efcd1473d15e2869e5f, Newlib 038afec1)
executing thread ID: 0x09010001
executing thread name: IDLE
```

The code segment in question is:
```ASM
45005b1c <_Heap_Block_allocate>:
45005b1c:       e92d 41f0       stmdb   sp!, {r4, r5, r6, r7, r8, lr}
45005b20:       684d            ldr     r5, [r1, #4]
45005b22:       4698            mov     r8, r3
45005b24:       f1a2 0408       sub.w   r4, r2, #8
45005b28:       f025 0601       bic.w   r6, r5, #1
45005b2c:       eb06 0e01       add.w   lr, r6, r1
45005b30:       b084            sub     sp, #16
45005b32:       eba4 0c01       sub.w   ip, r4, r1
45005b36:       f8de 3004       ldr.w   r3, [lr, #4]
45005b3a:       07df            lsls    r7, r3, #31
45005b3c:       bf48            it      mi
45005b3e:       4603            movmi   r3, r0
```

## Steps to reproduce


<!-- Pre-set options
- milestone
-->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5416
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to