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#18152: 24.3.92; Crash in emacs 24 while reverting a buffer Date: Wed, 30 Jul 2014 20:30:46 +0300 Message-ID: <8338diu52x.fsf@gnu.org> References: <53D92546.7020801@solarflare.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1406741491 9095 80.91.229.3 (30 Jul 2014 17:31:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Jul 2014 17:31:31 +0000 (UTC) Cc: 18152@debbugs.gnu.org To: Andy Moreton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 30 19:31:23 2014 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 1XCXih-0000Ni-5I for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Jul 2014 19:31:19 +0200 Original-Received: from localhost ([::1]:52377 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCXig-0004iF-Mo for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Jul 2014 13:31:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCXiX-0004hI-Em for bug-gnu-emacs@gnu.org; Wed, 30 Jul 2014 13:31:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCXiQ-0006MK-GD for bug-gnu-emacs@gnu.org; Wed, 30 Jul 2014 13:31:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45121) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCXiQ-0006MG-CU for bug-gnu-emacs@gnu.org; Wed, 30 Jul 2014 13:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XCXiP-0007oE-Vp for bug-gnu-emacs@gnu.org; Wed, 30 Jul 2014 13:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Jul 2014 17:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18152 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18152-submit@debbugs.gnu.org id=B18152.140674143729982 (code B ref 18152); Wed, 30 Jul 2014 17:31:01 +0000 Original-Received: (at 18152) by debbugs.gnu.org; 30 Jul 2014 17:30:37 +0000 Original-Received: from localhost ([127.0.0.1]:52064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XCXi0-0007nV-9z for submit@debbugs.gnu.org; Wed, 30 Jul 2014 13:30:36 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:57286) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XCXhw-0007nG-VR for 18152@debbugs.gnu.org; Wed, 30 Jul 2014 13:30:34 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0N9J00400C4W0K00@a-mtaout22.012.net.il> for 18152@debbugs.gnu.org; Wed, 30 Jul 2014 20:30:26 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N9J00470CMP3X00@a-mtaout22.012.net.il>; Wed, 30 Jul 2014 20:30:26 +0300 (IDT) In-reply-to: <53D92546.7020801@solarflare.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:91979 Archived-At: > Date: Wed, 30 Jul 2014 18:03:02 +0100 > From: Andy Moreton > > Running emacs 24 built from r117416 on Win7 64bit using Mingw toolchain. > > After several hours of working normally, I hit (which I have bound > to revert-buffer) in a c-mode buffer. Emacs crashed, and running gdb > showed the follwing backtrace: > [...] > #1 0x011ff2fc in emacs_abort () at ../../src/w32fns.c:8478 > button = 0x6 > #2 0x010f21d6 in terminate_due_to_signal (sig=0x16, backtrace_limit=0x7fffffff) at ../../src/emacs.c:378 > No locals. > #3 0x01164fe0 in die (msg=0x14a0b9a "same_at_start == GPT_BYTE", file=0x14a00a7 "../../src/fileio.c", line=0xfcb) at ../../src/alloc.c:6833 > No locals. > #4 0x0113799a in Finsert_file_contents (filename=0x6364c71, visit=0x37a7842, beg=0x37a7822, end=0x37a7822, replace=0x37a7842) at ../../src/fileio.c:4043 > bufpos = 0x38f > this = 0x0 > this_count = 0x13 > same_at_start = 0x380 > same_at_end = 0x390 > decoded = 0xb3414b0 "/", '*' , "\\\n*//*! \\file wt_mem.c - WT (Windows Tools) memory allocation helper routines\n** \n** \\author al\n** \\b"... Unless you can reproduce this at will, it's too bad that you didn't record the value of GPT_BYTE, whose difference from same_at_start is the immediate reason for the assertion violation on line 4043 of fileio.c.