all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Romain Francoise <romain@orebokech.com>
Cc: emacs-devel@gnu.org
Subject: Re: Redisplay crash
Date: Tue, 04 Jan 2005 21:46:33 +0100	[thread overview]
Message-ID: <87u0pwsz12.fsf@orebokech.com> (raw)
In-Reply-To: <200501040105.KAA09219@etlken.m17n.org> (Kenichi Handa's message of "Tue, 4 Jan 2005 10:05:51 +0900 (JST)")

Kenichi Handa <handa@m17n.org> writes:

> I can't reproduce this bug, but I seems that my change to
> encode_terminal_code on 2004-11-30 is the cause.

Indeed if I revert term.c to revision 1.156, the problem goes away.

> At least the argument `src_len' of encode_terminal_code has strange
> value in your backtrace.  Could you try to find out why it has that
> value by debugger?

I tried but that value must come from stack corruption or some other
strangeness since in my tests, it always has reasonable values.. and
when the segfault occurs, it has the value 3 (in the one case I used to
reproduce the bug: entering gnu.emacs.gnus).

I will investigate further, any clues are welcome.

Also, I may be wrong, but it looks like the memory allocated in
encode_terminal_code is never freed.  Or is it GC'ed?

-- 
Romain Francoise <romain@orebokech.com> | There's no stronger wind than
it's a miracle -- http://orebokech.com/ | the one that blows down a
                                        | lonesome railroad line.

  reply	other threads:[~2005-01-04 20:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-03 19:32 Redisplay crash Romain Francoise
2005-01-04  1:05 ` Kenichi Handa
2005-01-04 20:46   ` Romain Francoise [this message]
2005-01-05 20:49     ` Romain Francoise
2005-01-05 21:49       ` Romain Francoise
2005-01-06  0:56       ` Kenichi Handa
  -- strict thread matches above, loose matches on Subject: below --
2004-03-10 16:25 Compilation to native Matthew Mundell
2004-03-20 21:52 ` Matthew Mundell
2004-03-21 19:21   ` Richard Stallman
2004-03-22 16:54     ` Juri Linkov
2004-03-23 17:47       ` Richard Stallman
2004-04-07 11:57         ` Kenichi Handa
2004-04-07 12:45           ` David Kastrup
2004-04-07 13:12             ` Kenichi Handa
2004-04-07 23:52               ` Alex Schroeder
2004-04-08  2:35                 ` It is time for a feature freeze (it is NOW or never) Kim F. Storm
2004-04-08  2:05                   ` Miles Bader
2004-04-08  2:34                     ` Kenichi Handa
2004-04-08 16:30                       ` Redisplay crash Stefan Monnier
2004-04-09  1:57                         ` Kenichi Handa
2004-04-13 10:00                           ` Piet van Oostrum
2004-04-18 21:47                           ` Richard Stallman
2004-04-09 22:44                         ` Richard Stallman
2004-04-10 18:36                           ` Kim F. Storm
2004-04-12  3:52                             ` 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

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

  git send-email \
    --in-reply-to=87u0pwsz12.fsf@orebokech.com \
    --to=romain@orebokech.com \
    --cc=emacs-devel@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 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.