mutt-sidebar-patch icon indicating copy to clipboard operation
mutt-sidebar-patch copied to clipboard

Segfault on unmailboxes command

Open ghost opened this issue 12 years ago • 6 comments

The sidebar patch seems to segfault randomly with the use of the unmailboxes command.

To clear up sidebar noise, I use a setup with account specific configs that are triggered by folder hooks via macros. The folder, special folders and mailboxes are set in these account specific configs after a unmailboxes * command. It works fine without the sidebar (even with the patch, but invisible sidebar). As soon as the sidebar appears, using unmailboxes/mailboxes segfaults randomly (10.6.8/Mutt 1.5.21 (2010-09-15)). Before the segfault occurs, the sidebar entries are messed up (random chars, or numbers or ?). Hitting y however shows the correct mailbox list.

ghost avatar Feb 15 '13 14:02 ghost

I have the exact same behavior. :+1: for the issue description.

rampantmonkey avatar Jul 04 '13 01:07 rampantmonkey

For fear of turning this into a "me too" thread, I will just add that the same happens to me too, so that it is clear this affects at least three people exactly the same way, so is obviously not an installation-specific anomaly (I think that should be enough "me toos" though...)

rowanthorpe avatar Feb 14 '14 09:02 rowanthorpe

I am also having this issue. Apparently this used to be a problem and was fixed for mainline mutt report on trac here. I tried using the newest patch from the current maintainer but I am having the same problems with unmailboxes *, although the exact characters that show up are different.

edit: temporary workaround seems to be to just delete the unmailboxes * line. Everything works, but it ends up showing all of the mailboxes. Thankfully, it doesn't seem to duplicate mailboxes.

antonl avatar Jan 02 '15 04:01 antonl

+1 here, hiding the sidebar everything is going fine, but when showing it again a wild segfault appears. Will comment the unmailboxes * in my configuration meanwhile.

Maybe this is an empty mailboxes bug if the sidebar tries to access the mailboxes on every change, finds out that there is no mailboxes set and crashes.

Using the Archlinux AUR package.

gagath avatar Jul 19 '15 23:07 gagath

Hi, I'm facing the same issue with my mutt sidebar on Debian Jessie 8.2.

minikdo avatar Jan 11 '16 10:01 minikdo

this seems to be related: https://gist.github.com/miguelmota/9456162

I have the same problem, i.e. mixed/scrambled characters

andreas-bulling avatar Apr 19 '16 20:04 andreas-bulling