Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/bin/bind armv7a9-zynq7000-zedboard nightly fail #1225

Open
adamdebek opened this issue Nov 5, 2024 · 1 comment
Open

/bin/bind armv7a9-zynq7000-zedboard nightly fail #1225

adamdebek opened this issue Nov 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@adamdebek
Copy link
Contributor

adamdebek commented Nov 5, 2024

During nightly on armv7a9-zynq7000-zedboard on 3cef97a project hash, one of psh tests failed with error:

Exception: 4 #Abort
r0=00024008  r1=00000030  r2=00000ff8  r3=00000048
r4=00024008  r5=00000030  r6=00000031  r7=00000030
r8=00024000  r9=c019df8c r10=c0198678  fp=c019867c
ip=00000001  sp=7fffff20  lr=0001428b  pc=000140b8
psr=20000030 dfs=00000007 dfa=00000040 ifs=0000140f
ifa=ffffffff

in thread 19, process "/bin/bind" (PID: 8)

addr2line output:
arm-phoenix-addr2line 0x000140b8 -e _build/armv7a9-zynq7000-zedboard/prog/psh
/src/libphoenix/stdlib/malloc_dl.c:238
arm-phoenix-addr2line 0x0001428b -e _build/armv7a9-zynq7000-zedboard/prog/psh
/src/libphoenix/stdlib/malloc_dl.c:78

To reproduce first build: LONG_TEST=y DEBUG=1 TARGET=armv7a9-zynq7000-zedboard ./docker-build.sh clean all
and then run psh tests using trunner many times (even few hundreds)

@adamdebek adamdebek added the bug Something isn't working label Nov 5, 2024
@adamdebek
Copy link
Contributor Author

adamdebek commented Nov 5, 2024

My notes: When I built project without docker image I bumped into same error, but with diffrent program counter and warning from jffs2

warning: (7) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.

Exception: 4 #Abort
 r0=00000000  r1=000257e4  r2=00000000  r3=00000000
 r4=7fffffb4  r5=00000000  r6=00000003  r7=00000000
 r8=00000000  r9=00000000 r10=c019c8f8  fp=c019c8fc
 ip=00000000  sp=7fffff80  lr=000167ff  pc=00016802
psr=60000030 dfs=00000807 dfa=00000000 ifs=0000140f
ifa=ffffffff

in thread 19, process "/bin/bind" (PID: 8)

addr2line output:
~/toolchains/arm-phoenix/bin/arm-phoenix-addr2line 0x00016802 -e _build/armv7a9-zynq7000-zedboard/prog/psh
/home/adam/work6/phoenix-rtos-project/libphoenix/misc/init.c:33

~/toolchains/arm-phoenix/bin/arm-phoenix-addr2line 0x000167ff -e _build/armv7a9-zynq7000-zedboard/prog/psh
/home/adam/work6/phoenix-rtos-project/libphoenix/misc/init.c:32

In my opinion it looks like fail related to file system not fully mounted and starting executable from it, causing corrupted process image to be run. (/bin/bind is first process run in rc.psh)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant