Michael Richardson | 25 Jan 2012 17:11
Picon
Gravatar

Xemacs 21.4, debian squeeze crashes on some messages with mh-e


Messages from one correspondent are repeatedly crashing my Xemacs.
I had this problem with another correspondent before, and I tried to
file a bug with Xemacs, but the bug report got rejected with a mailbox
not found.

I'm looking for suggestions: I have a bit of time to investigate this.
I haven't compiled emacs myself since the mid-1990s, but I could do
this.  Or is it more useful for me to try to widdle down the ELISP code
that causes the crash?

(I wish that marks, particularly Delete marks would persist across
crashes.../restarts...) 

I can share the email privately, and the full stack dump, if someone has
some ideas, but I'd rather google didn't archive the email itself. The
email has parts:

marajade-[~] mcr 10048 %grep Content-Type: Mail/inbox/235
Content-Type: multipart/related;
Content-Type: multipart/alternative;
Content-Type: text/plain;
Content-Type: text/html;
Content-Type: image/jpeg;
Content-Type: image/png;
Content-Type: image/png;
Content-Type: image/png;

if that helps someone to tell me that I can work around this by ...?
I prefer showing the text/plain rather than the text/html, but I render
(Continue reading)

Bill Wohler | 25 Jan 2012 18:22
Picon
Picon
Gravatar

Re: Xemacs 21.4, debian squeeze crashes on some messages with mh-e

Mike can confirm, but I think we fixed that one during the Bug Squashing
Party in December. Try removing the X-Image-URL header field and see if
that clears things up. If not, it's something else :-(.

Michael Richardson <mcr <at> sandelman.ca> wrote:

> 
> Messages from one correspondent are repeatedly crashing my Xemacs.
> I had this problem with another correspondent before, and I tried to
> file a bug with Xemacs, but the bug report got rejected with a mailbox
> not found.
> 
> I'm looking for suggestions: I have a bit of time to investigate this.
> I haven't compiled emacs myself since the mid-1990s, but I could do
> this.  Or is it more useful for me to try to widdle down the ELISP code
> that causes the crash?
> 
> (I wish that marks, particularly Delete marks would persist across
> crashes.../restarts...) 
> 
> I can share the email privately, and the full stack dump, if someone has
> some ideas, but I'd rather google didn't archive the email itself. The
> email has parts:
> 
> marajade-[~] mcr 10048 %grep Content-Type: Mail/inbox/235
> Content-Type: multipart/related;
> Content-Type: multipart/alternative;
> Content-Type: text/plain;
> Content-Type: text/html;
> Content-Type: image/jpeg;
(Continue reading)

Michael Richardson | 25 Jan 2012 18:47
Picon
Gravatar

Re: Xemacs 21.4, debian squeeze crashes on some messages with mh-e


>>>>> "Bill" == Bill Wohler <wohler <at> newt.com> writes:
    Bill> Mike can confirm, but I think we fixed that one during the Bug
    Bill> Squashing Party in December. Try removing the X-Image-URL
    Bill> header field and see if that clears things up. If not, it's
    Bill> something else :-(.

No such header is in the email in question.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Mike Kupfer | 30 Jan 2012 03:16
Picon
Favicon

Re: Xemacs 21.4, debian squeeze crashes on some messages with mh-e

Michael Richardson wrote:

> I'm looking for suggestions: I have a bit of time to investigate this.
> I haven't compiled emacs myself since the mid-1990s, but I could do
> this.  Or is it more useful for me to try to widdle down the ELISP code
> that causes the crash?

Hmm.  Bill sent me a copy of the troublesome email; I can't reproduce
the crash with MH-E 8.0.3 on XEmacs 21.4.22 built from source (Ubuntu
11.10).  I'll try installing Ubuntu's package of XEmacs and see if it
has problems, though it may be a few days before I get to it.

> if that helps someone to tell me that I can work around this by ...?

It's apparently trying to display one of the attached PNG image files.
Alas, I don't think there is any way to tell MH-E "don't display this
image unless I specifically ask for it".  But maybe there's some flag I
don't know about and can't find with "C-h a".

The image is an icon for a social media site.  Maybe you could find some
automated way to strip it out...?

Another possible workaround would be to rebuild XEmacs with PNG support
disabled.

It makes sense to discuss workarounds here.  But as far as actually
fixing the problem, we'll get more progress discussing it on
xemacs-beta <at> xemacs.org, I think.

If you'd like, I can work with you to put together a reproducible test
(Continue reading)

Mike Kupfer | 30 Jan 2012 04:45
Picon
Favicon

Re: Xemacs 21.4, debian squeeze crashes on some messages with mh-e

Mike Kupfer wrote:

> I'll try installing Ubuntu's package of XEmacs and see if it
> has problems, though it may be a few days before I get to it.

Yep, I get a crash with the MULE (multilingual) 21.4 XEmacs binary from
the Ubuntu repo.  I'll put together a sanitized test case and file a bug
with the XEmacs bug tracker.

mike

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
Bill Wohler | 30 Jan 2012 06:41
Picon
Picon
Gravatar

Re: Xemacs 21.4, debian squeeze crashes on some messages with mh-e

Thanks a bunch, Mike!

Mike Kupfer <m.kupfer <at> acm.org> wrote:

> Mike Kupfer wrote:
> 
> > I'll try installing Ubuntu's package of XEmacs and see if it
> > has problems, though it may be a few days before I get to it.
> 
> Yep, I get a crash with the MULE (multilingual) 21.4 XEmacs binary from
> the Ubuntu repo.  I'll put together a sanitized test case and file a bug
> with the XEmacs bug tracker.
> 
> mike
> 
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> mh-e-users mailing list
> mh-e-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mh-e-users
> 

--

-- 
Bill Wohler <wohler <at> newt.com> aka <Bill.Wohler <at> nasa.gov>
http://www.newt.com/wohler/
(Continue reading)

Michael Richardson | 30 Jan 2012 15:41
Picon
Gravatar

Re: Xemacs 21.4, debian squeeze crashes on some messages with mh-e


>>>>> "Mike" == Mike Kupfer <m.kupfer <at> acm.org> writes:
    Mike> Mike Kupfer wrote:

    >> I'll try installing Ubuntu's package of XEmacs and see if it
    >> has problems, though it may be a few days before I get to it.

    Mike> Yep, I get a crash with the MULE (multilingual) 21.4 XEmacs
    Mike> binary from 
    Mike> the Ubuntu repo.  I'll put together a sanitized test case and
    Mike> file a bug 
    Mike> with the XEmacs bug tracker.

So if I build from source, I might survive that PNG :-)

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
Mike Kupfer | 31 Jan 2012 01:49
Picon
Favicon

Re: Xemacs 21.4, debian squeeze crashes on some messages with mh-e

Michael Richardson wrote:

> So if I build from source, I might survive that PNG :-)

Yep, particularly if you first apply a patch that has the fix. ;-)

So, I've figured out that this is XEmacs issue570[1], and there is a
patch for 21.4.22[2].  It looks like the patch has already been applied
to the dev version of 21.4, and the next release is supposed to be out
soon, but I don't know exactly when.  I've verified that 21.4.22 plus
the patch give me an XEmacs that can view the troublesome email.

mike

Footnotes: 
[1]  http://tracker.xemacs.org/XEmacs/its/issue570

[2]  http://list-archive.xemacs.org/pipermail/xemacs-patches/2009-September/007961.html

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Michael Richardson | 30 Jan 2012 15:40
Picon
Gravatar

Re: Xemacs 21.4, debian squeeze crashes on some messages with mh-e


>>>>> "Mike" == Mike Kupfer <m.kupfer <at> acm.org> writes:
    >> I'm looking for suggestions: I have a bit of time to investigate this.
    >> I haven't compiled emacs myself since the mid-1990s, but I could do
    >> this.  Or is it more useful for me to try to widdle down the ELISP code
    >> that causes the crash?

    Mike> Hmm.  Bill sent me a copy of the troublesome email; I can't reproduce
    Mike> the crash with MH-E 8.0.3 on XEmacs 21.4.22 built from source (Ubuntu
    Mike> 11.10).  I'll try installing Ubuntu's package of XEmacs and see if it
    Mike> has problems, though it may be a few days before I get to it.

    >> if that helps someone to tell me that I can work around this by ...?

    Mike> It's apparently trying to display one of the attached PNG
    Mike> image files. 

I found another email that caused it too, and I deleted each PNG in
turn, but then I found that I couldn't make it crash again.

So I suspect I a corruption that occurs after a bit of use, but
sometimes just loading that one email is enough.

    Mike> It makes sense to discuss workarounds here.  But as far as actually
    Mike> fixing the problem, we'll get more progress discussing it on
    Mike> xemacs-beta <at> xemacs.org, I think.

Yes, I agree.

    Mike> If you'd like, I can work with you to put together a
(Continue reading)


Gmane