all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Dani Moncayo <dmoncayo@gmail.com>
Cc: 15893@debbugs.gnu.org
Subject: bug#15893: 24.3.50; emacs_backtrace
Date: Tue, 26 Nov 2013 19:19:28 +0200	[thread overview]
Message-ID: <83r4a39j33.fsf@gnu.org> (raw)
In-Reply-To: <CAH8Pv0iXLHugLZdjLSjgDjg0g76mBtSh3h6uxzKVJPn8Pzwb_A@mail.gmail.com>

> Date: Tue, 26 Nov 2013 14:57:52 +0100
> From: Dani Moncayo <dmoncayo@gmail.com>
> 
> >> > If you can recall what were you doing when this happened, please tell.
> >>
> >> Reverting a buffer which was updated by another program.
> >
> > Thanks.
> 
> FWIW: Today (with an Emacs build yesterday from trunk) I've got two
> more crashes while reverting buffers.

Thanks.  However, without a recipe to reproduce or at least some
supporting data, there's not much one can learn from this, except that
the problem is not yet solved.  If I modify a file outside Emacs and
then try to insert a character, and when Emacs asks the question, tell
it to revert its buffer, I see no crashes.

> Finsert_file_contents at fileio.c:4019
> Ffuncall at eval.c:2821
> exec_byte_code at bytecode.c:919
> funcall_lambda at eval.c:2973
> Ffuncall at eval.c:2854
> exec_byte_code at bytecode.c:919
> funcall_lambda at eval.c:2973
> Ffuncall at eval.c:2854
> exec_byte_code at bytecode.c:919
> funcall_lambda at eval.c:2973
> Ffuncall at eval.c:2854
> exec_byte_code at bytecode.c:919
> funcall_lambda at eval.c:3039
> Ffuncall at eval.c:2854
> call1 at eval.c:2604
> lock_file at filelock.c:709
> prepare_to_modify_buffer_1 at insdel.c:1841
> prepare_to_modify_buffer at insdel.c:1876
> insert_1_both at insdel.c:797
> insert_and_inherit at insdel.c:593
> internal_self_insert at cmds.c:489
> Fself_insert_command at cmds.c:310
> Ffuncall at eval.c:2805
> Fcall_interactively at callint.c:836

What I see from this backtrace is that you typed a characters
(self-insert-command), to which Emacs told you that the file was
modified and asked what to do.  You then replied with 'r', asking
Emacs to revert the buffer.  As result of the revert, some
after-change-hook got run, which caused another (perhaps the same)
after-change-hook to run:

> Fline_beginning_position at editfns.c:772
> Ffuncall at eval.c:2805
> exec_byte_code at bytecode.c:919
> funcall_lambda at eval.c:3039
> Ffuncall at eval.c:2854
> funcall_nil at eval.c:2356
> run_hook_with_args at eval.c:2541
> Frun_hook_with_args at eval.c:2402 <<<<<<<<<<<<<<<<<<<<<
> Ffuncall at eval.c:2786
> exec_byte_code at bytecode.c:919
> funcall_lambda at eval.c:2973
> Ffuncall at eval.c:2854
> funcall_nil at eval.c:2356
> run_hook_with_args at eval.c:2541
> Frun_hook_with_args at eval.c:2402 <<<<<<<<<<<<<<<<<<<<<<<<
> signal_after_change at insdel.c:2081
> del_range_byte at insdel.c:1637
> Finsert_file_contents at fileio.c:4019

Any idea what could those hooks be?

In general, if you want to help the investigation, run Emacs under
GDB, and when this happens look around to find answers to these
questions.

TIA.





  reply	other threads:[~2013-11-26 17:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-14 13:27 bug#15893: 24.3.50; emacs_backtrace Dani Moncayo
2013-11-14 16:44 ` Eli Zaretskii
2013-11-14 16:46   ` Dani Moncayo
2013-11-14 16:55     ` Dani Moncayo
2013-11-14 17:26     ` Eli Zaretskii
2013-11-26 13:57       ` Dani Moncayo
2013-11-26 17:19         ` Eli Zaretskii [this message]
2013-11-27 16:37           ` Eli Zaretskii
2013-11-29  9:27             ` Dani Moncayo
2013-11-29 11:10               ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=83r4a39j33.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=15893@debbugs.gnu.org \
    --cc=dmoncayo@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.