From xemacs-m  Fri Feb 28 00:55:15 1997
Received: from herald.cc.purdue.edu (herald.cc.purdue.edu [128.210.11.29])
	by xemacs.org (8.8.5/8.8.5) with SMTP id AAA21314
	for <xemacs-beta@xemacs.org>; Fri, 28 Feb 1997 00:55:13 -0600 (CST)
Received: from ppp-x8-33.ecn.purdue.edu by herald.cc.purdue.edu; Fri, 28 Feb 97 01:54:55 -0500
Received: (from somasekh@localhost) by ppp-x8-33.ecn.purdue.edu (8.8.4/8.6.12) id BAA10282; Fri, 28 Feb 1997 01:53:16 -0500
Date: Fri, 28 Feb 1997 01:53:16 -0500
Message-Id: <199702280653.BAA10282@ppp-x8-33.ecn.purdue.edu>
From: Dinesh Somasekhar <somasekh@ecn.purdue.edu>
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="+UI1RrLysvRoh6NWtWB2A3dedth8vCQtWZjoEvax"
Content-Transfer-Encoding: 7bit
To: XEmacs-Beta Listserv <xemacs-beta@xemacs.org>
Subject: xemacs-20.1-b3, linux 2.1.26, glibc-2.0
Reply-To: somasekh@ecn.purdue.edu
X-URL: http://albrecht.ecn.purdue.edu/~somasekh
X-Organization: Purdue University
X-face:  57,u^#nsk>2N2INb(Afe~^~B}j[t7+B)>u]%DYS:\XA8yL6?[*<0"yBBb@*u/e@K#F6?Fi5
 WB?GMJvJPt$5W0bRNZ{dH%ybQO%$]M)b~_G[!*0"[82&2t[3o{EQB87/0J@AtN6@cz1zM_FD1~{maV
 ;qd6T/s(+&j&QJ"zv5'GQU%10P\R)}aW1xq3(;U<M}8W^~Y:4M9cnj"M+R9_FKM%E[HEyle7['_!|i
 (



--+UI1RrLysvRoh6NWtWB2A3dedth8vCQtWZjoEvax
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

 20.1-b3 compiled after following edits

 src/s/linux.h added #define __LDBL_UNION__ 

 Had to define -D_GNU_SOURCE externally to compile floatfns.c

 xemacs crashes in regexp.c if compiled with --use-system-malloc. trace
 attached


--+UI1RrLysvRoh6NWtWB2A3dedth8vCQtWZjoEvax
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.14 (i486-slackware-linux), 
Copyright 1995 Free Software Foundation, Inc...
(gdb) run
Starting program: /home/local/src/xemacs-20.1-b3/src/xemacs 
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: 7bit

Program received signal SIGSEGV, Segmentation fault.
0x40280363 in status ()
(gdb) where
#0  0x40280363 in status ()
#1  0x40293f38 in status ()
#2  0x402802ce in status ()
#3  0x811da63 in regex_compile (
    pattern=0x8273198 "\\`\\*?[-?*][^-]*[-?][^-]*[-?]\\([^-]*\\)[-?]\\([^-]?\\)[-?]\\([^-]*\\)[-?]\\([^-]*\\)[-?]\\(\\*\\|[0-9]+\\)[-?]\\(\\*\\|0\\|[0-9][0-9]+\\)[-?]\\([*0]\\|[0-9][0-9]+\\)[-?]\\([*0]\\|[0-9][0-9]+\\)[-?][cmp?*][-?]\\(\\*\\|[0-9]+\\)["..., size=219, syntax=262144, bufp=0x82af88c) at regex.c:2181
#4  0x81250e7 in sys_re_compile_pattern (
    pattern=0x8273198 "\\`\\*?[-?*][^-]*[-?][^-]*[-?]\\([^-]*\\)[-?]\\([^-]?\\)[-?]\\([^-]*\\)[-?]\\([^-]*\\)[-?]\\(\\*\\|[0-9]+\\)[-?]\\(\\*\\|0\\|[0-9][0-9]+\\)[-?]\\([*0]\\|[0-9][0-9]+\\)[-?]\\([*0]\\|[0-9][0-9]+\\)[-?][cmp?*][-?]\\(\\*\\|[0-9]+\\)["..., length=219, bufp=0x82af88c) at regex.c:5838
#5  0x81270a4 in compile_pattern_1 (cp=0x82af884, pattern=942092684, 
    translate=0x82b85b4 "", regp=0x828961c, posix=0, errb={
      really_unlikely_name_to_have_accidentally_in_a_non_errb_structure = 666})
    at search.c:145
#6  0x812716e in compile_pattern (pattern=942092684, regp=0x828961c, 
    translate=0x82b85b4 "", posix=0, errb={
      really_unlikely_name_to_have_accidentally_in_a_non_errb_structure = 666})
    at search.c:186
#7  0x81276b1 in string_match_1 (regexp=942092684, string=943177712, 
    start=405510572, buf=0x82e3458, posix=0) at search.c:385
#8  0x81277a8 in Fstring_match (regexp=942092684, string=943177712, 
    start=405510572, buffer=405510572) at search.c:416
#9  0x808add1 in primitive_funcall (fn=0x8127780 <Fstring_match>, nargs=4, 
    args=0xbfffd31c) at eval.c:3459
#10 0x808af98 in funcall_subr (subr=0x827ddd4, args=0xbfffd31c) at eval.c:3481
#11 0x808a590 in funcall_recording_as (recorded_as=405612452, nargs=3, 
    args=0xbfffd474) at eval.c:3173
#12 0x808a673 in Ffuncall (nargs=3, args=0xbfffd474) at eval.c:3217
#13 0x8061ba6 in Fbyte_code (bytestr=942093560, vector=1210529092, maxdepth=5)
    at bytecode.c:418
#14 0x808b388 in funcall_lambda (fun=405222776, nargs=2, arg_vector=0xbfffd600)
    at eval.c:3591
#15 0x808a62e in funcall_recording_as (recorded_as=406164716, nargs=3, 
    args=0xbfffd5fc) at eval.c:3189
#16 0x808a673 in Ffuncall (nargs=3, args=0xbfffd5fc) at eval.c:3217
#17 0x8061ba6 in Fbyte_code (bytestr=942094128, vector=1210529624, maxdepth=4)
---Type <return> to continue, or q <return> to quit--- 
    at bytecode.c:418
#18 0x808b388 in funcall_lambda (fun=405223312, nargs=2, arg_vector=0xbfffd80c)
    at eval.c:3591
#19 0x808a62e in funcall_recording_as (recorded_as=405986604, nargs=3, 
    args=0xbfffd808) at eval.c:3189
#20 0x808a673 in Ffuncall (nargs=3, args=0xbfffd808) at eval.c:3217
#21 0x8061ba6 in Fbyte_code (bytestr=941642836, vector=1210078368, maxdepth=5)
    at bytecode.c:418
#22 0x808b388 in funcall_lambda (fun=404772048, nargs=4, arg_vector=0xbfffd944)
    at eval.c:3591
#23 0x808a62e in funcall_recording_as (recorded_as=405986212, nargs=5, 
    args=0xbfffd940) at eval.c:3189
#24 0x808a673 in Ffuncall (nargs=5, args=0xbfffd940) at eval.c:3217
#25 0x8061ba6 in Fbyte_code (bytestr=941642056, vector=1210077532, maxdepth=5)
    at bytecode.c:418
#26 0x808b388 in funcall_lambda (fun=404771188, nargs=1, arg_vector=0xbfffda5c)
    at eval.c:3591
#27 0x808a62e in funcall_recording_as (recorded_as=404771188, nargs=2, 
    args=0xbfffda58) at eval.c:3189
#28 0x808a673 in Ffuncall (nargs=2, args=0xbfffda58) at eval.c:3217
#29 0x808bc5f in call1 (fn=404771188, arg0=406495160) at eval.c:3938
#30 0x80c5bcc in mapcar1 (leni=2, vals=0xbfffdacc, fn=404771188, seq=674794020)
    at fns.c:3219
#31 0x80c5d3f in Fmapcar (fn=404771188, seq=674794020) at fns.c:3270
#32 0x808ad99 in primitive_funcall (fn=0x80c5cf0 <Fmapcar>, nargs=2, 
    args=0xbfffdc3c) at eval.c:3457
#33 0x808af98 in funcall_subr (subr=0x81e2204, args=0xbfffdc3c) at eval.c:3481
#34 0x808a590 in funcall_recording_as (recorded_as=405599852, nargs=3, 
    args=0xbfffdc38) at eval.c:3173
#35 0x808a673 in Ffuncall (nargs=3, args=0xbfffdc38) at eval.c:3217
#36 0x8061ba6 in Fbyte_code (bytestr=941642268, vector=1210077784, maxdepth=6)
    at bytecode.c:418
#37 0x808b388 in funcall_lambda (fun=404771480, nargs=4, arg_vector=0xbfffddf8)
    at eval.c:3591
#38 0x808a62e in funcall_recording_as (recorded_as=404771480, nargs=5, 
    args=0xbfffddf4) at eval.c:3189
#39 0x808a673 in Ffuncall (nargs=5, args=0xbfffddf4) at eval.c:3217
#40 0x8061ba6 in Fbyte_code (bytestr=941630844, vector=1210066352, maxdepth=5)
    at bytecode.c:418
---Type <return> to continue, or q <return> to quit---
#41 0x808b388 in funcall_lambda (fun=404760024, nargs=4, arg_vector=0xbfffe0a4)
    at eval.c:3591
#42 0x808a62e in funcall_recording_as (recorded_as=405965380, nargs=5, 
    args=0xbfffe0a0) at eval.c:3189
#43 0x808a673 in Ffuncall (nargs=5, args=0xbfffe0a0) at eval.c:3217
#44 0x8061ba6 in Fbyte_code (bytestr=941642464, vector=1210078036, maxdepth=6)
    at bytecode.c:418
#45 0x808b388 in funcall_lambda (fun=404771816, nargs=4, arg_vector=0xbfffe1e0)
    at eval.c:3591
#46 0x808a62e in funcall_recording_as (recorded_as=405986164, nargs=5, 
    args=0xbfffe1dc) at eval.c:3189
#47 0x808a673 in Ffuncall (nargs=5, args=0xbfffe1dc) at eval.c:3217
#48 0x8061ba6 in Fbyte_code (bytestr=941643888, vector=1210079364, maxdepth=5)
    at bytecode.c:418
#49 0x808b388 in funcall_lambda (fun=404773020, nargs=0, arg_vector=0xbfffe5d8)
    at eval.c:3591
#50 0x808a62e in funcall_recording_as (recorded_as=404773020, nargs=1, 
    args=0xbfffe5d4) at eval.c:3189
#51 0x808a673 in Ffuncall (nargs=1, args=0xbfffe5d4) at eval.c:3217
#52 0x8061ba6 in Fbyte_code (bytestr=941643328, vector=1210078980, maxdepth=6)
    at bytecode.c:418
#53 0x808b388 in funcall_lambda (fun=404772796, nargs=7, arg_vector=0xbfffe724)
    at eval.c:3591
#54 0x808a62e in funcall_recording_as (recorded_as=405986316, nargs=8, 
    args=0xbfffe720) at eval.c:3189
#55 0x808a673 in Ffuncall (nargs=8, args=0xbfffe720) at eval.c:3217
#56 0x8061ba6 in Fbyte_code (bytestr=941643988, vector=1210079536, maxdepth=8)
    at bytecode.c:418
#57 0x808b388 in funcall_lambda (fun=404773316, nargs=2, arg_vector=0xbfffe9b4)
    at eval.c:3591
#58 0x808a62e in funcall_recording_as (recorded_as=405986580, nargs=3, 
    args=0xbfffe9b0) at eval.c:3189
#59 0x808a673 in Ffuncall (nargs=3, args=0xbfffe9b0) at eval.c:3217
#60 0x8061ba6 in Fbyte_code (bytestr=941648772, vector=1210084332, maxdepth=4)
    at bytecode.c:418
#61 0x808b388 in funcall_lambda (fun=404778032, nargs=0, arg_vector=0xbfffeafc)
    at eval.c:3591
#62 0x808a62e in funcall_recording_as (recorded_as=405595972, nargs=1, 
    args=0xbfffeaf8) at eval.c:3189
---Type <return> to continue, or q <return> to quit---
#63 0x808a673 in Ffuncall (nargs=1, args=0xbfffeaf8) at eval.c:3217
#64 0x808831d in Fcall_with_condition_handler (nargs=2, args=0xbfffeaf4)
    at eval.c:1789
#65 0x808c31f in call0_with_handler (handler=405584164, fn=405595972)
    at eval.c:4229
#66 0x80797dc in call_critical_lisp_code (d=0x83a9fb8, function=405595972, 
    object=405510572) at device.c:1033
#67 0x80b13ca in init_global_faces (d=0x83a9fb8) at faces.c:907
#68 0x8077c9d in init_global_resources (d=0x83a9fb8) at device.c:374
#69 0x8078421 in Fmake_device (type=405604844, connection=405510572, 
    props=405510572) at device.c:594
#70 0x808adad in primitive_funcall (fn=0x80780e0 <Fmake_device>, nargs=3, 
    args=0xbfffebe0) at eval.c:3458
#71 0x808af98 in funcall_subr (subr=0x81def50, args=0xbfffebe0) at eval.c:3481
#72 0x808a590 in funcall_recording_as (recorded_as=405587924, nargs=3, 
    args=0xbfffec54) at eval.c:3173
#73 0x808a673 in Ffuncall (nargs=3, args=0xbfffec54) at eval.c:3217
#74 0x8061ba6 in Fbyte_code (bytestr=941618480, vector=1210053956, maxdepth=3)
    at bytecode.c:418
#75 0x808b388 in funcall_lambda (fun=404747604, nargs=1, arg_vector=0xbfffedc8)
    at eval.c:3591
#76 0x808a62e in funcall_recording_as (recorded_as=405922876, nargs=2, 
    args=0xbfffedc4) at eval.c:3189
#77 0x808a673 in Ffuncall (nargs=2, args=0xbfffedc4) at eval.c:3217
#78 0x8061ba6 in Fbyte_code (bytestr=942118008, vector=1210553500, maxdepth=2)
    at bytecode.c:418
#79 0x808b388 in funcall_lambda (fun=405247168, nargs=0, arg_vector=0xbffff074)
    at eval.c:3591
#80 0x808a62e in funcall_recording_as (recorded_as=406149868, nargs=1, 
    args=0xbffff070) at eval.c:3189
#81 0x808a673 in Ffuncall (nargs=1, args=0xbffff070) at eval.c:3217
#82 0x8061ba6 in Fbyte_code (bytestr=941974364, vector=1210409936, maxdepth=4)
    at bytecode.c:418
#83 0x808b388 in funcall_lambda (fun=405103764, nargs=0, arg_vector=0xbffff28c)
    at eval.c:3591
#84 0x808a62e in funcall_recording_as (recorded_as=406207460, nargs=1, 
    args=0xbffff288) at eval.c:3189
#85 0x808a673 in Ffuncall (nargs=1, args=0xbffff288) at eval.c:3217
#86 0x8061ba6 in Fbyte_code (bytestr=941973052, vector=1210408588, maxdepth=4)
---Type <return> to continue, or q <return> to quit---
    at bytecode.c:418
#87 0x808b388 in funcall_lambda (fun=405102524, nargs=0, arg_vector=0xbffff330)
    at eval.c:3591
#88 0x808b05b in apply_lambda (fun=405102524, numargs=0, 
    unevalled_args=405510572) at eval.c:3514
#89 0x808a309 in Feval (form=674827724) at eval.c:3051
#90 0x80880bb in condition_case_1 (handlers=405510668, bfun=0x8089b30 <Feval>, 
    barg=674827724, hfun=0x80693b0 <cmd_error>, harg=405510572) at eval.c:1647
#91 0x8069439 in top_level_1 (dummy=405510572) at cmdloop.c:192
#92 0x8087c89 in internal_catch (tag=405584188, func=0x8069410 <top_level_1>, 
    arg=405510572, threw=0x0) at eval.c:1324
#93 0x806950d in initial_command_loop (load_me=405510572) at cmdloop.c:251
#94 0x8085380 in sort_args (argc=1, argv=0xbffff6a0) at emacs.c:1474
#95 0x8085a79 in main (argc=1, argv=0xbffff6a0, envp=0xbffff6a8)
    at emacs.c:1825
(gdb) quit
The program is running.  Quit anyway (and kill it)? (y or n) y

--+UI1RrLysvRoh6NWtWB2A3dedth8vCQtWZjoEvax
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


 Removing --use-system-malloc gets it working. Haven't seen any problems
 except some sudden slowdowns at times ( stops responding to keystrokes for
 quite a few seconds ).

./configure i586-unknown-linux -with-gcc --with-gcc  --cflags='-g -O2 -m486' --with-dialogs=athena --with-xpm --with-xface --with-gif --with-jpeg --with-png

Configured for `i586-unknown-linux'.

  Where should the build process find the source code?    /usr/local/src/xemacs-20.1-b3
  What installation prefix should install use?		  /usr/local
  What operating system and machine description files should XEmacs use?
        `s/linux.h' and `m/intel386.h'
  What compiler should XEmacs be built with?              gcc -g -O2 -m486
  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/X11R6/include
  Where do we find X Windows libraries?                   /usr/X11R6/lib
  Finding WNN includes with:                              
  Loading WNN libs with:                                  
  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 Berkeley DB.
  Using the Lucid menubar.
  Using the Lucid scrollbar.
  Using the Athena dialog boxes.
  Compiling in extra code for debugging.
  Compiling in code for checking XEmacs memory usage.

--
Dinesh Somasekhar
--+UI1RrLysvRoh6NWtWB2A3dedth8vCQtWZjoEvax--

