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

Filesystem issue when running stat() test #257

Open
Yaxuan-w opened this issue Jun 5, 2024 · 0 comments
Open

Filesystem issue when running stat() test #257

Yaxuan-w opened this issue Jun 5, 2024 · 0 comments

Comments

@Yaxuan-w
Copy link
Member

Yaxuan-w commented Jun 5, 2024

When running the stat.c test, we'll encounter the following error:

1758/32017MB	13.90 13.92 13.93 19/2584 1124993	(0) 
[1:0 0:45] 09:11:01 Wed Jun 05 [lind@7ae4e54fc08f: +1] ~/lind_project 
@(1:45) $ lind /stat.nexe

executing: [sel_ldr -a -- "runnable-ld.so" --library-path "/lib/glibc" /stat.nexe]
[1124995,775605376:21:11:06.232656] BYPASSING ALL ACL CHECKS
running stat("testfiles/statfile.txt")
size: 18
thread '<unnamed>' panicked at src/safeposix/filesystem.rs:607:13:
attempt to subtract with overflow
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5

** User exited program with signal 6.

Here's the line that it's saying that it panicked on.

The error appears 3 times in 10 times running. I'm not sure if this problem is stat specific.

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