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

The bionic libc test test_executable_destructor fails #22

Open
jzk66596 opened this issue Nov 20, 2012 · 0 comments
Open

The bionic libc test test_executable_destructor fails #22

jzk66596 opened this issue Nov 20, 2012 · 0 comments

Comments

@jzk66596
Copy link

Description
The test_executable_destructor tries to test constructor and destructor functions in executables. But it fails with trapframe printed. See "Current result" for details.

Reproduce steps
cd ~/ucore_plus/ucore
make ARCH=arm BOARD=goldfishv7 defconfig
make sfsimg
make kernel
./uCore_test -s bionic -w 15 -t 45 -f src/user-ucore/testspecs/test_executable_destructor.testspec

Current result
kernel_execve: pid = 4, name = "/bionic-test/test_executable_destructor".
trapframe at 0x7e0af68
r00 0x00000004
r01 0x6fffdf78
r02 0x6fffdfcc
r03 0x6fffdf78
r04 0x30809000
r05 0x00000000
r06 0x00000000
r07 0x0000004b
r08 0x00000000
r09 0x00000000
r10 0x00000000
fp 0x6fffdf94
ip 0x3080902c
usr_lr 0x3080084c
sp 0x6fffdf70
lr 0x6fe81178
spsr 0x60000050 User
trap 0x00000002 Software interrupt
err 0x00000000
undefined syscall 0, pid = 4, name = 4.

Expected Result
The test passes with no trapframe printed but the right output information "OK".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant