Gnus development mailing list
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: ding@gnus.org
Subject: Reviving Gnus after suspend/hibernation
Date: Tue, 18 Oct 2011 18:39:11 +0200	[thread overview]
Message-ID: <87wrc2qmog.fsf@gnu.org> (raw)

Hello,

When Gnus is left plugged or has non-agentized nnimap groups, recovering
from suspend-to-RAM or hibernation has always been a problem for me:
sometimes Emacs is frozen upon resume, trying to get data from some IMAP
stream.

With Emacs 23, I would typically unfreeze it by running ‘killall
gnutls-cli’ (!).

With native GnuTLS support in Emacs 24, this is no longer possible, so
it goes like this:

--8<---------------cut here---------------start------------->8---
$ gdb $(type -P emacs) $(pidof emacs)

[...]

0x00007f2345838813 in __select_nocancel () from /nix/store/vxycd107wjbhcj720hzkw2px7s7kr724-glibc-2.12.2/lib/libc.so.6
(gdb) return (int)-1
Make selected stack frame return now? (y or n) y
#0  0x00000000004eed33 in xg_select ()
(gdb) quit
A debugging session is active.

        Inferior 1 [process 2204] will be detached.

Quit anyway? (y or n) y
Detaching from program: /nix/store/0p4r2m8pscisxj5crd65x34prdrrmkz4-user-environment/bin/emacs, process 2204
--8<---------------cut here---------------end--------------->8---

It works, but I tend to think that the ergonomics could be improved.
:-)

How do you people do?

Thanks,
Ludo’.




             reply	other threads:[~2011-10-18 16:39 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-18 16:39 Ludovic Courtès [this message]
2011-10-18 17:15 ` Richard Riley
2011-10-18 18:00   ` Tassilo Horn
2011-10-18 19:14     ` Dave Abrahams
2011-10-19  6:20       ` Tassilo Horn
2011-10-21 15:31       ` Ludovic Courtès
2011-10-21 16:59         ` Steinar Bang
2011-10-21 23:58           ` Dave Abrahams
2011-10-22  9:07             ` Steinar Bang
2011-10-22 20:29               ` Dave Abrahams
2011-10-18 19:13 ` Dave Abrahams
2011-10-24 13:23 ` Ted Zlatanov
2011-10-27 17:41   ` Ted Zlatanov
2011-10-27 18:30     ` Jonas Hörsch
2011-10-28 16:27       ` Richard Riley
2011-10-29 19:07     ` Antoine Levitt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wrc2qmog.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).