#3940: Crash using Gmail over IMAP when copying message to Trash ----------------------+--------------------- Reporter: kevin8t8 | Owner: brendan Type: defect | Status: new Priority: major | Milestone: Component: IMAP | Version: 1.8.2 Keywords: | ----------------------+--------------------- Uroš Juvan reported:
I noticed even latest mutt (1.8.2) is crashing, when using it for GMail via IMAP. The problem in my opinion lies in the way how Google is handling move to =[Gmail]/Trash . Mail simply disappears from the current folder, when mutt is copying it to =[Gmail]/Trash . Mail index gets corrupted and triggers index out of bounds (uninitialized memory access) error, i.e.: SIGSEGV. I hunted and patched the problem in two functions. This fixes the crash, but the result can still be shuffled mail index, which is fixed by rereading imap folder. Patch is attached. -- Ticket URL: <https://dev.mutt.org/trac/ticket/3940> Mutt <http://www.mutt.org/> The Mutt mail user agent