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

vfs_vnode Assertion failure in SPECjvm2008's compiler.sunflow #166

Closed
nyh opened this issue Jan 16, 2014 · 3 comments
Closed

vfs_vnode Assertion failure in SPECjvm2008's compiler.sunflow #166

nyh opened this issue Jan 16, 2014 · 3 comments

Comments

@nyh
Copy link
Contributor

nyh commented Jan 16, 2014

When running the compiler.sunflow benchmark, I saw the following crash:

Assertion failed: vp->v_refcnt > 0 (/data/nyh/osv/fs/vfs/vfs_vnode.c: vn_lock: 127127)

The stack trace:

#4  0x00000000003ec5de in __assert_fail (
    expr=expr@entry=0x6532f1 "vp->v_refcnt > 0", 
    file=file@entry=0x6532d0 "/data/nyh/osv/fs/vfs/vfs_vnode.c", 
    line=line@entry=127, func=func@entry=0x653392 <__func__.3851> "vn_lock")
    at /data/nyh/osv/libc/exit/assert.c:7
#5  0x0000000000205f4b in vn_lock (vp=0xffffc000078d6180)
    at /data/nyh/osv/fs/vfs/vfs_vnode.c:127
#6  0x00000000003e4eba in vn_lock (vp=vp@entry=0xffffc000078d6180)
    at /data/nyh/osv/fs/vfs/vfs_vnode.c:126
#7  0x00000000003e360b in namei (path=<optimized out>, dpp=0x200008795530)
    at /data/nyh/osv/fs/vfs/vfs_lookup.c:219
#8  0x00000000003e6df5 in sys_stat (path=<optimized out>, st=0x2000087965c0)
    at /data/nyh/osv/fs/vfs/vfs_syscalls.cc:875
#9  0x00000000003dde1e in __xstat (ver=<optimized out>, 
    pathname=<optimized out>, st=0x2000087965c0)
    at /data/nyh/osv/fs/vfs/main.cc:839
#10 0x0000100001a1ae75 in Java_java_io_UnixFileSystem_getBooleanAttributes0 ()
#11 0x00002000008d12bb in ?? ()
#12 0x00000000979a93c8 in ?? ()
#13 0x00000000e8284618 in ?? ()
#14 0x000000008db01370 in ?? ()
#15 0x0000000000000000 in ?? ()
@nyh
Copy link
Contributor Author

nyh commented Jan 28, 2014

I just verified, I'm still seeing this crash on the lastest master. This time it crashed the compiler.compiler benchmark, with the same stack trace (same assertion failed, called from __xstat).

This crash is not happening every time, but does happen quite frequently, in one out of every few runs.

By the way, to build and run the compiler.compiler benchmark like I did, use the following command:

make image=specjvm
scripts/run.py -m2G -c2 -e "java.so -Xmx1400m -Xms1400m -jar specjvm.jar -ikv -bt 2 compiler.sunflow"

@raphaelsc
Copy link
Member

Should it be closed? I think this issue doesn't exist anymore.

@nyh
Copy link
Contributor Author

nyh commented Sep 16, 2014

I can't reproduce this bug on the latest master. So I'm closing the issue.

@nyh nyh closed this as completed Sep 16, 2014
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

2 participants