From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Kleehammer Newsgroups: gmane.emacs.bugs Subject: bug#11367: 24.0.95.1 Crash: Windows 7 using egg Date: Sat, 28 Apr 2012 11:32:10 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1335630791 3494 80.91.229.3 (28 Apr 2012 16:33:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 28 Apr 2012 16:33:11 +0000 (UTC) To: 11367@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 28 18:33:11 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SOAa4-0007hV-6p for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Apr 2012 18:33:08 +0200 Original-Received: from localhost ([::1]:41049 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOAa3-00058o-JO for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Apr 2012 12:33:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOAZp-0004Vz-E0 for bug-gnu-emacs@gnu.org; Sat, 28 Apr 2012 12:32:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SOAZn-0006zX-F6 for bug-gnu-emacs@gnu.org; Sat, 28 Apr 2012 12:32:52 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOAZn-0006zT-9p for bug-gnu-emacs@gnu.org; Sat, 28 Apr 2012 12:32:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SOAav-0000n0-HF for bug-gnu-emacs@gnu.org; Sat, 28 Apr 2012 12:34:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Michael Kleehammer Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Apr 2012 16:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11367 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13356308373022 (code B ref -1); Sat, 28 Apr 2012 16:34:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Apr 2012 16:33:57 +0000 Original-Received: from localhost ([127.0.0.1]:56983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SOAar-0000mh-5C for submit@debbugs.gnu.org; Sat, 28 Apr 2012 12:33:57 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38386) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SOAao-0000mV-UL for submit@debbugs.gnu.org; Sat, 28 Apr 2012 12:33:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SOAZZ-0006yM-EL for submit@debbugs.gnu.org; Sat, 28 Apr 2012 12:32:39 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:49353) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOAZZ-0006yH-8H for submit@debbugs.gnu.org; Sat, 28 Apr 2012 12:32:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOAZX-0004T4-8X for bug-gnu-emacs@gnu.org; Sat, 28 Apr 2012 12:32:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SOAZU-0006xj-UP for bug-gnu-emacs@gnu.org; Sat, 28 Apr 2012 12:32:34 -0400 Original-Received: from mail-vb0-f41.google.com ([209.85.212.41]:54051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOAZU-0006xU-N7 for bug-gnu-emacs@gnu.org; Sat, 28 Apr 2012 12:32:32 -0400 Original-Received: by vbbey12 with SMTP id ey12so1526071vbb.0 for ; Sat, 28 Apr 2012 09:32:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type:content-transfer-encoding; bh=EEViDFYNbyQfX/Y4HmZferJk5xBDrM7CG7B0u+V8feM=; b=VQr2xx0txGVoR1kBzIym5Xv9zVOiy0feXyZfmCS0wlsJLoZy5JVxeC5yHFsqBp5JS5 z0/V08fho1Jq5cxMhXz4Jg9A/jYtLM7UZXExNMFWKchkWFCeDyg0dJjo4ZzL6BU7NaeD qXdTRF/aqNq2Rei4JZuM9sPD9z+OGbulgpzTX0hjC+2y6KmVxtyslVn1Vw+/K2qSyRsg lRUWn8zF9mEuGycjt7eGuAUqfVW0/r04iTdDuk+4mSvDv4oFEWvJgm3VVoBLp66mf8OB LRAAzTNc/NO567VirlTgCZ4YtkKEnapQdhFij183v7ZEkZdNLHvHXQ1GECVWoPCj9b1y VZ+Q== Original-Received: by 10.52.34.196 with SMTP id b4mr4865833vdj.29.1335630750749; Sat, 28 Apr 2012 09:32:30 -0700 (PDT) Original-Received: by 10.220.150.15 with HTTP; Sat, 28 Apr 2012 09:32:10 -0700 (PDT) X-Google-Sender-Auth: qIlQq1bFeX8iHhoOg2XSvHHB9yw X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59595 Archived-At: Sorry for the delay. It stopped aborting at exactly the same place, on multiple machines, with and without -Q. I tried a lot of combinations and it seems that adding one more step, a C-n, does it. The abort is sporadic during development, but this seemed to do it every time. Perhaps it isn't as certain as I thought. On Sat, Apr 28, 2012 at 10:34 AM, Eli Zaretskii wrote: ... > Please show the result of the following commands: > > =A0(gdb) frame 2 #2 0x011d6e49 in pos_visible_p (w=3D0x3600800, charpos=3D462, x=3D0x88e2f8= , y=3D0x88e2f4, rtop=3D0x88e308, rbot=3D0x88e304, rowh=3D0x88e300, vpos=3D0x88e2fc) at xdisp.c:1460 1460 xdisp.c: No such file or directory. > =A0(gdb) p g $1 =3D (struct glyph *) 0x4fd90fc > =A0(gdb) p it3.glyph_row->glyphs[1] + it3.glyph_row->used[1] $2 =3D (struct glyph *) 0x4fd90fc > =A0(gdb) p it3.current $3 =3D { pos =3D { charpos =3D 445, bytepos =3D 445 }, overlay_string_index =3D -1, string_pos =3D { charpos =3D 0, bytepos =3D 0 }, dpvec_index =3D -1 } > =A0(gdb) p charpos $4 =3D 462 > =A0(gdb) p it3.object $5 =3D 84618657 > =A0(gdb) p (g-1)->object $6 =3D 0 > =A0(gdb) pgrowx it3.glyph_row TEXT: 7 glyphs 0 0: CHAR[m] pos=3D1 blev=3D0,btyp=3DL w=3D14 a+d=3D16+5 face=3D19 MB 1 14: CHAR[a] pos=3D2 blev=3D0,btyp=3DL w=3D8 a+d=3D16+5 face=3D19 MB 2 22: CHAR[s] pos=3D3 blev=3D0,btyp=3DL w=3D7 a+d=3D16+5 face=3D19 MB 3 29: CHAR[t] pos=3D4 blev=3D0,btyp=3DL w=3D6 a+d=3D16+5 face=3D19 MB 4 35: CHAR[e] pos=3D5 blev=3D0,btyp=3DL w=3D8 a+d=3D16+5 face=3D19 MB 5 43: CHAR[r] pos=3D6 blev=3D0,btyp=3DL w=3D6 a+d=3D16+5 face=3D19 MB 6 49: CHAR[ ] pos=3D0 blev=3D0,btyp=3DB w=3D8 a+d=3D13+4 MB I'm impressed with your remote debugging ;) >> #40 0x01004baa in Frecursive_edit () at keyboard.c:823 >> #41 0x010028b5 in main (argc=3D1, argv=3D0x8e2d98) at emacs.c:1715 >> (gdb) > > There should have been a Lisp-level backtrace after this; didn't you > see it? =A0Perhaps that's because .gdbinit was not loaded (did you start > GDB from the same directory where you saved .gdbinit?), so try this: > > =A0(gdb) source .gdbinit > =A0(gdb) xbacktrace My mistake. I had to download mingw from scratch and install gdb, etc. and forgot a step. "posn-at-point" (0x88e448) "mouse-avoidance-point-position" (0x88e744) "mouse-avoidance-too-close-p" (0x88ea34) "mouse-avoidance-fancy" (0x88ee38) "apply" (0x88ee34) "byte-code" (0x88f084) "timer-event-handler" (0x88f4fc) This original backtrace was without -Q, so the mouse avoidance setting may be non-default. Let me know if I should kill it and get a -Q backtrace. > Then it would help to have a full recipe starting with "emacs -Q". * Download the egg library from https://github.com/bogolisk/egg I am using the latest version. * Create new git repository in an empty directory: $ git init * Create readme.txt with "1st line\n" and commit. $ git add readme.txt $ git commit -m "initial commit" * Append "2nd line\n" to the readme.txt file. * Create two new text files with one line each: * file1 with "file1\n" * file2 with "file2\n" * Start emacs while in repo directory: $ emacs -Q (You can start from any directory, but egg-status uses the current directory. Use can use any other method, such as cd or dired to set the current directory to the repository directory.) * Load the egg library: M-x load-file , then find egg.el * M-x egg-status Splits window and creates status buffer on bottom. * Put the cursor on file1 at the bottom of the status window. C-x o ; switch to status buffer C-n ... ; move to file1 * Press 's' to stage the file which will remove file1 from the bottom section and create a new file1 section showing a diff. s * At this point it may crash. If not, the cursor should be on the file1 filename in the new section. Press C-n once to crash.