Subject: Re: mutt dumping on poorly encoded PGP/MIME
To: Water NB <netbsd78@126.com>
From: Greg A. Woods <woods@planix.com>
List: netbsd-users
Date: 05/09/2006 14:43:49
--pgp-sign-Multipart_Tue_May__9_14:43:46_2006-1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
At Tue, 9 May 2006 12:28:57 +0800,
Water NB wrote:
>=20
> Sorry, I am not replying in this thread.
> In fact, my mutt(1.4.2.1nb6, i386 netbsd 3.0_stable) is broken
> when read this message every time.
>=20
> it display "Invoking PGP..." and then Sementation fault.
Obviously it shouldn't SIGSEGV, but it's probably because I forgot to
properly MIME-encode the message body.
PGP/MIME requires that the body not have trailing spaces, etc., and so
properly the body should be encoded with something like quoted-printable
(or base64, etc.) but at the moment the MUA I'm using, Wanderlust,
doesn't seem to automatically do the right thing to affect this encoding.
This message has been properly encoded.
> Or should I trace mutt.core? and how?
>=20
> $ gdb -c mutt.core
> Core was generated by `mutt'.
> Program terminated with signal 11, Segmentation fault.
> #0 0x08068cd0 in ?? ()
>=20
> (gdb) backtrace
> #0 0x08068cd0 in ?? ()
> Cannot access memory at address 0xbfbfcb28
GDB wants the pathname for the originally invoked binary as its first
command-line parameter, and the name of the core file as the second
parameter:
gdb /usr/pkg/bin/mutt mutt.core
Then the backtrace might at least find something interesting, though to
be really useful you should recompile the exact same version of the
program with '-g' (e.g. set "DBG= -g -O2" in /etc/mk.conf, I think)
--=20
Greg A. Woods
H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com> Secrets of the Weird <woods@weird.com>
--pgp-sign-Multipart_Tue_May__9_14:43:46_2006-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: i2yQ6/olrcnsFtX8XQtr9S8dpHeYXAHF
iQA/AwUBRGDi5GZ9cbd4v/R/EQJsRQCgi2Mqrl1DAp2aRdfpRlgd4IubTeAAoNtS
KsPoIFxLDUb//6CyJl4gU49J
=sM+h
-----END PGP SIGNATURE-----
--pgp-sign-Multipart_Tue_May__9_14:43:46_2006-1--