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

Periodical crashing with segfault 11 on macOS 12.7.1. #4266

Open
igorchern opened this issue Apr 22, 2024 · 1 comment
Open

Periodical crashing with segfault 11 on macOS 12.7.1. #4266

igorchern opened this issue Apr 22, 2024 · 1 comment
Labels

Comments

@igorchern
Copy link

Expected Behaviour

Refreshing inbox folder

Actual Behaviour

After some period of inactivity the terminal window turns blank (no mail headers are displayed). After reopen the inbox folder the progress bar shows emails been updated and after it finishes a segfault 11 pops out. Any advice on how to avoid this would be greatly appreciated.

If NeoMutt crashed, did your OS create a 'coredump' file?
no but debug traces are available (attached) for 4 different runs.

Steps to Reproduce

Reopen the inbox folder

How often does this happen?

Periodically

When did it start to happen?

For quite some time (about a year).

NeoMutt Version

System: Darwin 21.6.0 (x86_64)
ncurses: ncurses 6.4.20221231 (compiled with 6.4.20221231)
libiconv: 1.17
libidn2: 2.3.4 (compiled with 2.3.4)
GPGME: 1.21.0-unknown
GnuTLS: 3.7.10
storage: gdbm

Configure options: --gdbm --gnutls --gpgme --gss --sasl --disable-doc --with-gss=/opt/local/lib

Compilation CFLAGS: -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__ -D_XOPEN_SOURCE_EXTENDED -I/opt/local/include -I/usr/local/include -DNCURSES_WIDECHAR -I/usr/local/include -I/opt/local/include/p11-kit-1 -I/usr/local/include -O2

Default options:
+attach_headers_color +compose_to_sender +compress +cond_date +debug
+encrypt_to_self +forgotten_attachments +forwref +ifdef +imap +index_color
+initials +limit_current_thread +multiple_fcc +nested_if +new_mail +nntp +pop
+progress +quasi_delete +regcomp +reply_with_xorig +sensible_browser +sidebar
+skip_quoted +smtp +status_color +timeout +tls_sni +trash

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 +sun_attachment

MAILPATH="/var/mail"
PKGDATADIR="/usr/local/share/neomutt"
SENDMAIL="/usr/sbin/sendmail"
SYSCONFDIR="/usr/local/etc"

Extra Info

  • Operating System and its version
    macOS Monterey Version 12.7.1
  • Were you using multiple copies of NeoMutt at once?
    no
  • Were you using 'screen' or 'tmux'?
    no
  • Is your email local (maildir) or remote (IMAP)?
    remote imap
    four-debug-neomutt-crashes.txt
@igorchern igorchern added the type:bug Bug label Apr 22, 2024
@gahr gahr added the topic:imap IMAP label Apr 24, 2024
@gahr
Copy link
Member

gahr commented Apr 24, 2024

We're not always very good at handling dropped IMAP connections. Can you try to lower the value of imap_keep_alive?

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

2 participants