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

Excessive number of unreleased instances of dos.library #118

Open
kiwi1969 opened this issue Oct 26, 2024 · 1 comment
Open

Excessive number of unreleased instances of dos.library #118

kiwi1969 opened this issue Oct 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kiwi1969
Copy link
Contributor

It seems in ApolloOS, that OpenLibrary() and CloseLibrary() invocations of dos.library are unbalanced,
and that the close() method in dos.library is not being reached in many cases.

To Reproduce
-Booted up ApolloOS
-Navigated to Scout, double-click
Click on "Libraries" to show current libraries, and the current open count etc

Expected behavior
Expect a fairly low number of 'currently open' counts (eg 1-50), however see 4335.
Looking at the dos.library source, the counter goes up by one for every Open, and down by one for every close.
To me this indicates that the system thinks that there are 4335 active programs that are still running that have a lock on the dos.library, although only have 52 tasks active.
Eachtime I check, the count seems to go up even higher.

Screenshots
Screenshot 2024-10-26 at 3 09 50 PM

Configuration
Amiga Computer:
Apollo V4 Stand Alone, ApolloOS 9.4.2

Additional context
N/A

@kiwi1969 kiwi1969 added the bug Something isn't working label Oct 26, 2024
@kiwi1969
Copy link
Contributor Author

Guy on the discord forum found this Aros ticket that seems to be same issue, indicating it is known issue in Aros.
deadwood2/AROS#123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant