unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: larsh@math.ku.dk, storm@cua.dk, emacs-devel@gnu.org
Subject: Re: emacs hangs when loading image
Date: Mon, 27 Dec 2004 13:06:36 -0500	[thread overview]
Message-ID: <E1CizGO-0006UZ-8G@fencepost.gnu.org> (raw)
In-Reply-To: <87brcg1qqg.fsf@confusibombus.emacswiki.org> (message from Alex Schroeder on Mon, 27 Dec 2004 02:20:39 +0100)

    #0  0x08103e63 in adjust_markers_for_replace (from=106, from_byte=106, old_chars=8,
	old_bytes=106, new_chars=0, new_bytes=0) at insdel.c:493
    #1  0x081056f0 in replace_range (from=106, to=114, new=157596715, prepare=1, inherit=0,
	markers=1) at insdel.c:1622

The args to adjust_markers_for_replace look wrong.  Specifically,
it is really strange that old_bytes is 106.  8 characters are
not likely to occupy 106 bytes.

Could you look at the code in replace_range and see how it computed
old_bytes?  And in general check those values.

  parent reply	other threads:[~2004-12-27 18:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-25 23:45 emacs hangs when loading image Alex Schroeder
2004-12-26  9:10 ` Lars Hansen
2004-12-27  1:20   ` Alex Schroeder
2004-12-27 18:06     ` Richard Stallman
2004-12-27 18:06     ` Richard Stallman [this message]
2004-12-27  4:09   ` Richard Stallman
2004-12-27  9:28     ` Lars Hansen
2004-12-27 22:35       ` Richard Stallman
2004-12-28  8:27         ` Lars Hansen
2004-12-28 20:57           ` Richard Stallman

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=E1CizGO-0006UZ-8G@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=larsh@math.ku.dk \
    --cc=storm@cua.dk \
    /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).