[BUG] Local readiness retains descriptor keys after subscription separation #36
Labels
No labels
alpha-1
bug
ci
docs
duplicate
enhancement
help wanted
invalid
performance
phase-6
question
refactor
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erix/posixd#36
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Local readiness still accepts a descriptor occupation key after subscriptions moved to their own counted pool. The source types disagree at the call to
Table::watched, preventing compilation of that path.Reproduction
Inspect Posixd revision
39e474937b4c4e43261f63065fae489b85e38a9b:src/realm_io/channel/readiness.rsdeclareslocal_readinesswithDescriptorKey, whilesrc/descriptors/readiness.rsrequiresReadinessKeyinwatched. The readiness observer also passes its fd occupation instead of the original subscription key. Existing duplex socket controls already supply the new subscription key.This is a direct source-type mismatch. No compiler, test or CI execution was performed for this report; there is no reproduced diagnostic or exit status.
Expected and actual behavior
Expected: local observation and cleanup select the original subscription with its complete pool generation, independently of fd close or reuse.
Actual: the remaining descriptor-key signature cannot compose with the subscription lookup. The observer also repeats a current-fd lookup despite already retaining the original subscription.
Environment and identity
39e474937b4c4e43261f63065fae489b85e38a9b, Integrationb747455b2ce35911b69dfda4299ecc9300994564.Evidence and prior checks
The declarations and callers above provide source evidence. Repair all local observations to carry the original subscription key; retain a counted description through fd close/reuse. Author controls for independently retained sources, close/replacement, final queue disposal and uncertain native cleanup. Execution remains deferred by the current workflow instruction.
The source repair is signed in Posixd 12177355. Local observation now carries the original
ReadinessKey; the observer no longer resolves a potentially reused current fd. The revised close/reuse control and five new lifetime controls are authored and unrun. This report is resolved at source level under the execution waiver; compiler, unit and VM execution remain deferred.Tracking
Owning socket/concurrent-call work: #34. Coordinated implementation: #5. Phase completion: erix/integration#65.
Signed current revision: 12177355.
erikinkinen referenced this issue from erix/docs2026-10-03 00:02:49 +02:00
erikinkinen referenced this issue2026-10-03 00:02:50 +02:00
erikinkinen referenced this issue from erix/integration2026-10-03 00:02:51 +02:00