Comments (7)
Basically this check ensures that the return value of a poll() or ppoll() syscall does not exceed the number of file descriptors nfds
supplied in the syscall arguments. Looking at the kernel source code I can't see how this assertion could fail, so no clue at the moment on how to try to reproduce the failure.
from nanos.
Closing this for now, since I'm unable to reproduce it. Will still keep an eye on it and reopen in case of new occurrences.
from nanos.
a different frame trace, same assertion
frame trace:
ffffc0003987fe10: ffffffff800c277b (wait_notify + 00000000000001cb/00000000000003c8)
ffffc0003987fe50: ffffffff800bf83f (notify_dispatch_with_arg + 000000000000009f/00000000000001a5)
ffffc0003987fec0: ffffffff800a922d (efd_write_bh + 00000000000001cd/00000000000001f2)
ffffc0003987ff20: ffffffff800a3113 (blockq_check_timeout + 0000000000000063/0000000000000289)
ffffc0003987ff80: ffffffff800d8d76 (write + 0000000000000166/0000000000000247)
ffffc0003987ffb0: ffffffff800e1a23 (syscall_handler + 00000000000002f3/0000000000000636)
loaded klibs:
assertion w->retval++ < (w->poll_fds->length / sizeof(struct pollfd)) failed at /nanos/src/unix/poll.c:939 (IP 0xffffffff800c0c63) in poll_notify(); halt
from nanos.
It looks like those assertions (and some more), happen when there is not enough free memory for the executing actions.
from nanos.
Related Issues (20)
- vdso calls appear to be unused when running -noaccel HOT 2
- objcache pagesize assertion failure in gcp
- Question: How to run unikernel on generic kvm HOT 1
- hot reload / upgrade nanovm? HOT 8
- issue(sqlite3): WAL - journal_mode and multi-thread support - err(522) SQLITE_IOERR_SHORT_READ HOT 7
- issue(gcp): metrics - klibs(gcp,tls) - memory leak (maybe) HOT 2
- chore(storage): warn when volume name/label length > nanos(VOLUME_LABEL_MAX_LEN) HOT 1
- feat(storage): prevent nanos from starting the program if the expected volumes are not available HOT 2
- issue(smp): tokio-rs/sled deadlock (probable) on cpu count > 1 HOT 9
- issue(fs): assertion !frame_is_full(ctx->frame) failed at /nanos/src/kernel/mutex.c:109 (IP 0xffffffff800460b4) HOT 2
- issue: assertion enqueue(pn->dirty_commits, sh) failed at .../pagecache.c:1088 ... in pagecache_commit_dirty_node(); halt HOT 11
- issue(unix_clock): clock_getcpuclockid and clock_getres unexpected behavior HOT 3
- arm64 golang hello-wold fails to run on MacBook Air M1 HOT 2
- issue: assertion staging->end + min < size failed at /nanos/src/fs/tlog.c:427 in log_write_internal() HOT 1
- allow passing in network settings via kernel boot args for firecracker
- Much Slower Transfer Rate for HTTP Requests Compared to Native HOT 11
- Is the `memfd_create` syscall supported? HOT 4
- Missing `FUTEX_WAKE_BITSET` implementation HOT 2
- cannot enable executable stack as shared object requires: Permission denied HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nanos.