unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Feng Shu" <tumashu@163.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 51934@debbugs.gnu.org
Subject: bug#51934: 28.0.60; gnus-summary-delete-article will hang emacs if nnimap expunge to NO
Date: Thu, 18 Nov 2021 18:54:37 +0800	[thread overview]
Message-ID: <87tug9wx76.fsf@163.com> (raw)
In-Reply-To: <87bl2hls7f.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 18 Nov 2021 10:37:56 +0100")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> "Feng Shu" <tumashu@163.com> writes:
>
>> Gnus will hang emacs when run gnus-summary-delete-article and nnimap expunge return NO.
>>
>>    651 NO System busy!
>>      NO System busy!
>>
>>    Process *nnimap* deleted
>
> Can you (setq debug-on-quit t) and `C-g' when it hangs?  Post the
> resulting backtrace.

Debugger entered: ("Quit")
  nnimap-wait-for-response(296)
  nnimap-get-response(296)
  nnimap-command("UID EXPUNGE %s" "842,845")
  nnimap-delete-article((842 845))
  nnimap-request-expire-articles((842 845) "INBOX" "imap.qq.com" force)
  gnus-request-expire-articles((842 845) "nnimap+imap.qq.com:INBOX" force)
  gnus-summary-delete-article(nil)
  funcall-interactively(gnus-summary-delete-article nil)
  call-interactively(gnus-summary-delete-article nil nil)
  command-execute(gnus-summary-delete-article)


my config:

        (nnimap "imap.qq.com"
                (nnimap-record-commands t)
                (nnimap-expunge t)
                (nnimap-stream ssl)
                (nnimap-fetch-partial-articles t))


18:50:01 [imap.qq.com] 296 UID EXPUNGE 842,845


329 NO System busy!
 NO System busy!






>
> The code is supposed to exit if the server closes the connections, but
> it sounds like there's a bug there, but it's not clear where.

-- 






  reply	other threads:[~2021-11-18 10:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-18  3:43 bug#51934: 28.0.60; gnus-summary-delete-article will hang emacs if nnimap expunge to NO Feng Shu
2021-11-18  9:37 ` Lars Ingebrigtsen
2021-11-18 10:54   ` Feng Shu [this message]
2021-11-18 11:04     ` Lars Ingebrigtsen
2021-11-18 11:08       ` Feng Shu
2021-11-18 11:14         ` Lars Ingebrigtsen
2021-11-18 11:21           ` Feng Shu
2021-11-18 11:43             ` Lars Ingebrigtsen
2021-11-18 11:49               ` Feng Shu
2021-12-23 10:19       ` Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87tug9wx76.fsf@163.com \
    --to=tumashu@163.com \
    --cc=51934@debbugs.gnu.org \
    --cc=larsi@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).