opencog / cogserver

Distributed AtomSpace Network Server
Other
16 stars 23 forks source link

Cogserver unclean shutdown #34

Open linas opened 4 years ago

linas commented 4 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 4 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 4 years ago

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