On Wed, 6 Jun 2007, [EMAIL PROTECTED] wrote:
I can't understand why module points into a freed region of memory here. The single list searching loop seems correct at the first glance.

The problem is that module_receive and FlushMessageQueue will destroy the module structure on IO failiure (modules closing down). I've committed a simple fix for that particular loop, but there might be other similar
cases, which I can't check for right now.

A better fix would be to make FlushMessageQueue and module_receive and possible others, not kill the bad modules, but to move them to a death row to be killed at a safe point.

/Viktor

Reply via email to