Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

neomutt freeze (IMAP config) #4197

Open
szaszg opened this issue Mar 11, 2024 · 0 comments
Open

neomutt freeze (IMAP config) #4197

szaszg opened this issue Mar 11, 2024 · 0 comments
Labels

Comments

@szaszg
Copy link

szaszg commented Mar 11, 2024

Expected Behaviour

Neomutt should never hang or freeze.

Actual Behaviour

With an IMAP config (Groupwise 2018 server), neomutt time to time freeze. Freeze on the pager screen or when viewing an e-mail, or even when sending a mail (this last is the most annoying thing).

Looks neomutt wait for data from IMAP server but never get.

When I hit Ctrl-C and say no to "Exit NeoMutt without saving? ([yes]/no):", most of the time neomutt "resurrect", but some times not (SIGSEGV).

GDB backtrace in "freeze":

Progrogram received signal SIGINT, Interrupt.
                         0x00007ffff771709d in __GI___libc_read (fd=6, buf=0x555555a2ada3, nbytes=5) at ../sysdeps/unix/sysv/linux/read.c:26
26      ../sysdeps/unix/sysv/linux/read.c: No such file or directory.
(gdb) bt
#0  0x00007ffff771709d in __GI___libc_read (fd=6, buf=0x555555a2ada3, nbytes=5) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007ffff791299d in  () at /lib/x86_64-linux-gnu/libcrypto.so.3
#2  0x00007ffff7909967 in  () at /lib/x86_64-linux-gnu/libcrypto.so.3
#3  0x00007ffff7907f86 in  () at /lib/x86_64-linux-gnu/libcrypto.so.3
#4  0x00007ffff79086f3 in BIO_read () at /lib/x86_64-linux-gnu/libcrypto.so.3
#5  0x00007ffff7e46a70 in  () at /lib/x86_64-linux-gnu/libssl.so.3
#6  0x00007ffff7e49f5d in  () at /lib/x86_64-linux-gnu/libssl.so.3
#7  0x00007ffff7e48b70 in  () at /lib/x86_64-linux-gnu/libssl.so.3
#8  0x00007ffff7e1db2e in  () at /lib/x86_64-linux-gnu/libssl.so.3
#9  0x00007ffff7e29773 in SSL_read () at /lib/x86_64-linux-gnu/libssl.so.3
#10 0x0000555555691f95 in ssl_socket_read
    (conn=0x5555558fbb20, buf=0x5555558fbdc4 "a0130 OK STATUS completed\r\ntallas/SIM-WiFi\" (MESSAGES 28 RECENT 0 UIDNEXT 43 UIDVALIDITY 1547709701 UNSEEN 0)\r\nE\" \"FROM\" \"SENDER\" \"SUBJECT\" \"TO\" \"CC\" \"MESSAGE-ID\" \"REFERENCES\" \"CONTENT-TYPE\" \"CONTENT-"..., count=1024) at ../neomutt/conn/openssl.c:1341
#11 0x000055555568be06 in mutt_socket_readchar (conn=0x5555558fbb20, c=0x7fffffffc5eb "U") at ../neomutt/conn/socket.c:206
#12 0x000055555568bf5f in mutt_socket_readln_d (buf=0x555555a3bf80 "a0130 OK STATUS completed", buflen=512, conn=0x5555558fbb20, dbg=5) at ../neomutt/conn/socket.c:245
#13 0x000055555567875a in imap_cmd_step (adata=0x5555558fb8b0) at ../neomutt/imap/command.c:1163
#14 0x0000555555678d58 in imap_exec (adata=0x5555558fb8b0, cmdstr=0x0, flags=0 '\000') at ../neomutt/imap/command.c:1341
#15 0x00005555556758b8 in cmd_queue (adata=0x5555558fb8b0, cmdstr=0x7fffffffc7a0 "STATUS \"Calendar\" (UIDNEXT UIDVALIDITY UNSEEN RECENT MESSAGES)", flags=2 '\002') at ../neomutt/imap/command.c:150
#16 0x0000555555675aa7 in cmd_start (adata=0x5555558fb8b0, cmdstr=0x7fffffffc7a0 "STATUS \"Calendar\" (UIDNEXT UIDVALIDITY UNSEEN RECENT MESSAGES)", flags=2 '\002') at ../neomutt/imap/command.c:214
#17 0x0000555555678c4a in imap_exec (adata=0x5555558fb8b0, cmdstr=0x7fffffffc7a0 "STATUS \"Calendar\" (UIDNEXT UIDVALIDITY UNSEEN RECENT MESSAGES)", flags=2 '\002') at ../neomutt/imap/command.c:1318
#18 0x000055555567bc0e in imap_status (adata=0x5555558fb8b0, mdata=0x5555558b1340, queue=true) at ../neomutt/imap/imap.c:1142
#19 0x000055555567bdbc in imap_mailbox_status (m=0x555555a33300, queue=true) at ../neomutt/imap/imap.c:1212
#20 0x000055555567bc94 in imap_mbox_check_stats (m=0x555555a33300, flags=0 '\000') at ../neomutt/imap/imap.c:1157
#21 0x00005555555aa60b in mx_mbox_check_stats (m=0x555555a33300, flags=0 '\000') at ../neomutt/mx.c:1762
#22 0x00005555555a0301 in mailbox_check (m_cur=0x5555558e9c90, m_check=0x555555a33300, st_cur=0x7fffffffd140, flags=0 '\000') at ../neomutt/mutt_mailbox.c:136
#23 0x00005555555a063d in mutt_mailbox_check (m_cur=0x5555558e9c90, flags=0 '\000') at ../neomutt/mutt_mailbox.c:219
#24 0x00005555555a06be in mutt_mailbox_notify (m_cur=0x5555558e9c90) at ../neomutt/mutt_mailbox.c:236
#25 0x00005555555c6fe2 in dlg_pager (pview=0x7fffffffd330) at ../neomutt/pager/dlg_pager.c:445
#26 0x00005555555cb5d6 in mutt_display_message (win_index=0x555559f837a0, shared=0x555555a38a70) at ../neomutt/pager/message.c:490
#27 0x00005555555b835c in op_display_message (shared=0x555555a38a70, priv=0x555559f83770, op=72) at ../neomutt/index/functions.c:656
#28 0x00005555555beb9b in index_function_dispatcher (win=0x555559f837a0, op=72) at ../neomutt/index/functions.c:3285
#29 0x00005555555b7369 in dlg_index (dlg=0x5555558b5490, m_init=0x5555558e9c90) at ../neomutt/index/dlg_index.c:1334
#30 0x00005555555994e8 in main (argc=1, argv=0x7fffffffdd78, envp=0x7fffffffdd88) at ../neomutt/main.c:1387

How often does this happen?

  • Always

When did it start to happen?

  • Years ago... with some versions it happened less often, with some more often...

NeoMutt Version

$ neomutt -v
NeoMutt 20240201
Copyright (C) 2015-2024 Richard Russon and friends
NeoMutt comes with ABSOLUTELY NO WARRANTY; for details type 'neomutt -vv'.
NeoMutt is free software, and you are welcome to redistribute it
under certain conditions; type 'neomutt -vv' for details.

System: Linux 6.5.5stork (x86_64)
ncurses: ncurses 6.4.20221231 (compiled with 6.4.20221231)
libidn2: 2.3.3 (compiled with 2.3.3)
OpenSSL: OpenSSL 3.0.11 19 Sep 2023
libnotmuch: 5.6.0
storage: lmdb
compression: lz4

Configure options: --prefix=/home/gergely/bin/neomutt --disable-doc --disable-idn --fmemopen --ssl --locales-fix --homespool --sasl --lmdb --notmuch --lua --with-lua=/usr --sqlite --lz4

Compilation CFLAGS: -fno-delete-null-pointer-checks -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__ -D_XOPEN_SOURCE_EXTENDED -I/usr/include/lua5.2 -I/home/gergely/bin/neomutt/include -I/home/gergely/bin/neomutt/include -DNCURSES_WIDECHAR -I/home/gergely/bin/neomutt/include -O2

Compile options:
  -autocrypt +fcntl -flock +fmemopen +futimens +getaddrinfo -gnutls -gpgme 
  -gsasl -gss +hcache +homespool +idn +inotify +locales_hack +lua -mixmaster 
  +nls +notmuch +openssl +pgp +regex +sasl +smime +sqlite +truecolor 

MAILPATH="mailbox"
PKGDATADIR="/home/gergely/bin/neomutt/share/neomutt"
SENDMAIL="/usr/sbin/sendmail"
SYSCONFDIR="/home/gergely/bin/neomutt/etc"

To learn more about NeoMutt, visit: https://neomutt.org
If you find a bug in NeoMutt, please raise an issue at:
    https://github.com/neomutt/neomutt/issues
or send an email to: <[email protected]>

Extra Info

  • Operating System and its version: Debian GNU/Linux 12 (bookworm)
  • Were you using multiple copies of NeoMutt at once? No
  • Were you using 'screen' or 'tmux'? screen
  • Is your email local (maildir) or remote (IMAP)? IMAP
@szaszg szaszg added the type:bug Bug label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant