From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Denny Dahl" Newsgroups: gmane.emacs.help Subject: Mysterious emacs failure Date: Mon, 17 Oct 2005 12:47:30 -0400 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0235411931==" X-Trace: sea.gmane.org 1129567996 2049 80.91.229.2 (17 Oct 2005 16:53:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Oct 2005 16:53:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 17 18:53:14 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ERYBv-0004uQ-8v for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Oct 2005 18:50:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ERYBu-0002Yz-CO for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Oct 2005 12:50:26 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Mon, 17 Oct 2005 11:47:31 -0500 Original-Newsgroups: gnu.emacs.help X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Original-Lines: 345 Original-NNTP-Posting-Host: 24.218.137.167 Original-X-Trace: sv3-4qYx29CYY68uZLLpIUgtrxjxMUQgKU449lO1qH8Q1vN65PivuRNec6O4oLQq5wrICEHNLKu5Y2t+dNx!wlehO03WOuHuNMT2TVHAP5ECocQVyMKzZxbJfXQ/yEsTxM+FasoFPRFonjN19WrdugLunmjBfOwz!A8QPtw== Original-X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Original-Xref: shelby.stanford.edu gnu.emacs.help:134710 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:30292 Archived-At: This is a multi-part message in MIME format. --===============0235411931== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0012_01C5D318.F004CF10" This is a multi-part message in MIME format. ------=_NextPart_000_0012_01C5D318.F004CF10 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am data warehouse consultant who has been working at a large insurance = company for 18 months. On my first week of work, I downloaded, configured and = compiled emacs for several of the AIX boxes here. I have been using emacs on one = particular server quite productively for the last 18 months without any problems. = Up until Thursday of last week. I took off Friday to attend my 30th high school reunion and returned to = work this morning. The box had been booted during my absence: a pre-meditated = re-boot so that a particular software package (Ab Initio) could be upgraded. Now, = emacs no longer works. In fact, it dies a horrible death at start-up like this: tlmitnu1:ddahl> emacs Segmentation fault(coredump) tlmitnu1:ddahl> ls -l core -rw-r----- 1 ddahl abinitio 11360307 Oct 17 12:33 core If you can provide me any clues or ideas about things to investigate, I = would be very appreciative. Here is some additional information. OS particulars: tlmitnu1:ddahl> uname -rv 1 5 tlmitnu1:ddahl> uname -a AIX tlmitnu1 1 5 0029334A4C00 tlmitnu1:ddahl> cat /etc/motd = *************************************************************************= ****** * = * * = * * Welcome to AIX Version 5.1! = * * = * * = * * Please see the README file in /usr/lpp/bos for information = pertinent to * * this release of the AIX Operating System. = * * = * * = * = *************************************************************************= ****** DEOS Infrastructure Version 2002-Q2-aix installed (08/13/2003) DEOS v2002-3-aixuvscan (09/23/2002) deos_unix_ECCmstagt_prod_s-2003.1 installed on 10/14/2003 DEOS Infrastructure Version v2004-3-alerts installed (09/14/2004) I've run emacs under the debugger and single-stepped my way to the = general area where the signal happens. In rough outline, there is a variable = (__malloc_hook) found in src/gmalloc.c and this is supposed to contain the address of a = function. But when the program attempts to execute code at this derefeneced address, it = finds unreadable instructions: tlmitnu1:emacs-21.3> dbx src/emacs Type 'help' for help. reading symbolic information ... (dbx) stop in main [1] stop in main (dbx) run [1] stopped in main at line 714 in file "src/emacs.c" ($t1) 714 int skip_args =3D 0; (dbx) step stopped in main at line 737 in file "src/emacs.c" ($t1) 737 sort_args (argc, argv); (dbx) step stopped in sort_args at line 1651 in file "src/emacs.c" ($t1) 1651 char **new =3D (char **) xmalloc (sizeof (char *) * argc); (dbx) step stopped in xmalloc at line 519 in file "src/alloc.c" ($t1) 519 BLOCK_INPUT; (dbx) step stopped in xmalloc at line 520 in file "src/alloc.c" ($t1) 520 val =3D (POINTER_TYPE *) malloc (size); (dbx) step stopped in gmalloc.malloc at line 891 in file "src/gmalloc.c" ($t1) 891 if (!__malloc_initialized && !__malloc_initialize ()) (dbx) step stopped in gmalloc.malloc at line 894 in file "src/gmalloc.c" ($t1) 894 return (__malloc_hook !=3D NULL ? *__malloc_hook : = _malloc_internal) (size); (dbx) print __malloc_hook 0x200e0b9c=20 (dbx) print *__malloc_hook 0x2c030000=20 (dbx) step Unreadable instruction at address 0x2c030000 (dbx) where ptrgl.$PTRGL(??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, = ??, ??, ??, ??, ??, ??, ) at 0x100adf64 gmalloc.malloc(size =3D 0), line 894 in "gmalloc.c" xmalloc(size =3D 0), line 520 in "alloc.c" sort_args(argc =3D 42308, argv =3D 0x000c0002), line 1651 in "emacs.c" main(argc =3D 0, argv =3D (nil), envp =3D (nil)), line 737 in = "emacs.c" (dbx) quit =20 The version of emacs that I've been using is 21-3. In desperation, I = downloaded, configured and compiled a new emacs.21-3 but this newly compiled version failed in the = same way as the original. Thanks in advance for any help that you might be able to provide! -Denny Dahl ------=_NextPart_000_0012_01C5D318.F004CF10 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am data warehouse = consultant who=20 has been working at a large insurance company
for 18 months.  On = my first week=20 of work, I downloaded, configured and compiled
emacs for several of = the AIX boxes=20 here.  I have been using emacs on one particular
server quite = productively for the=20 last 18 months without any problems.  Up until
Thursday of last = week.
 
I took off Friday to = attend my 30th=20 high school reunion and returned to work this
morning.  The box = had been=20 booted during my absence: a pre-meditated re-boot so
that a particular = software package=20 (Ab Initio) could be upgraded.  Now, emacs no
longer works.  In = fact, it dies=20 a horrible death at start-up like this:
tlmitnu1:ddahl> = emacs
Segmentation=20 fault(coredump)
tlmitnu1:ddahl> ls -l = core
-rw-r-----   1=20 ddahl    abinitio   11360307 Oct 17 12:33=20 core
If you can provide me = any clues or=20 ideas about things to investigate, I would be
very = appreciative.  Here is some=20 additional information.
 
OS = particulars:
tlmitnu1:ddahl> uname = -rv
1=20 5
tlmitnu1:ddahl> uname -a
AIX tlmitnu1 1 5=20 0029334A4C00
tlmitnu1:ddahl> cat=20 = /etc/motd
************************************************************= *******************
*        &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =        =20 = *
*           &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =     =20 *
*  Welcome to AIX Version=20 = 5.1!           &nb= sp;           &nbs= p;            = ;           =20 = *
*           &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =     =20 = *
*           &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =     =20 *
*  Please see the README file in /usr/lpp/bos for = information=20 pertinent to    *
*  this release of the AIX = Operating=20 = System.           =             &= nbsp;         =20 = *
*           &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =     =20 = *
*           &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =     =20 = *
********************************************************************= ***********
DEOS=20 Infrastructure Version 2002-Q2-aix installed (08/13/2003)
DEOS=20 v2002-3-aixuvscan (09/23/2002)
deos_unix_ECCmstagt_prod_s-2003.1 = installed=20 on 10/14/2003
DEOS Infrastructure Version v2004-3-alerts = installed =20 (09/14/2004)
I've run emacs under = the debugger and=20 single-stepped my way to the general area
where the signal happens.  = In rough=20 outline, there is a variable (__malloc_hook) found
in src/gmalloc.c and this is = supposed to=20 contain the address of a function.  But when
the program attempts to execute = code at this=20 derefeneced address, it finds unreadable
instructions:
 
tlmitnu1:emacs-21.3> = dbx=20 src/emacs
Type 'help' for help.
reading symbolic information=20 ...
(dbx) stop in main
[1] stop in main
(dbx) run
[1] = stopped in=20 main at line 714 in file "src/emacs.c" ($t1)
 =20 714     int skip_args =3D 0;
(dbx) = step
stopped in=20 main at line 737 in file "src/emacs.c" ($t1)
 =20 737     sort_args (argc, argv);
(dbx) = step
stopped=20 in sort_args at line 1651 in file "src/emacs.c"=20 ($t1)
 1651     char **new =3D (char **) = xmalloc=20 (sizeof (char *) * argc);
(dbx) step
stopped in xmalloc at line = 519 in=20 file "src/alloc.c" ($t1)
  519    =20 BLOCK_INPUT;
(dbx) step
stopped in xmalloc at line 520 in file=20 "src/alloc.c" ($t1)
  520     val =3D = (POINTER_TYPE=20 *) malloc (size);
(dbx) step
stopped in gmalloc.malloc at line = 891 in=20 file "src/gmalloc.c" ($t1)
  891     if=20 (!__malloc_initialized && !__malloc_initialize ())
(dbx)=20 step
stopped in gmalloc.malloc at line 894 in file "src/gmalloc.c"=20 ($t1)
  894     return (__malloc_hook !=3D = NULL ?=20 *__malloc_hook : _malloc_internal) (size);
(dbx) print=20 __malloc_hook
0x200e0b9c
(dbx) print = *__malloc_hook
0x2c030000=20
(dbx) step
Unreadable instruction at address = 0x2c030000
(dbx)=20 where
ptrgl.$PTRGL(??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, = ??, ??,=20 ??, ??, ??, ??, ??, ??, ) at 0x100adf64
gmalloc.malloc(size =3D 0), = line 894=20 in "gmalloc.c"
xmalloc(size =3D 0), line 520 in = "alloc.c"
sort_args(argc =3D=20 42308, argv =3D 0x000c0002), line 1651 in "emacs.c"
main(argc =3D = 0, argv =3D=20 (nil), envp =3D (nil)), line 737 in "emacs.c"
(dbx)=20 quit
 
The version = of emacs that=20 I've been using is 21-3.  In desperation, I downloaded, configured=20 and
compiled a new = emacs.21-3 but this=20 newly compiled version failed in the same way as the = original.
 
Thanks in advance for = any help that=20 you might be able to provide!
 
-Denny = Dahl
 
 
------=_NextPart_000_0012_01C5D318.F004CF10-- --===============0235411931== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============0235411931==--