unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Re: Redisplay crash
Date: Tue, 4 Jan 2005 10:05:51 +0900 (JST)	[thread overview]
Message-ID: <200501040105.KAA09219@etlken.m17n.org> (raw)
In-Reply-To: <87llbal35x.fsf@orebokech.com> (message from Romain Francoise on Mon, 03 Jan 2005 20:32:10 +0100)

In article <87llbal35x.fsf@orebokech.com>, Romain Francoise <romain@orebokech.com> writes:

> Running Emacs CVS from a few hours ago, I get a segmentation fault every
> time I try to enter a group in Gnus (using emacs -nw, I didn't try in
> X11).  It's very reproducible.  I last updated before that in October
> 2004 so the bug might not be recent.

> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1485880672 (LWP 8907)]
> 0xa7883051 in mallopt () from /lib/tls/i686/cmov/libc.so.6
> (gdb) bt
> #0  0xa7883051 in mallopt () from /lib/tls/i686/cmov/libc.so.6
> #1  0xa7881d65 in realloc () from /lib/tls/i686/cmov/libc.so.6
> #2  0x081685ab in emacs_blocked_realloc (ptr=0x958d590, size=388)
>     at alloc.c:1279
> #3  0xa7881c9c in realloc () from /lib/tls/i686/cmov/libc.so.6
> #4  0x08168123 in xrealloc (block=0x6d353358, size=25) at alloc.c:758
> #5  0x080e0e53 in encode_terminal_code (src=0xa76f0f08, src_len=156816800,
>     coding=0x8323200) at term.c:904
> #6  0x080e2c9c in write_glyphs (string=0xa76f0ea8, len=43) at term.c:970

I can't reproduce this bug, but I seems that my change to
encode_terminal_code on 2004-11-30 is the cause.  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?

---
Ken'ichi HANDA
handa@m17n.org

  reply	other threads:[~2005-01-04  1:05 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 [this message]
2005-01-04 20:46   ` Romain Francoise
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

  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=200501040105.KAA09219@etlken.m17n.org \
    --to=handa@m17n.org \
    --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 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).