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.
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.