From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 Description of problem: mutt segfaults when I try to start the view-attachments menu from the initial index. Version-Release number of selected component (if applicable): mutt-1.4.1-1 How reproducible: Always Steps to Reproduce: 1.mutt -f sfmsg (this file is attached) 2.Type 'v' 3. Actual Results: Program received signal SIGSEGV, Segmentation fault. 0x08074c34 in strcpy () (gdb) Expected Results: should have seen attachments menu Additional info: This still happens when I remove my .muttrc and just use the system default.
Created attachment 94210 [details] the offending message
The Content-Length fields are not correct in the attached message because I edited the message to remove identifying information. Both the original and the attached messages cause the problem.
What happens if you rebuild mutt against current rawhide slang? (Alternatively, does rawhide mutt segfault?)
I don't know what "rawhide slang" is. I can't really afford the time to start debugging this myself.
I've tried on both current mutt packages, and a Red Hat Linux 9 install. It works for me in both cases. If you install http://people.redhat.com/notting/mutt-debuginfo-1.4.1-1.i386.rpm, and *then* get it to segfault, what is the backtrace? (It should be a more useful backtrace then...)
Program received signal SIGSEGV, Segmentation fault. 0x08074c34 in print_enriched_string (attr=0, s=0xbfffce3a "\003\004\a<no description>", ' ' <repeats 16 times>, "[text/plain, 7bit, us-ascii, 0.1K] ", do_color=1) at menu.c:57 57 addch (ACS_LLCORNER); (gdb) bt #0 0x08074c34 in print_enriched_string (attr=0, s=0xbfffce3a "\003\004\a<no description>", ' ' <repeats 16 times>, "[text/plain, 7bit, us-ascii, 0.1K] ", do_color=1) at menu.c:57 #1 0x08075208 in menu_redraw_index (menu=0x80ddc90) at menu.c:257 #2 0x08076ad8 in mutt_menuLoop (menu=0x80ddc90) at menu.c:846 #3 0x0808a246 in mutt_view_attachments (hdr=0x80df9f8) at recvattach.c:902 #4 0x0805fa19 in mutt_index_menu () at curs_main.c:1958 #5 0x08072655 in main (argc=3, argv=0xbfffdeb4) at main.c:842 #6 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6 (gdb)
This was fixed in slang. Current mutt packages in rawhide should be fine. *** This bug has been marked as a duplicate of 97216 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.