Comment 2 for bug 402503

Revision history for this message
lordjoe@comcast.net (lordjoecomcast.net) wrote :

It seems that when I "/ctrlproxy disconnect" then "/ctrlproxy detach" or "/quit" I get this error.

I see that we enter the client disconnect hooks when we disconnect from the ctrlproxy server (e.g. disconnect irc client after "/ctrlproxy disconnect"). The auto away hook tries to call network_send_args() which uses client->network.connection->transport->backend_ops->is_connected, but transport seems corrupted.

I think I finally found the problem: free_irc_transport() does not set transport to NULL after freeing it. It does get checked in network_send_line_direct(), so it seems that it should indeed explicitely be set to NULL.