From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11367: 24.0.95.1 Crash: Windows 7 using egg Date: Sat, 28 Apr 2012 10:13:54 +0300 Message-ID: <83sjfo72h9.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1335597306 15598 80.91.229.3 (28 Apr 2012 07:15:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 28 Apr 2012 07:15:06 +0000 (UTC) Cc: 11367@debbugs.gnu.org To: Michael Kleehammer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 28 09:15:05 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 1SO1rw-0007mS-Hs for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Apr 2012 09:15:00 +0200 Original-Received: from localhost ([::1]:56630 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SO1rv-0006Gw-SA for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Apr 2012 03:14:59 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SO1rs-0006Gr-9y for bug-gnu-emacs@gnu.org; Sat, 28 Apr 2012 03:14:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SO1rq-000054-Az for bug-gnu-emacs@gnu.org; Sat, 28 Apr 2012 03:14:55 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SO1rq-000050-7c for bug-gnu-emacs@gnu.org; Sat, 28 Apr 2012 03:14:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SO1sv-0004K4-P8 for bug-gnu-emacs@gnu.org; Sat, 28 Apr 2012 03:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Apr 2012 07:16: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: Original-Received: via spool by 11367-submit@debbugs.gnu.org id=B11367.133559730516553 (code B ref 11367); Sat, 28 Apr 2012 07:16:01 +0000 Original-Received: (at 11367) by debbugs.gnu.org; 28 Apr 2012 07:15:05 +0000 Original-Received: from localhost ([127.0.0.1]:56025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SO1s1-0004Iw-3j for submit@debbugs.gnu.org; Sat, 28 Apr 2012 03:15:05 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:34364) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SO1rz-0004IA-9B for 11367@debbugs.gnu.org; Sat, 28 Apr 2012 03:15:04 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M3600F00H8O1C00@a-mtaout23.012.net.il> for 11367@debbugs.gnu.org; Sat, 28 Apr 2012 10:13:48 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.21.156]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M3600FVOHEZ0150@a-mtaout23.012.net.il>; Sat, 28 Apr 2012 10:13:48 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il 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:59581 Archived-At: > From: Michael Kleehammer > Date: Fri, 27 Apr 2012 15:03:51 -0500 > > I can pretty consistently crash 24.0.95.1 (and could some previous > pre-releases). > > Since I am on Windows, I'm not sure how to help debug this. How can I > generate a useful stack trace for this? Like this: . Download and install a MinGW build of GDB (you can find it here: http://sourceforge.net/projects/mingw/files/MinGW/Extension/gdb/GDB-7.4/gdb-7.4-2-mingw32-bin.tar.lzma/download . From the Emacs source repository, download the file .gdbinit, available here: http://bzr.savannah.gnu.org/lh/emacs/emacs-24/annotate/head:/src/.gdbinit . Start GDB from the shell prompt in the same directory where you put .gdbinit, like this: gdb /path/to/emacs.exe . When GDB starts and displays its prompt, run emacs: (gdb) run . Perform the steps to reproduce the problem. When Emacs crashes (or aborts, see below), GDB will kick in, and you can type the backtrace command: (gdb) bt full . Post here the backtrace. Keep the crashed session running, because we might ask you to find out more by using additional GDB commands. > The step that crashes is to add a new file to egg (the emacs git interface). > > The steps to reproduce are: > * Create an empty repository. > * Create file1, add, and commit with our without egg. > * Create 2 new files. > * Run egg-status on the directory which will show 2 untracked files. > * Put the cursor on the first untracked file and press 's' to stage it. Is it a crash or an abort? In the latter case, Emacs displays an "Emacs Abort Dialog", telling that a fatal error has occurred and asking you whether you'd like to attach a debugger. Also, is the above reproducible from "emacs -Q"?