Gnus development mailing list
 help / color / mirror / Atom feed
From: lee <lee@yun.yagibdah.de>
To: ding@gnus.org
Subject: Re: how to debug
Date: Thu, 07 Jul 2011 16:35:12 +0200	[thread overview]
Message-ID: <87d3hm40rj.fsf@yun.yagibdah.de> (raw)
In-Reply-To: <878vsa60r2.fsf@member.fsf.org> (Tassilo Horn's message of "Thu, 07 Jul 2011 08:52:33 +0200")

Tassilo Horn <tassilo@member.fsf.org> writes:

> lee <lee@yun.yagibdah.de> writes:
>
> Hi!
>
>> with emacs 24 from tonight, gnus sometimes keeps emacs busy
>> indefinitely when checking for new news (pressing `g' in the group
>> buffer).  I'm getting messages like:
>>
>
> [...]
>> | gnutls.c: [0] (Emacs) fatal error: A TLS packet with unexpected
>> | length was received.
>
> I get that error twice a day, too.  But it doesn't seem to have any bad
> effect...

Good to know that it doesn't seem to have bad effects :)

>> When I press Ctrl-g, emacs isn't busy anymore.  I can even check for
>> news again, and it eventually works fine.
>
> I can observe a similar behavior since month.  Usually, the last output
> is "nnimap read 78k" and then it stalls until I hit C-g.  After that,
> all works fine again.

Hm, a while ago someone posted here who had a problem with connections
to news servers, too.

>> Is there a way to find out what gnus or emacs are doing when emacs is
>> busy?
> [...]
>
> Set debug-on-quit instead.  Then you are put into the debugger on C-g
> and you can figure out what function was executing when the freeze
> occured.

Here's what I get:

,----
| Debugger entered--Lisp error: (quit)
|   signal(quit nil)
|   byte-code("\b\204\a.\301 \210\302\303\304\"\207" [debug-on-quit nntp-close-server signal quit nil] 3)
|   byte-code("\306\b	\n#\210\v\205.

      parent reply	other threads:[~2011-07-07 14:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-07  0:55 lee
2011-07-07  6:52 ` Tassilo Horn
2011-07-07  8:57   ` Leonidas Tsampros
2011-07-07 15:03     ` lee
2011-07-19 16:36     ` Lars Magne Ingebrigtsen
2011-07-20 19:16       ` Leonidas Tsampros
2011-07-20 19:30         ` Lars Magne Ingebrigtsen
2011-07-21  0:26           ` Leonidas Tsampros
2011-08-21  3:52             ` Lars Magne Ingebrigtsen
2011-07-07 14:35   ` lee [this message]

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=87d3hm40rj.fsf@yun.yagibdah.de \
    --to=lee@yun.yagibdah.de \
    --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).