-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Runtime error when using the client during reconnect #14
Comments
I'm sorry for the delay -- I've been quite busy with IRL issues. Generally speaking, I haven't done too much testing in regards to sending things outside of the main callback event loops (e.g. |
I'm very late to getting this resolved, sorry about that. I see you found a workaround, though let me know if you see any further issues. I was putting off, thinking it was going to be quite a bit of a rewrite to resolve, but looks like it was specifically related to ratelimiting (and thus much easier to fix). |
Hi,
I'm using the girc library in one of my projects and just added some code from the girc examples to reconnecting to the IRC server.
This works perfectly fine and when the connection is lost, he reconencts automatically after the given delay. But the problem is, that when a other goroutine tries to call e.g.
Cmd.Message()
to send something during the time between the connection is lost and girc reconnects, it ends up with a SIGSEGV and crashes. See the attached stacktraceI'm not sure if this is a library problem of girc or if I should catch this and don't use the client during reconenction.
Please let me know if you need more informations to debug this.
Best regards,
Felix
The text was updated successfully, but these errors were encountered: