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_getaddrinfo fails #16

Open
zhengzx opened this issue Sep 29, 2012 · 0 comments
Open

The bionic libc test test_getaddrinfo fails #16

zhengzx opened this issue Sep 29, 2012 · 0 comments

Comments

@zhengzx
Copy link

zhengzx commented Sep 29, 2012

Description

The test_getaddrinfo tries to get addrinfo from "www.android.com:9999" ,at first without the hints and then with the hints. .

It fails upon first call to getaddrinfo, 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_getaddrinfo.testspec 

Current result

kernel_execve: pid = 4, name = "/bionic-test/test_getaddrinfo".
trapframe at 0x7e06f68
r00 0x00000001
r01 0x00000001
r02 0x00000000
r03 0x00000004
r04 0x6fed5fdc
r05 0x6fffddac
r06 0x00000000
r07 0x00000119
r08 0x00000000
r09 0x00000000
r10 0x00000000
fp 0x6fffdf94
ip 0x40000000
usr_lr 0x6feb698d
sp 0x6fffdd60
lr 0x6fe81f3c
spsr 0x60000050 User
trap 0x00000002 Software interrupt
err 0x00000000
undefined syscall 0, pid = 4, name = 4.

Expected Result

The test passes.

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