unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#55973: 28.1; GNUS nnimap hangs with high UID
@ 2022-06-14 15:11 bateast--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-06-15 12:26 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: bateast--- via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-06-14 15:11 UTC (permalink / raw)
  To: 55973

Hi,

when opening IMAP folder with high (very) UID, gnus hangs on
gnu-uncompress-range.

I have an INBOX folder with very high UIDNEXT (2206239514). Even though
the actual number of email in the folder is low (33 EXISTS),
gnus-uncompress-range try to /uncompress/ 2 billions numbers, which make
it hangs forever.

---
Baptiste.

---- Technical details ----

*imap commands*

796 EXAMINE "INBOX"
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk $Filtered LoadRemoteImages $Junk $Classified $Forwarded $NotJunk gnus-expire)
* OK [PERMANENTFLAGS ()] Read-only mailbox.
* 33 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1370959925] UIDs valid
* OK [UIDNEXT 2206239514] Predicted next UID
* OK [HIGHESTMODSEQ 7659] Highest

*Backtrace*

⟶ nnimap-get-response

SELECT
(("OK" ("READ-WRITE") "Select" "completed" ("0.000" "+" "0.000" "secs") ".") ("OK" ("CLOSED") "Previous" "mailbox" "closed.") ("FLAGS" ("\\Answered" "\\Flagged" "\\Deleted" "\\Seen" "\\Draft" "NonJunk" "$Filtered" "LoadRemoteImages" "$Junk" "$Classified" "$Forwarded" "$NotJunk" "gnus-expire")) ("OK" ("PERMANENTFLAGS" "(\\Answered" "\\Flagged" "\\Deleted" "\\Seen" "\\Draft" "NonJunk" "$Filtered" "LoadRemoteImages" "$Junk" "$Classified" "$Forwarded" "$NotJunk" "gnus-expire" "\\*)") "Flags" "permitted.") ("33" "EXISTS") ("0" "RECENT") ("OK" ("UIDVALIDITY" "1370959925") "UIDs" "valid") ("OK" ("UIDNEXT" "2206239514") "Predicted" "next" "UID") ("OK" ("HIGHESTMODSEQ" "7659") "Highest"))


⟶ gnus-uncompress-range

gnus-uncompress-range((1 . 2206239513))

---- Versions ----

In GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.17.6)
 of 2022-04-28 built on frederik
Windowing system distributor 'The X.Org Foundation', version 11.0.12101003
System Description: Arch Linux

Configured using:
 'configure --sysconfdir=/etc --prefix=/usr --libexecdir=/usr/lib
 --localstatedir=/var --with-cairo --with-harfbuzz --with-libsystemd
 --with-modules --with-x-toolkit=gtk3 'CFLAGS=-march=x86-64
 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2
 -Wformat -Werror=format-security -fstack-clash-protection
 -fcf-protection -g -ffile-prefix-map=/build/emacs/src=/usr/src/debug
 -flto=auto' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
 -flto=auto''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY
PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE
XIM XPM GTK3 ZLIB

Important settings:
  value of $LANG: fr_FR.UTF-8
  locale-coding-system: utf-8-unix






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#55973: 28.1; GNUS nnimap hangs with high UID
  2022-06-14 15:11 bug#55973: 28.1; GNUS nnimap hangs with high UID bateast--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-06-15 12:26 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-06-15 12:26 UTC (permalink / raw)
  To: bateast; +Cc: 55973

bateast@bat.fr.eu.org writes:

> when opening IMAP folder with high (very) UID, gnus hangs on
> gnu-uncompress-range.
>
> I have an INBOX folder with very high UIDNEXT (2206239514). Even though
> the actual number of email in the folder is low (33 EXISTS),
> gnus-uncompress-range try to /uncompress/ 2 billions numbers, which make
> it hangs forever.

Yes, it's a known problem, so I've merged this with bug#51887, which is
also about this.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-15 12:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-14 15:11 bug#55973: 28.1; GNUS nnimap hangs with high UID bateast--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-15 12:26 ` Lars Ingebrigtsen

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).