-
Notifications
You must be signed in to change notification settings - Fork 100
nil pointer dereference #33
Comments
pack.ag/amqp.(*Message).Accept(0x0) This shows that Can you verify that you're handling the error from |
On closer inspection, it looks like there is a case where Thank you for bringing this to me attention. Lines 1231 to 1232 in a3e580d
|
Seems like this is it, because I'm closing a link in a separate goroutine. |
… error. * Adds exported `ErrConnClosed`, `ErrSessionClosed`, and `ErrLinkClosed` indicating a library consumer requested close. * Some refactoring to conn close logic to remove race condition where another component could acquire conn.errMu after conn.mux releases it but before conn.close acquires it. * Copied integration test fixes from #31. Fixes #33
… error. (#34) * Adds exported `ErrConnClosed`, `ErrSessionClosed`, and `ErrLinkClosed` indicating a library consumer requested close. * Some refactoring to conn close logic to remove race condition where another component could acquire conn.errMu after conn.mux releases it but before conn.close acquires it. * Copied integration test fixes from #31. Fixes #33
Fix is in master, let me know if that doesn't fix your issue or if you run into any other problems. |
Randomly in my CI pipeline I get panics like:
Revision:
156a96cbd71de6a80dd774d60de212f31c7272c7
If it's needed I can spend some time trying to narrow down the issue or you already have thoughts on this?
P.S. updated to the latest version, we'll see how it goes.
The text was updated successfully, but these errors were encountered: