-
-
Notifications
You must be signed in to change notification settings - Fork 304
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
segfault when fcc is set equal to INBOX using IMAP/SMTP #3129
Comments
I can confirm the bug, I also have FCC set to my Inbox. My guess would be the check, if the mailbox is set via mailboxes and the assumption that if the mailbox is hidden, it can be freed. In my case it works when the Inbox is set as one of mailboxes and it does not work if it isn't. So a workaround could be: add Inbox to mailboxes. |
I just found this bug report. I have a similar one: |
For me, the work around still works, could you check if this works for you, too? It would be plausible that it is the combination of both: when the mailbox is not in mailboxes (i.e. sidebar), it is freed, which according to your report is only a problem if it is currently open -- makes sense. |
I have tried replying in a folder which is in 'mailboxes' and to which I'm subscribed via IMAP and didn't see it happen there. |
Ok, so how do we proceed? |
I am using the workaround of adding the fcc (in my case it is the INBOX) to mailboxes like this
mailboxes !
This fixes the segfault.
|
This seems fixed in the 20220408 release. |
Expected Behaviour
On several IMAP accounts I have the configuration variable "record" set to the same value as "spoolfile". The use case is that I want sent email to be stored in the INBOX, to have proper threads, without the need of Bcc to myself. When I send an email, neomutt sets Fcc to be "+INBOX" and the sent email gets copied to the INBOX.
Actual Behaviour
Starting from neomutt 20211029 on some of these IMAP accounts I get a crash, i.e. a segfault, everytime I send an email where Fcc is automatically set by neomutt to be "+INBOX". Notice that the email is saved to the INBOX before the crash, i.e. when I restart neomutt the email is there where I expect it. The problem was not there with neomutt 20211022, so I started a bisect and identified commit 72ba9a8 as the culprit. The last good commit is a4a02a4 .
If NeoMutt crashed, did your OS create a 'coredump' file?
I have not create a coredump, but I can if considered necessary
Steps to Reproduce
I can reproduce it always with some accounts using SMTP and IMAP. If needed I can try what are differences between the accounts where it happens.
How often does this happen?
It happens always with some accounts and never with other accounts. I don't see any clear difference between those, they all use some SMTP and IMAP servers.
When did it start to happen?
Commit 72ba9a8
My configuration was unchanged.
NeoMutt Version
Extra Info
The text was updated successfully, but these errors were encountered: