From xemacs-m  Sat Dec 28 11:08:47 1996
Received: from sol1.cybernet-ag.net (sol1.cybernet-ag.net [194.221.86.98])
          by xemacs.cs.uiuc.edu (8.8.4/8.8.4) with ESMTP
	  id LAA05409 for <xemacs-beta@xemacs.org>; Sat, 28 Dec 1996 11:08:34 -0600 (CST)
Received: (from aseibert@localhost) by sol1.cybernet-ag.net  id SAA23256; Sat, 28 Dec 1996 18:08:01 +0100 (MET)
Date: Sat, 28 Dec 1996 18:08:01 +0100 (MET)
Message-Id: <199612281708.SAA23256@sol1.cybernet-ag.net>
From: Axel Seibert <aseibert@cybernet-ag.net>
To: xemacs-beta@xemacs.org
In-reply-to: <199612281410.GAA04830@xemacs.eng.sun.com> (message from Martin
	Buchholz on Sat, 28 Dec 1996 06:10:35 -0800)
Subject: Re: gcc + no optimization = crash

>>>>> "Martin" == Martin Buchholz <mrb@Eng.Sun.COM> writes:

Martin> I noticed while figuring out how to build XEmacs with gcc on
Martin> Solaris, that when built without optimization it crashes
Martin> repeatably in loadup.el like this:

Martin> Loading derived... (4296) Loading minibuf... (23772) Loading
Martin> list-mode... (9128) Loading modeline... (4736)Bus Error - core
Martin> dumped

Under NEXTSTEP doing a make all-elc
results in the following (sorry. a rather long list follows; but I
have no clue as to what could be useful for the initiated :-)

./temacs -batch -l ../prim/update-elc.el [with a bunch of .elc-files
following] 
Loading ../prim/update-elc.el...
Loading loadup-el.el...
Loading loadup.el...
Using load-path (/usr/local/src/xemacs-19.15-b5/src/../lisp/prim)
Loading backquote.el...
Loading bytecomp-runtime.el...
[...]
Loading fontl-hooks.el...
Loading auto-show.el...

Bootstrapping from temacs...
Purespace usage: 37024 of 594000 (6% -- 543k wasted).
                           total:   bytes:
   cons cells:                45      360   1%
   float objects:              0        0   0%
   symbol-name strings:     1832    38236  103%
   compiled-function objects:    0        0   0%
   byte-code strings:          0        0   0%
   byte-constant vectors:      0        0   0%
   interactive strings:        0        0   0%
   documentation strings:      0        0   0%
   other function strings:     0        0   0%
   other vectors:              0        0   0%
   other strings:            -79    -1572  -3%
   all strings:             1753    36664  99%
   all vectors:                0        0   0%

Impurities:
   conses used:                     90883
   conses free:                      3000
   cons storage:                   758324
   symbols used:                     6392
   symbol storage:                 156156
   vectors used:                      470
   vectors total length:            43338
   vector storage:                 180872
   short strings used:              12854
   strings free:                     2945
   short strings total length:     781463
   short string storage:           901120
   string header storage:          191760
   floats used:                        10
   floats free:                         3
   float storage:                    2040
   markers used:                       34
   markers free:                      106
   marker storage:                   4072
   extents used:                       15
   extents free:                        1
   extent storage:                   2040
   symbol value lisp magics used:      23
   symbol value lisp magic storage:  1564
   symbol value varaliases used:       42
   symbol value varalias storage:    1008
   opaque lists used:                   2
   opaque list storage:                48
   opaques used:                        4
   opaque storage:                     96
   color instances used:                1
   color instance storage:             24
   font instances used:                 1
   font instance storage:              34
   range tables used:                   1
   range table storage:                16
   faces used:                         23
   face storage:                     1702
   glyphs used:                        15
   glyph storage:                     600
   specifiers used:                   308
   specifier storage:               17204
   weak lists used:                   308
   weak list storage:                7392
   buffers used:                        6
   buffer storage:                   1656
   extent infos used:                   4
   extent info storage:                80
   consoles used:                       3
   console storage:                   294
   command builders used:               1
   command builder storage:            56
   keymaps used:                      124
   keymap storage:                   5456
   devices used:                        1
   device storage:                    168
   frames used:                         1
   frame storage:                     116
   windows used:                        2
   window storage:                    516
   lcrecord lists used:                13
   lcrecord list storage:             312
   hashtables used:                   305
   hashtable storage:               12200
   streams used:                        4
   streams on free list:                2
   stream storage:                    392
sh: 3878 Bus error
*** Exit 138

Martin> The backtrace in gdb shows that it's in the middle of garbage
Martin> collection, and I don't know how to track this down further.

Give me some hints as well please...

Axel

