Archive-Date: Mon, 5 Oct 1998 10:59:28 +0200
From: odd.gripenstam@omgroup.com
Reply-To: emacs-testers@lists.vms.gnu.org
To: emacs-testers@lists.vms.gnu.ai.mit.edu
Message-ID: <41256694.0036A5A0.00@omgroup.com>
Date: Mon, 5 Oct 1998 10:58:55 +0100
Subject: Emacs crash
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii



Hi

Once in a while I get this message when Emacs crashes, usually while I
press M-w to copy the selection:

          X protocol error: BadMatch (invalid parameter attributes) on
protocol
request 114
%SYSTEM-?-BADIMGHDR, bad image header

Accounting says:
Final status code: 10000046

I use Reflection X 6.0.

My emacs was built in March 1997 with the complete distribution that was
available at that time. I have not applied any patches since that (I know I
 should...)

Has anyone else experienced this?

/Odd


================================================================================
Archive-Date: Mon, 5 Oct 1998 11:22:54 +0200
Date: Mon,  5 Oct 1998 11:22:50 +0200
Message-ID: <8632-Mon05Oct1998112250+0200-levitte@lp.se>
From: Richard Levitte - VMS Whacker <levitte@lp.se>
Reply-To: emacs-testers@lists.vms.gnu.org
To: emacs-testers@lists.vms.gnu.org
In-Reply-To: <41256694.0036A5A0.00@omgroup.com> (odd.gripenstam@omgroup.com)
Subject: Re: Emacs crash
MIME-Version: 1.0
Content-Type: Text/Plain; Charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

   Once in a while I get this message when Emacs crashes, usually while I
   press M-w to copy the selection:

	     X protocol error: BadMatch (invalid parameter attributes) on
   protocol
   request 114
   %SYSTEM-?-BADIMGHDR, bad image header

That's a known problem.  It's caused by some fool-up in the X Windows
protocol or libraries.  If I understand everything correctly, the state
of the X connection can be inconsistent after such an error, and
therefore, a crash would be appropriate.  It might also be because of
sloppy coding by whoever made the X part of emacs.

It is possible that I may find the place where this happens some day, but
since it happens very seldom to me, I'm not very optimistic.  It seems to
happen more often to you, so I'd like to ask you if you could try to run
an emacs in debug mode?  It's very simply done, by using the debug target
when rebuilding:

	$ MMS/IGN=W DEBUG

Run tht vriant for a while, and try to find out where that error occurs,
or at least, where the part that makes it exit is.

Thank you.

-- 
R Levitte, Levitte Programming;  Spannv. 38, I;  S-168 35  Bromma;  SWEDEN
   Tel: +46-8-26 52 47;  Cell: +46-708-20 09 64;  Fax: +46-708-20 06 13
  PGP key fingerprint = 35 3E 6C 9E 8C 97 85 24  BD 9F D1 9E 8F 75 23 6B
 http://richard.levitte.org/pubkey2.asc for my public key.  levitte@lp.se

          "price, performance, quality.  Choose any two you like"
