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 ctime fails #32

Open
cty12 opened this issue Oct 23, 2015 · 0 comments
Open

The bionic libc test ctime fails #32

cty12 opened this issue Oct 23, 2015 · 0 comments

Comments

@cty12
Copy link

cty12 commented Oct 23, 2015

Description

The purpose of "test_ctime.c" is to test types defined in bionic ctime header and to test clock() function.

Actually at current commit ALL bionic tests fail. The 4 passes on Autobuild are because of errors in the testspecs.

Commit

c08c9aa

Environment

Ubuntu GNOME 15.04 64 bit
Pentium Dual Core E5200 with 4 gigs of DDR2 SDRAM
ZShell as default shell, latest goldfish

os_lab_2015
  |_ ucore_lib_bioniclibc
  |_ uClibc
  |_ ucore_plus

Reproduction

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_ctime.testspec

Current Result

kernel_execve: pid = 4, name = "/bionic-test/test_ctime".
instruction page fault at (0x07f30000) 0x6ffff000 0x017: Page-Translation R PID=4
trapframe at 0xc7e7ef68
  r00  0x6fffdfec
  r01  0x00000000
  r02  0x0000862c
  r03  0x00008580
  r04  0x00008524
  r05  0x00000000
  r06  0x00000000
  r07  0x00000000
  r08  0x00000000
  r09  0x00000000
  r10  0x00000000
  fp   0x00000000
  ip   0x00010fd0
  usr_lr   0x00010fc0
  sp   0x6fffdfe8
  lr   0x00000000
  spsr 0x00000050 User
  trap 0x00000003 Prefetch abort
  err  0x00000017
Process 4 killed by kernel.
sfs: unmount: 'simple file system' (1967/10321/12288)
vfs: unmount disk0.
all user-mode processes have quit.
kernel panic at proc.c:2018:
    assertion failed: nr_process == 1 + sysconf.lcpu_count
Welcome to the kernel debug monitor!!
Type 'help' for a list of commands.
K>

Expected Result (TO BE ADDED)

There should be a "tst passed. " string in the output.

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

No branches or pull requests

1 participant