[DRE-maint] Bug#783540: network outage causes mysterious exception

Antonio Terceiro terceiro at debian.org
Mon May 4 00:12:42 UTC 2015


Control: tag -1 + confirmed upstream

Hello, thanks for your bug report.

On Mon, Apr 27, 2015 at 04:06:34PM -0400, Antoine Beaupré wrote:
> Package: feed2imap
> Version: 1.2.3-1
> Severity: minor
> 
> My gateway lost network access (so my machine didn't notice) recently
> and I got a pile of those messages from cron in my inbox:
> 
> /usr/lib/ruby/vendor_ruby/feed2imap/feed2imap.rb:218:in `join': No live threads left. Deadlock? (fatal)
> from /usr/lib/ruby/vendor_ruby/feed2imap/feed2imap.rb:218:in `block in initialize'
> from /usr/lib/ruby/vendor_ruby/feed2imap/feed2imap.rb:218:in `each'
> from /usr/lib/ruby/vendor_ruby/feed2imap/feed2imap.rb:218:in `initialize'
> from /usr/bin/feed2imap:48:in `new'
> from /usr/bin/feed2imap:48:in `<main>'
> 
> Now I don't expect feed2imap to do anything magical when network goes
> out: failing is fine and expected. But "No live threads
> left. Deadlock?" is hardly a error message anyone should be expected
> to understand.
> 
> I would suggest "unreachable host" or something to that effect. :)

Fair enough. This is actually an artifact of an over-complicated code
for fetching the feeds in multiple threads, and unfortunately it's not
as simple as just providing the correct error message.

I want to rewrite that code at some point; you can expect this to be fixed in
a future new upstream release, but don't hold your breath. ;-)

-- 
Antonio Terceiro <terceiro at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20150503/e7040e12/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list