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 hello_world fails #20

Open
whn09 opened this issue Oct 16, 2012 · 0 comments
Open

The bionic libc test hello_world fails #20

whn09 opened this issue Oct 16, 2012 · 0 comments

Comments

@whn09
Copy link

whn09 commented Oct 16, 2012

Description
hello_world.cpp fails. The father process calls "cout" function. But something goes wrong.

Reproduce Steps
cd ~/ucore_plus/ucore
./uCore_test -s bionic -w 15 -t 45 -f src/user-ucore/testspecs/test_hello_world.testpec

Current Result
From the serial console:

kernel_execve: pid = 4, name = "/bionic-test/test_hello_world".
sfs: unmount: 'simple file system' (1701/10587/12288)
vfs: unmount disk0.
all user-mode processes have quit.
kernel panic at proc.c:1970:
assertion failed: nr_process == 1 + pls_read(lcpu_count)
Welcome to the kernel debug monitor!!
Type 'help' for a list of commands.

Expected Result
Hello World

Future Work
The problem maybe caused by lacking of bioniclibc library. But, although I put bioniclibc library to the sfs, somethings goes wrong too. I will solve the bug in the week. Maybe it's caused by the high address '0xffffXXXX' which is pagefault.

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