From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Satyaki Das" Newsgroups: gmane.emacs.bugs Subject: Emacs crash in X Date: Fri, 03 Jan 2003 11:44:48 -0800 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1041623079 17299 80.91.224.249 (3 Jan 2003 19:44:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 3 Jan 2003 19:44:39 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18UXkB-0004UY-00 for ; Fri, 03 Jan 2003 20:44:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18UXl0-0000pi-05 for gnu-bug-gnu-emacs@m.gmane.org; Fri, 03 Jan 2003 14:45:26 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18UXkg-0000kq-00 for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2003 14:45:06 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18UXkb-0000dj-00 for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2003 14:45:04 -0500 Original-Received: from cs.stanford.edu ([171.64.64.64]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18UXkZ-0000Xs-00 for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2003 14:45:00 -0500 Original-Received: from mail by CS.Stanford.EDU with spam-scanned (Exim 4.10) id 18UXkW-0006HC-00 for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2003 11:44:57 -0800 Original-Received: from ev-01-st2435.stanford.edu ([128.12.141.17]) by CS.Stanford.EDU with esmtp (Exim 4.10) id 18UXkW-0006H7-00 for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2003 11:44:56 -0800 Original-Received: from troodon.localdomain (troodon.Stanford.EDU [171.64.73.3]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by ev-01-st2435.stanford.edu (Postfix) with ESMTP id 00D3C9D0B for ; Fri, 3 Jan 2003 11:44:53 -0800 (PST) Original-Received: from [127.0.0.1] (helo=theforce.Stanford.EDU) by troodon.localdomain with esmtp (Exim 4.10) id 18UXkO-00014i-00 for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2003 11:44:48 -0800 Original-To: bug-gnu-emacs@gnu.org X-Mailer: MH-E 7.0+cvs; nmh 1.0.4; Emacs 21.2 X-Face: #znh\XF>+?CEe("Z|"~3hVFH<#%UXsh+`r`6F]-pEVh$22owNp^#D'a_*(y=pmt@?T`8^ E:DA?0M_arm@i:nb3B)R;uEhg0hluSfV!`VTTL>g]4oq!fc=:Lqd"FZ^NWhgZbO\;OIt-Cq&9[*V !a"pVa14]}RQ-}$zGJPrpr9.:emt*klT6h}4@bJ;B/GOf*U-?Gf.Yf74Z(^)5^XeYCLadBVm@yKwlEMww`;$uK X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4143 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4143 This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.2.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2002-08-28 on astest configured using `configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-gcc --with-pop --with-sound' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US locale-coding-system: iso-latin-1 default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I started emacs in gdb as follows: $ gdb /usr/bin/emacs (gdb) run -q --no-site-file Then I created a second frame with: C-x 5 2 I move the new frame to a different workspace (it is important to move it to a different workspace as moving it to a different viewport in window managers that support both doesn't cause the crash). At this point I have two frames both displaying the *scratch* buffer. In the new frame I load ~/pp.el with: C-x C-f ~/pp.el RET Contents of ~/pp.el: -- start of pp.el -- (progn (setq focus-follows-mouse nil) (select-frame-set-input-focus (window-frame (get-buffer-window "*scratch*" t)))) -- end of pp.el -- Now I move to the end of pp.el and evaluate the lisp expression with: M-> C-x C-e This causes Emacs to die. In gdb from where emacs was started I see the following output: X protocol error: BadMatch (invalid parameter attributes) on protocol request 42 Program exited with code 0106. I use the metacity window manager. I have been able to reproduce the exact same crash with CVS version of emacs that I checked out on 2002-12-25. That version reports its version as 21.3.50.3. I came across this problem while using ILISP which is an interface to various implementations of Common Lisp. I minimized the code that needed to be run to crash emacs. Hope this helps, Satyaki Recent input: C-x k M-x Recent messages: call-interactively: End of buffer [2 times] Wrote /home/satyaki/pp.el Undo! call-interactively: Quit Making completion list... [2 times] byte-code: Quit Loading info...done Composing main Info directory... Mark set Composing main Info directory...done