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

spipetest leads to memory leak in arm #31

Open
eternalNight opened this issue Sep 15, 2013 · 0 comments
Open

spipetest leads to memory leak in arm #31

eternalNight opened this issue Sep 15, 2013 · 0 comments

Comments

@eternalNight
Copy link
Collaborator

Description

spipetest leads to memory leak in arm

Commit

deab5d9 Update autotest report headers

Reproduce Steps

cd ucore
make ARCH=arm BOARD=goldfishv7 menuconfig (disable DDE)
UCORE_TEST=/testbin/spipetest make sfsimg
UCORE_TEST=/testbin/spipetest make kernel
./uCore_test -sf src/user-ucore/testspecs/spipetest.testspec

Current Result

From the serial console:

kernel_execve: pid = 2, name = "/testbin/spipetest".
child write ok
parent read ok
spipetest pass
sfs: unmount: 'simple file system' (7470/4818/12288)
vfs: unmount disk0.
all user-mode processes have quit.
kernel panic at proc.c:2020:
assertion failed: nr_used_pages_store == nr_used_pages()

Expected Result

The test passes without memory leak.

eternalNight pushed a commit that referenced this issue Sep 15, 2013
Issue #31

spipetest leads to memory leak in arm

Signed-off-by: Junjie Mao <[email protected]>
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