unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andy Moreton <andrewjmoreton@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 18152@debbugs.gnu.org
Subject: bug#18152: 24.3.92; Crash in emacs 24 while reverting a buffer
Date: Wed, 30 Jul 2014 18:39:41 +0100	[thread overview]
Message-ID: <53D92DDD.2070205@gmail.com> (raw)
In-Reply-To: <8338diu52x.fsf@gnu.org>

On 30/07/2014 6:30 PM, Eli Zaretskii wrote:
>> [...]
>> #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 "/", '*' <repeats 74 times>, "\\\n*//*! \\file wt_mem.c - WT (Windows Tools) memory allocation helper routines\n** <L5_PRIVATE L5_SOURCE>\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.

I've seen a couple of crashes in the last week, but only after several hours 
of work. If I manage to reproduce it I will try to keep a gdb session alive to 
aid with debugging.

Regards,

     AndyM






  reply	other threads:[~2014-07-30 17:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-30 17:03 bug#18152: 24.3.92; Crash in emacs 24 while reverting a buffer Andy Moreton
2014-07-30 17:30 ` Eli Zaretskii
2014-07-30 17:39   ` Andy Moreton [this message]
2014-07-30 17:54     ` Eli Zaretskii
2015-12-26 16:01     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53D92DDD.2070205@gmail.com \
    --to=andrewjmoreton@gmail.com \
    --cc=18152@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).