<<< Date Index >>>     <<< Thread Index >>>

Re: Mutt segfaults when trying to verify some PGP signatures



hi Niklas,

* Niklas Morberg [Mon, 23 Aug 2004 09:01:02 +0200]:
> When trying to read some messages on this list I get:

> PGP signature could NOT be verified.Segmentation fault

> and I'm back at the prompt. Nasty.

  Indeed. Let's see: can you reproduce if you pass a -F /dev/null option
  to mutt? and also: what is your locale?

> Since mutt dies I can't quote the messages that are problematic, but
> here are the subject lines and authors of two messages that kills my
> mutt:

> "Re: Why isn't it part of mutt "proper"" Jacob S.
> "Re: LC_CTYPE or not?"                   Thorsten Haude

  can't reproduce with your very same mutt version.

>                                            Has anybody else been bitten
> by the bug? Is there a workaround?

  yes and see below.


* Niklas Morberg [Mon, 23 Aug 2004 15:36:12 +0200]:

> My mutt is compiled without debugging symbols. All I get from the
> above exercise is:

> 0x401db259 in re_exec () from /lib/tls/libc.so.6

  that single line says it all, you are being bitten by a bug in libc6
  (specifically, Debian Bug#261135).

  this has caused the Debian mutt maintainers and users several
  headaches, all in the form of a segfault. to name a few: #254314,
  #260623, #266196.

  Debian's mutt also includes a patch to workaround that libc6 bug while
  it gets fixed, but it doesn't adress *all* the possible scenarios.

* Niklas Morberg [Mon, 23 Aug 2004 15:52:32 +0200]:
> On Mon, Aug 23, 2004 at 03:36:12PM +0200, Niklas Morberg wrote:

> > I'll be back.

> Here we go. I grabbed the 1.5.6i sources from mutt.org, did 'configure
> --enable-debug' and 'make'. Jumped through the debug hoops Thomas was kind
> enough to hold up. Shoot. Forgot to --enable-imap.

> Wow. The home built version seems stable, I can't get it to crash.

  mmm, I'll have a look.

> I'll try to rebuild with the exact same options and patches as the one that
> does crash.

> This might take a while, don't hold your breath.

  I recomend you go like this:

    $ apt-get source mutt
    $ su -c 'apt-get build-dep mutt'
    $ cd mutt-1.5.6
    $ env DEB_BUILD_OPTIONS=nostrip dpkg-buildpackage -uc -us -rfakeroot

  that will build a .deb with debugging symbols, but I think you need
  not it anymore: the above re_exec hint was enough.

-- 
Adeodato Simó
    EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
 
We may not return the affection of those who like us, but we always
respect their good judgement.