[Bug 986534] New: mutt unconditionally segfaults when displaying a message
http://bugzilla.suse.com/show_bug.cgi?id=986534
Bug ID: 986534
Summary: mutt unconditionally segfaults when displaying a
message
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: Current
Hardware: Other
OS: Other
Status: NEW
Severity: Major
Priority: P5 - None
Component: Basesystem
Assignee: bnc-team-screening@forge.provo.novell.com
Reporter: lpechacek@suse.com
QA Contact: qa-bugs@suse.de
Found By: ---
Blocker: ---
$ gdb mutt
(gdb) run -F /dev/shm/muttrc
<select a message to display....>
Fetching message... 0K/3.9K (0%)
Program received signal SIGSEGV, Segmentation
fault.
__strlen_ia32 () at ../sysdeps/i386/i586/strlen.S:94
94 movl (%eax), %ecx /* get word (= 4 bytes) in question */
Missing separate debuginfos, use: zypper install
cyrus-sasl-crammd5-debuginfo-2.1.26-12.3.i586
cyrus-sasl-debuginfo-2.1.26-12.3.i586
cyrus-sasl-digestmd5-debuginfo-2.1.26-12.3.i586
cyrus-sasl-gssapi-debuginfo-2.1.26-12.3.i586
cyrus-sasl-plain-debuginfo-2.1.26-12.3.i586
glibc-locale-debuginfo-2.23-4.1.i586 krb5-debuginfo-1.14.2-1.2.i586
libassuan0-debuginfo-2.4.2-1.2.i586 libcom_err2-debuginfo-1.42.13-3.4.i586
libdb-4_8-debuginfo-4.8.30-31.60.i586 libffi4-debuginfo-5.3.1+r234891-1.20.i586
libgcc_s1-gcc6-debuginfo-6.1.1+r236988-1.1.i586
libgdbm4-debuginfo-1.12-1.1.i586 libgio-2_0-0-debuginfo-2.48.1-1.1.i586
libglib-2_0-0-debuginfo-2.48.1-1.1.i586
libgmime-2_6-0-debuginfo-2.6.20-4.4.i586
libgmodule-2_0-0-debuginfo-2.48.1-1.1.i586
libgobject-2_0-0-debuginfo-2.48.1-1.1.i586
libgpg-error0-debuginfo-1.22-1.1.i586 libgpgme11-debuginfo-1.6.0-2.3.i586
libidn11-debuginfo-1.32-1.4.i586 libkeyutils1-debuginfo-1.5.9-5.5.i586
libncurses5-debuginfo-6.0-9.1.i586 libnotmuch4-debuginfo-0.20.2-1.4.i586
libopenssl1_0_0-debuginfo-1.0.2h-1.2.i586 libpcre1-debuginfo-8.38-1.55.i586
libsasl2-3-debuginfo-2.1.26-12.2.i586 libselinux1-debuginfo-2.3-5.81.i586
libstdc++6-gcc6-debuginfo-6.1.1+r236988-1.1.i586
libtalloc2-debuginfo-2.1.6-1.2.i586 libuuid1-debuginfo-2.28-2.1.i586
libxapian22-debuginfo-1.2.23-1.2.i586 libz1-debuginfo-1.2.8-11.58.i586
(gdb) bt
#0 __strlen_ia32 () at ../sysdeps/i386/i586/strlen.S:94
#1 0xb7a397f1 in __GI__IO_fputs (str=0x12430
http://bugzilla.suse.com/show_bug.cgi?id=986534
http://bugzilla.suse.com/show_bug.cgi?id=986534#c2
Libor Pechacek
Can you still reproduce it?
Yes. Also with the latest snapshot. Steps to reproduce: 1) create muttrc for IMAPS accesss $ cat > muttrc set spoolfile=imaps://imap.suse.de/INBOX set imap_user=lpechacek set imap_pass="ThePassword" source /etc/skel/.muttrc 2) run mutt with the above config $ mutt -F muttrc 3) try to display any message body
Does it need a special message to crash it?
Don't think so. IOW I haven't found a message Mutt would display for me. ;) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=986534
Chenzi Cao
http://bugzilla.suse.com/show_bug.cgi?id=986534
http://bugzilla.suse.com/show_bug.cgi?id=986534#c3
--- Comment #3 from Dr. Werner Fink
http://bugzilla.suse.com/show_bug.cgi?id=986534
http://bugzilla.suse.com/show_bug.cgi?id=986534#c5
--- Comment #5 from Libor Pechacek
Please can you run mutt with debugging enabled (level 2 should be enough) and post the contents of ~/.muttdebug0
mutt -d 2
Hi Rich, nice to meet you! I've recompiled mutt with debugging enabled and re-ran the test with my (private) e-mail account. Find attached the log file. HTH -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=986534
http://bugzilla.suse.com/show_bug.cgi?id=986534#c6
--- Comment #6 from Libor Pechacek
http://bugzilla.suse.com/show_bug.cgi?id=986534
Libor Pechacek
http://bugzilla.suse.com/show_bug.cgi?id=986534
http://bugzilla.suse.com/show_bug.cgi?id=986534#c7
--- Comment #7 from Richard Russon
the crash happens only with i586 version. x86_64 one works fine.
Ah, now that's interesting. There was a strange line of code I noticed -- it might be nothing.
installing i586 package on an x86_64 system is enough to replicate the bug.
I'll give that a try. I'm a bit busy at the moment -- trying to create a new release -- but I'll find and fix this bug soon. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=986534
http://bugzilla.suse.com/show_bug.cgi?id=986534#c8
--- Comment #8 from Richard Russon
http://bugzilla.suse.com/show_bug.cgi?id=986534
http://bugzilla.suse.com/show_bug.cgi?id=986534#c9
--- Comment #9 from Richard Russon
http://bugzilla.suse.com/show_bug.cgi?id=986534
http://bugzilla.suse.com/show_bug.cgi?id=986534#c10
--- Comment #10 from Libor Pechacek
Created attachment 683610 [details] patch to fix crash
This patch fixes the crash I observed. Thank you, Rich! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=986534
http://bugzilla.suse.com/show_bug.cgi?id=986534#c11
Dr. Werner Fink
http://bugzilla.suse.com/show_bug.cgi?id=986534
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=986534
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=986534
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=986534
http://bugzilla.suse.com/show_bug.cgi?id=986534#c13
--- Comment #13 from Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=986534
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=986534
http://bugzilla.suse.com/show_bug.cgi?id=986534#c14
--- Comment #14 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com