opencog / cogserver

Distributed AtomSpace Network Server
Other
15 stars 22 forks source link

Cogserver unclean shutdown #34

Open linas opened 3 years ago

linas commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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