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

Cogserver unclean shutdown #34

Open
linas opened this issue Jul 27, 2020 · 2 comments
Open

Cogserver unclean shutdown #34

linas opened this issue Jul 27, 2020 · 2 comments

Comments

@linas
Copy link
Member

linas commented Jul 27, 2020

Something about the cogserver shutdown sequence frequently leads to the error message on shutdown:

corrupted size vs. prev_size
Aborted

This happens some time after main() has exited, and has something to do with the thread shutdown. This often makes the unit tests for https://github.com/opencog/atomspace-cog/ fail.

@linas
Copy link
Member Author

linas commented Jul 27, 2020

This appears to happen much much much more often, when a lot of logger messages are being written. So this might have something to do with the logger shutdown ...

linas added a commit to opencog/atomspace-cog that referenced this issue Jul 27, 2020
This has something to do with this bug report.
opencog/cogserver#34

Reducing logger messages seems to help a lot.
linas added a commit to linas/cogutils that referenced this issue Jul 28, 2020
This appears to fix issue opencog/cogserver#34

This bug has been around forever...
@linas
Copy link
Member Author

linas commented Jul 28, 2020

Pull req opencog/cogutil#235 sharply reduces the number of crashes.

linas added a commit to opencog/atomspace that referenced this issue Jul 28, 2020
This helps avoid many crashes reported in bug opencog/cogserver#34
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