From xemacs-m  Tue Mar  4 16:58:05 1997
Received: from VNET.IBM.COM (vnet.ibm.com [199.171.26.4])
	by xemacs.org (8.8.5/8.8.5) with SMTP id QAA23169
	for <xemacs-beta@xemacs.org>; Tue, 4 Mar 1997 16:58:03 -0600 (CST)
Received: from FISHKILL by VNET.IBM.COM (IBM VM SMTP V2R3) with BSMTP id 6268;
   Tue, 04 Mar 97 17:57:49 EST
Received: by FISHKILL (XAGENTA 4.0) id 1293; Tue, 4 Mar 1997 17:46:48 -0500 
Received: by cold.fishkill.ibm.com (AIX 3.2/UCB 5.64/4.03)
          id AA31941; Tue, 4 Mar 1997 17:46:41 -0500
Date: Tue, 4 Mar 1997 17:46:41 -0500
Message-Id: <9703042246.AA31941@cold.fishkill.ibm.com>
From: "Charles Hines" <chuck_hines@VNET.IBM.COM>
To: xemacs-beta@xemacs.org
Subject: b97 probs under AIX 3.2.5
X-Face: 'pn"gAx+&w4-=-}\z>*.Y*@(lC;t1<P);@iwiv';)vn3H2\/.x#;>J[a,/Q.Yv0^Wwc6_"H]}}-"?%)ETS`1v[]P`w4,E.9Bgf*XI4<H{C}Mf@'Ms)z?Bqzf"8v/oY\9K){w}\pw
Mime-Version: 1.0 (generated by tm-edit 7.90)
Content-Type: text/plain; charset=US-ASCII


I successfully compiled 19.15b97 under AIX 3.2.5:

======================================================================
Configured for `rs6000-ibm-aix3.2.5'.

  Where should the build process find the source code?    /afs/eda/u/hines/beta/xemacs/xemacs-19.15-b97
  What installation prefix should install use?            /afs/eda/u/hines/beta/xemacs/release
  What operating system and machine description files should XEmacs use?
        `s/aix3-2-5.h' and `m/ibmrs6000.h'
  What compiler should XEmacs be built with?              xlc -g -qnoansialias -D_ALL_SOURCE
  Should XEmacs use the GNU version of malloc?            yes
  Should XEmacs use the relocating allocator for buffers? yes
  What window system should XEmacs use?                   x11
  Where do we find X Windows header files?                /usr/include
  Where do we find X Windows libraries?                   /lib
  Additional header files:                                /afs/eda/u/hines/beta/xemacs/include
  Additional libraries:                                   /afs/eda/u/hines/beta/xemacs/lib
  Compiling in support for XAUTH.
  Compiling in support for XPM.
  Compiling in support for X-Face headers.
  Compiling in support for GIF image conversion.
  Compiling in support for JPEG image conversion.
  Compiling in support for PNG image conversion.
  Compiling in support for DBM.
  Using the Lucid menubar.
  Using the Lucid scrollbar.
  Compiling in extra code for debugging.
  Compiling in code for checking XEmacs memory usage.
======================================================================

But, I'm seeing an immediate coredump (segv).  So, I recompiled with
--error-checking=all, --debug, and -g (which is actually what the
above configure output is from) and ran it again.  Got the following
running it standalone:

======================================================================
Fatal error: assertion failed, file ./buffer.h, line 199, RECORD_TYPEP (_obj, lrecord_buffer) || MARKED_RECORD_P (_obj)
Abort (core dumped)
======================================================================

and got the following running it under a debugger:

======================================================================
GDB 4.16 (rs6000-ibm-aix3.2.5), Copyright 1996 Free Software Foundation, Inc...
(gdb) r
Starting program: /afs/eda/u/hines/beta/xemacs/xemacs-19.15-b97/src/./xemacs

Program received signal SIGSEGV, Segmentation fault.
0x1000ce44 in make_uninit_string (length=21) at alloc.c:1906
1906      ALLOCATE_FIXED_TYPE (string, struct Lisp_String, s);
(gdb) bt
#0  0x1000ce44 in make_uninit_string (length=21) at alloc.c:1906
#1  0x1000d5e8 in make_string (contents=0x2ff7ef8c "HOME=/afs/eda/u/hines",
    length=21) at alloc.c:2101
#2  0x1000d690 in make_ext_string (
    contents=0x2ff7ef8c "HOME=/afs/eda/u/hines", length=21, fmt=FORMAT_OS)
    at alloc.c:2116
#3  0x1000d7a4 in build_ext_string (str=0x2ff7ef8c "HOME=/afs/eda/u/hines",
    fmt=FORMAT_OS) at alloc.c:2144
#4  0x1016e17c in init_callproc () at callproc.c:938
#5  0x10001dfc in main_1 (argc=1, argv=0x2ff7ed94, envp=0x2ff7ed9c)
    at emacs.c:1312
#6  0x10002d64 in main (argc=1, argv=0x2ff7ed94, envp=0x2ff7ed9c)
    at emacs.c:1757
#7  0x10000230 in __start ()
======================================================================

I haven't been a good beta tester for some time due to lack of time to
try betas out, I haven't been following the discussions very closely,
and I merely tried to compile and run this without any real indepth
investigation, so please forgive me if I've missed something obvious.

Besides, my mind is mush right now...time to go home...

I did try it with system malloc as well, and it died too.  I also
noticed this in b96, but didn't get a chance to report it.  I believe
that my b92 worked, which I think was the only one I compiled prior to
that (I might have tried b95 and had it die too, but honestly I don't
recall right now).

Anyone have any ideas?

Chuck

*******************************************************************************
Charles K. Hines <chuck_hines@vnet.ibm.com>
IBM Logic Synthesis Developer [BooleDozer (TM)]
Martial Arts Instructor [Modern Arnis, Presas Style Filipino Martial Arts]

         "Go back to sleep, Chuck.  You're just havin' a nightmare
             -- of course, we ARE still in Hell." (Gary Larson)
*******************************************************************************

