General

Profile

bpot (Bob Potter)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 2 2

Activity

04/16/2013

06:29 AM Ruby Bug #7584: Ruby hangs when shutting down an ssl connection in gc finalization
Looks like that fixes it! I was unable to reproduce with "ruby 2.1.0dev (2013-04-15 trunk 40308) [x86_64-linux]".
bpot (Bob Potter)

03/27/2013

03:38 AM Ruby Bug #8167: net/imap failing to parse IMAP response containing one BODYSTRUCTURE
It looks like the response is invalid at least according the RFC3501. The additional fields that the parser is blowing up on should only be included if the type is 'message/rfc822', in this case it is 'message/delivery-status'. It looks ... bpot (Bob Potter)

03/23/2013

11:50 AM Ruby Bug #7584: Ruby hangs when shutting down an ssl connection in gc finalization
It looks like it is a race condition where the TCPSocket finalizer closes a fd, that fd is reused by another thread and then we try to do SSL_shutdown on this new connection and bad things happen.
Would it make sense to have the TCPSo...
bpot (Bob Potter)
10:32 AM Ruby Bug #7584: Ruby hangs when shutting down an ssl connection in gc finalization
=begin
Digging into this some more because it cropped up in another project.
I've had some luck reproducing this issue with a small script: https://gist.github.com/bpot/5225920
Sometimes it reproduces easily, sometimes it doesn't....
bpot (Bob Potter)

02/19/2013

06:15 AM Ruby Bug #7584: Ruby hangs when shutting down an ssl connection in gc finalization
For what it's worth, we were able to work around this by explicitly shutting down ssl connections instead of letting it happen during GC. bpot (Bob Potter)

12/18/2012

04:26 AM Ruby Bug #7584 (Closed): Ruby hangs when shutting down an ssl connection in gc finalization
It appears that during garbage collection ruby will sometimes attempt to shutdown an ssl connection that has already been shutdown. At least in certain cases this causes the SSL_shutdown call to block forever.
(gdb) bt
#0 0xb76fa424...
bpot (Bob Potter)

01/29/2010

10:57 AM Ruby Bug #2683: IMAP hangs when receiving an unexpected "BYE" during login
=begin

=end
bpot (Bob Potter)
10:57 AM Ruby Bug #2683 (Closed): IMAP hangs when receiving an unexpected "BYE" during login
=begin
The main imap thread will hang if the receiving thread receives an unexpected "BYE" message during login. IMAP#receive_responses (lines 1054-7) sets the exception correctly but fails to break out of the main reading loop because...
bpot (Bob Potter)

Also available in: Atom