From unknown Tue Jun 17 01:27:34 2025 X-Loop: don@donarmstrong.com Subject: bug#1337: crash on going into non-existing dir with find-file Reply-To: xah lee , 1337@debbugs.gnu.org Resent-From: xah lee Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 13 Nov 2008 14:10:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1337 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12265850705203 (code B ref -1); Thu, 13 Nov 2008 14:10:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.1 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 13 Nov 2008 14:04:30 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mADE4QMK005196 for ; Thu, 13 Nov 2008 06:04:27 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L0co5-00015Q-Nb for bug-gnu-emacs@gnu.org; Thu, 13 Nov 2008 09:04:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L0co4-00013y-2M for bug-gnu-emacs@gnu.org; Thu, 13 Nov 2008 09:04:25 -0500 Received: from [199.232.76.173] (port=56110 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0co3-00013p-Vt for bug-gnu-emacs@gnu.org; Thu, 13 Nov 2008 09:04:24 -0500 Received: from mout.perfora.net ([74.208.4.195]:59661) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L0co3-0006xA-NS for bug-gnu-emacs@gnu.org; Thu, 13 Nov 2008 09:04:23 -0500 Received: from [192.168.1.5] (c-24-6-185-159.hsd1.ca.comcast.net [24.6.185.159]) by mrelay.perfora.net (node=mrus0) with ESMTP (Nemesis) id 0MKp8S-1L0cnp4Bkn-0006Zc; Thu, 13 Nov 2008 09:04:11 -0500 Mime-Version: 1.0 (Apple Message framework v753.1) Content-Transfer-Encoding: quoted-printable Message-Id: <52172E88-2FC5-4C7A-B5D0-DEB2258150E6@xahlee.org> Content-Type: text/plain; charset=UTF-8; delsp=yes; format=flowed To: bug-gnu-emacs@gnu.org From: xah lee Date: Thu, 13 Nov 2008 06:04:08 -0800 X-Mailer: Apple Mail (2.753.1) X-Provags-ID: V01U2FsdGVkX1/UuFbGtNAnDcxu5WyBq3lJCZ48rmosmIX8DyR S12SaszJU03gx4eMV688S5X1KBuqu/VjSgJnLaYmRS6WYF3C/T aCH/7QSgqe1jQODpA3TLw== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6? (barebone, rare!) using a This causes a hard crash. Steps: 1. eval (find-file "file:///Users/xah/web/emacs/apple_pc_kb_diff.html") then you'll go into a empty buffer. 2. now M-x find-file, hit Enter. Now i expect to go to the dir this =20 file is located. (note that the file doesn't exist yet) 3. emacs crashed. am pretty sure this is 100% reproducible. It crashed 3 times on me. The problem occured because i was trying to open a local file, where =20 the file path happend to be a url scheme path. Apparently, find-file =20 does not recognize url scheme local files, but find-file-at-point =20 auto launch browser when the file is url scheme. In any case, i got =20 confused a bit because i know the file exist but i got a empty =20 buffer. So i tried to go into th dir to see where exactly emacs think =20= is the path, then crash. In GNU Emacs 22.2.1 (powerpc-apple-darwin8.11.0, Carbon Version 1.6.0) of 2008-04-05 on g5.tokyo.stp.isas.jaxa.jp Windowing system distributor `Apple Inc.', version 10.4.11 configured using `configure '--prefix=3D/Applications/Emacs.app/=20 Contents/Resources' '--with-carbon' '--without-x' '--libexecdir=3D/=20 Volumes/Emacs/Emacs.app/Contents/MacOS/libexec' 'CFLAGS=3D-Os -arch =20 i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DUSE_ATSUI -=20= DUSE_MAC_TSM'' Xah =E2=88=91 http://xahlee.org/ =E2=98=84= From unknown Tue Jun 17 01:27:34 2025 X-Loop: don@donarmstrong.com Subject: bug#1337: crash on going into non-existing dir with find-file Reply-To: Chong Yidong , 1337@debbugs.gnu.org Resent-From: Chong Yidong Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 14 Nov 2008 17:55:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1337 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1337-submit@emacsbugs.donarmstrong.com id=B1337.122668490727905 (code B ref 1337); Fri, 14 Nov 2008 17:55:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.0 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1337) by emacsbugs.donarmstrong.com; 14 Nov 2008 17:48:27 +0000 Received: from furry (EIGHT-THREE-NINETY.MIT.EDU [18.115.6.135]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAEHmNfE027899 for <1337@emacsbugs.donarmstrong.com>; Fri, 14 Nov 2008 09:48:25 -0800 Received: by furry (Postfix, from userid 1000) id 6F38CC054; Fri, 14 Nov 2008 12:48:23 -0500 (EST) From: Chong Yidong To: xah lee Cc: 1337@debbugs.gnu.org Date: Fri, 14 Nov 2008 12:48:23 -0500 Message-ID: <87fxlujj14.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > 1. eval (find-file "file:///Users/xah/web/emacs/apple_pc_kb_diff.html") > then you'll go into a empty buffer. > > 2. now M-x find-file, hit Enter. Now i expect to go to the dir this > file is located. (note that the file doesn't exist yet) > > 3. emacs crashed. > > am pretty sure this is 100% reproducible. It crashed 3 times on me. > > In GNU Emacs 22.2.1 (powerpc-apple-darwin8.11.0, Carbon Version 1.6.0) > of 2008-04-05 on g5.tokyo.stp.isas.jaxa.jp I can't reproduce this on GNU Emacs 23.0.60.19 (i686-pc-linux-gnu, GTK+ Version 2.14.4) of 2008-11-13. This is probably either an Emacs 22 only bug or a Emacs Carbon bug. If someone could check whether the crash happens on Emacs 23 Cocoa, that would be good. From unknown Tue Jun 17 01:27:34 2025 X-Loop: don@donarmstrong.com Subject: bug#1337: crash on going into non-existing dir with find-file Reply-To: YAMAMOTO Mitsuharu , 1337@debbugs.gnu.org Resent-From: YAMAMOTO Mitsuharu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 15 Nov 2008 01:30:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1337 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1337-submit@emacsbugs.donarmstrong.com id=B1337.122671208011644 (code B ref 1337); Sat, 15 Nov 2008 01:30:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.3 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1337) by emacsbugs.donarmstrong.com; 15 Nov 2008 01:21:20 +0000 Received: from mathmail.math.s.chiba-u.ac.jp (ntp.math.s.chiba-u.ac.jp [133.82.132.2]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAF1LGDo011638 for <1337@emacsbugs.donarmstrong.com>; Fri, 14 Nov 2008 17:21:18 -0800 Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 398292C44; Sat, 15 Nov 2008 10:21:15 +0900 (JST) Date: Sat, 15 Nov 2008 10:21:15 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: Chong Yidong , 1337@debbugs.gnu.org Cc: xah lee In-Reply-To: <87fxlujj14.fsf@stupidchicken.com> References: <87fxlujj14.fsf@stupidchicken.com> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 =?UTF-8?Q?(Shij=C5=8D)?= APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII >>>>> On Fri, 14 Nov 2008 12:48:23 -0500, Chong Yidong said: >> 1. eval (find-file "file:///Users/xah/web/emacs/apple_pc_kb_diff.html") >> then you'll go into a empty buffer. >> >> 2. now M-x find-file, hit Enter. Now i expect to go to the dir this >> file is located. (note that the file doesn't exist yet) >> >> 3. emacs crashed. >> >> am pretty sure this is 100% reproducible. It crashed 3 times on me. >> >> In GNU Emacs 22.2.1 (powerpc-apple-darwin8.11.0, Carbon Version 1.6.0) >> of 2008-04-05 on g5.tokyo.stp.isas.jaxa.jp > I can't reproduce this on GNU Emacs 23.0.60.19 (i686-pc-linux-gnu, GTK+ > Version 2.14.4) of 2008-11-13. This is probably either an Emacs 22 only > bug or a Emacs Carbon bug. I can't reproduce it with Emacs 22.3 Carbon on Mac OS X 10.5.5, either. For further debugging, the following information would be helpful. 1. A crash log in ~/Library/CrashReporter/ if available. 2. A concrete procedure to reproduce the crash starting with ".../Emacs.app/Contents/MacOS/Emacs -Q" from the command line. 3. Whether it is reproducible with Emacs 22.3 Carbon, preferably with no modifications unlike Carbon Emacs Package or Aquamacs Emacs. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From unknown Tue Jun 17 01:27:34 2025 X-Loop: don@donarmstrong.com Subject: bug#1337: crash on going into non-existing dir with find-file Reply-To: xah lee , 1337@debbugs.gnu.org Resent-From: xah lee Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 15 Nov 2008 02:30:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1337 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1337-submit@emacsbugs.donarmstrong.com id=B1337.122671576226727 (code B ref 1337); Sat, 15 Nov 2008 02:30:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.7 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, SPF_HELO_PASS autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1337) by emacsbugs.donarmstrong.com; 15 Nov 2008 02:22:42 +0000 Received: from mout.perfora.net (mout.perfora.net [74.208.4.195]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAF2MdB1026720 for <1337@emacsbugs.donarmstrong.com>; Fri, 14 Nov 2008 18:22:40 -0800 Received: from [192.168.1.5] (c-24-6-185-159.hsd1.ca.comcast.net [24.6.185.159]) by mrelay.perfora.net (node=mrus1) with ESMTP (Nemesis) id 0MKpCa-1L1Anv3vzx-00080o; Fri, 14 Nov 2008 21:22:35 -0500 In-Reply-To: References: <87fxlujj14.fsf@stupidchicken.com> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=UTF-8; delsp=yes; format=flowed Message-Id: Cc: Chong Yidong , 1337@debbugs.gnu.org Content-Transfer-Encoding: quoted-printable From: xah lee Date: Fri, 14 Nov 2008 18:22:31 -0800 To: YAMAMOTO Mitsuharu X-Mailer: Apple Mail (2.753.1) X-Provags-ID: V01U2FsdGVkX19OQJDT+F758gSQKWmYYSCowAB0UzywafyCPKQ goIECvKZgmAfUYn9Lk4aR6PZUqlkgtH+UpudnD3K3JEZbJ8t15 8zr69n1xNGvyojahCKz+A== Thanks for the reply. after some debugging, it turns out that problem is tabbar mode. Here's the steps: =E2=80=A2 start emacs by /Applications/Emacs.app/Contents/MacOS/Emacs -Q =E2=80=A2 evaluate the following (autoload 'tabbar-mode "tabbar" "Show tab bars." t) (tabbar-mode 1) presuming the file is in your load path. =E2=80=A2 now, dired into root dir. C-x C-f / RET =E2=80=A2 emacs crashes. The version of tabbar i'm using is: ;; Author: David Ponce ;; Maintainer: David Ponce ;; Created: 25 February 2003 ;; Keywords: convenience ;; Revision: $Id: tabbar.el,v 1.4 2008/06/11 22:28:24 davidswelt Exp $ (defconst tabbar-version "2.0") it's not part GNU emacs so prob not relevant here... but if any is =20 interested, email me and i can provide more debugging info. Thanks. Xah =E2=88=91 http://xahlee.org/ =E2=98=84 On Nov 14, 2008, at 5:21 PM, YAMAMOTO Mitsuharu wrote: >>>>> On Fri, 14 Nov 2008 12:48:23 -0500, Chong Yidong =20 >>>>> said: >> 1. eval (find-file "file:///Users/xah/web/emacs/=20 >> apple_pc_kb_diff.html") >> then you'll go into a empty buffer. >> >> 2. now M-x find-file, hit Enter. Now i expect to go to the dir this >> file is located. (note that the file doesn't exist yet) >> >> 3. emacs crashed. >> >> am pretty sure this is 100% reproducible. It crashed 3 times on me. >> >> In GNU Emacs 22.2.1 (powerpc-apple-darwin8.11.0, Carbon Version =20 >> 1.6.0) >> of 2008-04-05 on g5.tokyo.stp.isas.jaxa.jp > I can't reproduce this on GNU Emacs 23.0.60.19 (i686-pc-linux-gnu, =20 > GTK+ > Version 2.14.4) of 2008-11-13. This is probably either an Emacs 22 =20= > only > bug or a Emacs Carbon bug. I can't reproduce it with Emacs 22.3 Carbon on Mac OS X 10.5.5, either. For further debugging, the following information would be helpful. 1. A crash log in ~/Library/CrashReporter/ if available. 2. A concrete procedure to reproduce the crash starting with ".../Emacs.app/Contents/MacOS/Emacs -Q" from the command line. 3. Whether it is reproducible with Emacs 22.3 Carbon, preferably with no modifications unlike Carbon Emacs Package or Aquamacs Emacs. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp =E2=98=84 From unknown Tue Jun 17 01:27:34 2025 X-Loop: don@donarmstrong.com Subject: bug#1337: crash on going into non-existing dir with find-file Reply-To: YAMAMOTO Mitsuharu , 1337@debbugs.gnu.org Resent-From: YAMAMOTO Mitsuharu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 15 Nov 2008 03:15:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1337 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1337-submit@emacsbugs.donarmstrong.com id=B1337.12267183205740 (code B ref 1337); Sat, 15 Nov 2008 03:15:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.2 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_BUG_NUMBER,MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1337) by emacsbugs.donarmstrong.com; 15 Nov 2008 03:05:20 +0000 Received: from mathmail.math.s.chiba-u.ac.jp (mathmail.math.s.chiba-u.ac.jp [133.82.132.2]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAF35GUZ005648 for <1337@emacsbugs.donarmstrong.com>; Fri, 14 Nov 2008 19:05:18 -0800 Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 5BD032C44; Sat, 15 Nov 2008 12:05:16 +0900 (JST) Date: Sat, 15 Nov 2008 12:05:16 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: xah lee Cc: Chong Yidong , 1337@debbugs.gnu.org In-Reply-To: References: <87fxlujj14.fsf@stupidchicken.com> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 =?UTF-8?Q?(Shij=C5=8D)?= APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable >>>>> On Fri, 14 Nov 2008 18:22:31 -0800, xah lee said: > Thanks for the reply. > after some debugging, it turns out that problem is tabbar mode. > Here's the steps: > =E2=80=A2 start emacs by > /Applications/Emacs.app/Contents/MacOS/Emacs -Q > =E2=80=A2 evaluate the following > (autoload 'tabbar-mode "tabbar" "Show tab bars." t) > (tabbar-mode 1) > presuming the file is in your load path. > =E2=80=A2 now, dired into root dir. C-x C-f / RET > =E2=80=A2 emacs crashes. > The version of tabbar i'm using is: > ;; Author: David Ponce > ;; Maintainer: David Ponce > ;; Created: 25 February 2003 > ;; Keywords: convenience > ;; Revision: $Id: tabbar.el,v 1.4 2008/06/11 22:28:24 davidswelt Exp $ > (defconst tabbar-version "2.0") > it's not part GNU emacs so prob not relevant here... but if any is =20 > interested, email me and i can provide more debugging info. Thanks. I could reproduce it with a slightly different version of tabbar.el. I think the patch below will fix it. The other terms (X11, W32) need a similar change. It may not happen on X11 using the above procedure, but it has something to do with drawing with overhangs, and whether the crash occurs or not depends on the metric of the used font. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp Index: src/macterm.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/emacs/emacs/src/Attic/macterm.c,v retrieving revision 1.214.2.31 diff -c -p -r1.214.2.31 macterm.c *** src/macterm.c 2 Sep 2008 08:19:06 -0000 1.214.2.31 --- src/macterm.c 15 Nov 2008 02:57:28 -0000 *************** x_draw_glyph_string (s) *** 3777,3783 **** xassert (s->next->img =3D=3D NULL); x_set_glyph_string_gc (s->next); x_set_glyph_string_clipping (s->next); ! x_draw_glyph_string_background (s->next, 1); } =20 /* Set up S->gc, set clipping and draw S. */ --- 3777,3786 ---- xassert (s->next->img =3D=3D NULL); x_set_glyph_string_gc (s->next); x_set_glyph_string_clipping (s->next); ! if (s->next->first_glyph->type =3D=3D STRETCH_GLYPH) ! x_draw_stretch_glyph_string (s->next); ! else ! x_draw_glyph_string_background (s->next, 1); } =20 /* Set up S->gc, set clipping and draw S. */ From unknown Tue Jun 17 01:27:34 2025 X-Loop: don@donarmstrong.com Subject: bug#1337: crash on going into non-existing dir with find-file Reply-To: Glenn Morris , 1337@debbugs.gnu.org Resent-From: Glenn Morris Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 15 Nov 2008 03:40:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1337 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1337-submit@emacsbugs.donarmstrong.com id=B1337.122672001711746 (code B ref 1337); Sat, 15 Nov 2008 03:40:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-12.4 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1337) by emacsbugs.donarmstrong.com; 15 Nov 2008 03:33:37 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAF3XYAt011739 for <1337@emacsbugs.donarmstrong.com>; Fri, 14 Nov 2008 19:33:35 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1L1Buc-0006sY-49; Fri, 14 Nov 2008 22:33:30 -0500 From: Glenn Morris To: YAMAMOTO Mitsuharu Cc: 1337@debbugs.gnu.org, xah lee , Chong Yidong References: <87fxlujj14.fsf@stupidchicken.com> X-Spook: JSOFC3IP Verisign M-14 SEAL Team 6 Europol analyzer X-Ran: rkwX/D#IyZi\g;TXW@.=dA4%d)zR,ba)_iA+gl6+OJx.id-e7ZV]1:;BX5hV4~*.5vN+}' X-Hue: blue X-Attribution: GM Date: Fri, 14 Nov 2008 22:33:30 -0500 In-Reply-To: (YAMAMOTO Mitsuharu's message of "Sat, 15 Nov 2008 12:05:16 +0900") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii YAMAMOTO Mitsuharu wrote: > I could reproduce it with a slightly different version of tabbar.el. Sounds like this is the same as bug 615? http://debbugs.gnu.org/cgi/bugreport.cgi?bug=615 From unknown Tue Jun 17 01:27:34 2025 X-Loop: don@donarmstrong.com Subject: bug#1337: crash on going into non-existing dir with find-file Reply-To: YAMAMOTO Mitsuharu , 1337@debbugs.gnu.org Resent-From: YAMAMOTO Mitsuharu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 15 Nov 2008 03:50:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1337 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1337-submit@emacsbugs.donarmstrong.com id=B1337.122672068914150 (code B ref 1337); Sat, 15 Nov 2008 03:50:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.3 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1337) by emacsbugs.donarmstrong.com; 15 Nov 2008 03:44:49 +0000 Received: from mathmail.math.s.chiba-u.ac.jp (ntp.math.s.chiba-u.ac.jp [133.82.132.2]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAF3ikp3014144 for <1337@emacsbugs.donarmstrong.com>; Fri, 14 Nov 2008 19:44:48 -0800 Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 438232C44; Sat, 15 Nov 2008 12:44:46 +0900 (JST) Date: Sat, 15 Nov 2008 12:44:46 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: Glenn Morris Cc: YAMAMOTO Mitsuharu , 1337@debbugs.gnu.org, xah lee , Chong Yidong In-Reply-To: References: <87fxlujj14.fsf@stupidchicken.com> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 =?UTF-8?Q?(Shij=C5=8D)?= APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII >>>>> On Fri, 14 Nov 2008 22:33:30 -0500, Glenn Morris said: > YAMAMOTO Mitsuharu wrote: >> I could reproduce it with a slightly different version of >> tabbar.el. > Sounds like this is the same as bug 615? > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=615 I think it is a different issue, because it crashes at ns_free_indexed_color. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From unknown Tue Jun 17 01:27:34 2025 X-Loop: don@donarmstrong.com Subject: bug#1337: crash on going into non-existing dir with find-file Reply-To: Chong Yidong , 1337@debbugs.gnu.org Resent-From: Chong Yidong Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 15 Nov 2008 05:40:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1337 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1337-submit@emacsbugs.donarmstrong.com id=B1337.12267272799561 (code B ref 1337); Sat, 15 Nov 2008 05:40:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.5 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1337) by emacsbugs.donarmstrong.com; 15 Nov 2008 05:34:39 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAF5YaPk009554 for <1337@emacsbugs.donarmstrong.com>; Fri, 14 Nov 2008 21:34:37 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id ACD2057E195; Sat, 15 Nov 2008 00:34:50 -0500 (EST) From: Chong Yidong To: YAMAMOTO Mitsuharu Cc: xah lee , 1337@debbugs.gnu.org References: <87fxlujj14.fsf@stupidchicken.com> Date: Sat, 15 Nov 2008 00:34:50 -0500 In-Reply-To: (YAMAMOTO Mitsuharu's message of "Sat, 15 Nov 2008 12:05:16 +0900") Message-ID: <87wsf5k0w5.fsf@cyd.mit.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii YAMAMOTO Mitsuharu writes: > Thanks. I could reproduce it with a slightly different version of > tabbar.el. > > I think the patch below will fix it. The other terms (X11, W32) need > a similar change. It may not happen on X11 using the above procedure, > but it has something to do with drawing with overhangs, and whether > the crash occurs or not depends on the metric of the used font. Thanks for the quick work debugging. Your analysis is, of course, correct, and I've checked the fix into xterm.c and w32term.c in CVS trunk. From unknown Tue Jun 17 01:27:34 2025 X-Loop: don@donarmstrong.com Subject: bug#1337: crash on going into non-existing dir with find-file Reply-To: Glenn Morris , 1337@debbugs.gnu.org Resent-From: Glenn Morris Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 15 Nov 2008 19:25:06 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1337 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1337-submit@emacsbugs.donarmstrong.com id=B1337.122677655326721 (code B ref 1337); Sat, 15 Nov 2008 19:25:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-12.4 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1337) by emacsbugs.donarmstrong.com; 15 Nov 2008 19:15:53 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAFJFofI026714 for <1337@emacsbugs.donarmstrong.com>; Sat, 15 Nov 2008 11:15:51 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1L1QcS-0000zG-Id; Sat, 15 Nov 2008 14:15:44 -0500 From: Glenn Morris To: YAMAMOTO Mitsuharu Cc: 1337@debbugs.gnu.org, xah lee , Chong Yidong References: <87fxlujj14.fsf@stupidchicken.com> X-Spook: computer terrorism Panama War on Terrorism weapons of X-Ran: I..p!"9dfr^Urf9['mS|QPy:=Z`+FIoBm-nt*+ZdQtOeqU4Y)Dp9^~g3$K(IA\vX|w6iT0 X-Hue: red X-Attribution: GM Date: Sat, 15 Nov 2008 14:15:44 -0500 In-Reply-To: (YAMAMOTO Mitsuharu's message of "Sat, 15 Nov 2008 12:44:46 +0900") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii YAMAMOTO Mitsuharu wrote: >> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=615 > > I think it is a different issue, because it crashes at > ns_free_indexed_color. Then it sounds like #615 is related to#1075 (and friends), which I had hoped was fixed... From unknown Tue Jun 17 01:27:34 2025 X-Loop: don@donarmstrong.com Subject: bug#1337: crash on going into non-existing dir with find-file Reply-To: Stefan Monnier , 1337@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 15 Nov 2008 19:45:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1337 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1337-submit@emacsbugs.donarmstrong.com id=B1337.122677791931726 (code B ref 1337); Sat, 15 Nov 2008 19:45:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.8 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1337) by emacsbugs.donarmstrong.com; 15 Nov 2008 19:38:39 +0000 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAFJcZTT031718 for <1337@emacsbugs.donarmstrong.com>; Sat, 15 Nov 2008 11:38:37 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ak4FAF60HklMCrcy/2dsb2JhbACBbMwngnmBFA X-IronPort-AV: E=Sophos;i="4.33,611,1220241600"; d="scan'208";a="29920981" Received: from 76-10-183-50.dsl.teksavvy.com (HELO pastel.home) ([76.10.183.50]) by ironport2-out.teksavvy.com with ESMTP; 15 Nov 2008 14:38:29 -0500 Received: by pastel.home (Postfix, from userid 20848) id BAD1484E1; Sat, 15 Nov 2008 14:38:27 -0500 (EST) From: Stefan Monnier To: xah lee Cc: 1337@debbugs.gnu.org, YAMAMOTO Mitsuharu , Chong Yidong Message-ID: References: <87fxlujj14.fsf@stupidchicken.com> Date: Sat, 15 Nov 2008 14:38:27 -0500 In-Reply-To: (xah lee's message of "Fri, 14 Nov 2008 18:22:31 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > after some debugging, it turns out that problem is tabbar mode. [...] > =E2=80=A2 emacs crashes. No Elisp code should be able to cause Emacs to crash, so if Emacs crashes it's a problem in the Emacs C code (tho it might be triggered by a problem in tabbar). Stefan From unknown Tue Jun 17 01:27:34 2025 X-Loop: don@donarmstrong.com Subject: bug#1337: crash on going into non-existing dir with find-file Reply-To: Chong Yidong , 1337@debbugs.gnu.org Resent-From: Chong Yidong Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 15 Nov 2008 23:40:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1337 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1337-submit@emacsbugs.donarmstrong.com id=B1337.122679203825920 (code B ref 1337); Sat, 15 Nov 2008 23:40:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.5 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1337) by emacsbugs.donarmstrong.com; 15 Nov 2008 23:33:58 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAFNXtrx025914 for <1337@emacsbugs.donarmstrong.com>; Sat, 15 Nov 2008 15:33:57 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id BC64C57E04B; Sat, 15 Nov 2008 18:34:10 -0500 (EST) From: Chong Yidong To: Glenn Morris Cc: 1337@debbugs.gnu.org References: <87fxlujj14.fsf@stupidchicken.com> Date: Sat, 15 Nov 2008 18:34:10 -0500 In-Reply-To: (Glenn Morris's message of "Sat, 15 Nov 2008 14:15:44 -0500") Message-ID: <87iqqoo971.fsf@cyd.mit.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Glenn Morris writes: > Then it sounds like #615 is related to#1075 (and friends), which I had > hoped was fixed... Adrian Robert checked in a fix for 1075 last month, but AFAICT we never heard back about whether the bug went away. From unknown Tue Jun 17 01:27:34 2025 X-Loop: don@donarmstrong.com Subject: bug#1337: crash on going into non-existing dir with find-file Reply-To: Glenn Morris , 1337@debbugs.gnu.org Resent-From: Glenn Morris Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 18 Nov 2008 00:05:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1337 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1337-submit@emacsbugs.donarmstrong.com id=B1337.122696613317071 (code B ref 1337); Tue, 18 Nov 2008 00:05:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-12.4 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1337) by emacsbugs.donarmstrong.com; 17 Nov 2008 23:55:33 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAHNtUCW017065 for <1337@emacsbugs.donarmstrong.com>; Mon, 17 Nov 2008 15:55:31 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1L2DwA-0007kE-Kf; Mon, 17 Nov 2008 18:55:22 -0500 From: Glenn Morris To: Chong Yidong Cc: 1337@debbugs.gnu.org References: <87fxlujj14.fsf@stupidchicken.com> <87iqqoo971.fsf@cyd.mit.edu> X-Spook: credit card ASO fundamentalist government Rule Psix X-Ran: +JM2QSta)Vl'oy#7D>m@L=4 (Chong Yidong's message of "Sat, 15 Nov 2008 18:34:10 -0500") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Chong Yidong wrote: >> Then it sounds like #615 is related to#1075 (and friends), which I had >> hoped was fixed... > > Adrian Robert checked in a fix for 1075 last month, but AFAICT we never > heard back about whether the bug went away. No we didn't; and now bug#1362 reports another crash related to ns_free_indexed_color. :(