unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Judah Milgram <milgram@convair.dt.navy.mil>
Subject: 21.2 on Irix 6.5 segfault on startup; patch.
Date: Fri, 04 Oct 2002 17:11:27 -0400	[thread overview]
Message-ID: <200210042111.g94LBRJ07393@convair.dt.navy.mil> (raw)

X-Mailer: mh-e 5.0.90; nmh 1.0.4; Emacs 20.4

In GNU Emacs 21.2.15 (mips-sgi-irix6.5, X toolkit)
 of 2002-10-04
configured using `configure  --prefix=/usr/local/gnu'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: C
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Compiled with gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
Problem seen with binutils 2.13, then I completely uninstalled
binutils and re-compiled gcc (thus configuring to use system ld etc.)
and rebuilt emacs. No change.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Seg fault & core dump on startup.

Believe it or not, the following patch fixes things. Don't  ask me why.


*** gmalloc.c.dist	Sun Nov  4 12:35:43 2001
--- gmalloc.c	Fri Oct  4 17:03:41 2002
***************
*** 987,992 ****
--- 987,994 ----
      = FINAL_FREE_BLOCKS + 2 * __malloc_extra_blocks;
  
    register struct alignlist *l;
+   char gronked[7]="gronked";     /* On Irix 6.5, prevents seg
+                                     fault on startup. Go figure. */
  
    if (ptr == NULL)
      return;


- Judah Milgram
  milgramjh@nswccd.navy.mil

             reply	other threads:[~2002-10-04 21:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-04 21:11 Judah Milgram [this message]
2002-10-05 16:32 ` 21.2 on Irix 6.5 segfault on startup; patch 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=200210042111.g94LBRJ07393@convair.dt.navy.mil \
    --to=milgram@convair.dt.navy.mil \
    /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).