Which version of GCC are you using? There are known bugs that can
affect XEmacs in all of them. Looking through PROBLEMS might be
enlightening. GCC 2.7.2 requires -fno-strength-reduce -fno-caller-saves,
GCC 2.7.2.x requires -fno-caller-saves, etc.
Oh, I use GCC 2.7.2.3 ...
So I rebuilt XEmacs with -fno-caller-saves, but it seems not
changes. XEmacs still crashes. When I make optimize level
down to -O2 and then -O, it seems same.
I append "Installation" and GDB out put.
The next thing to check are library versions. You're using GNU
libc. Are the graphics libraries built against it? Do the libraries
(the .so's) match the include files?
I'll check them.
_/ Kazuo Oishi Yamaguchi Univ. _/_/
_/_/ oishi(a)ae.agr.yamaguchi-u.ac.jp _/
uname -a: Linux agenv4 2.0.34 #1 Sat Jul 4 11:01:03 JST 1998 i586 unknown
./configure '--cflags=-g -O3 -Wall -Wno-switch -fno-caller-saves'
'--with-mule' '--with-xim=no'
XEmacs 21.0 "Benadir" configured for `i586-pc-linux'.
Where should the build process find the source code?
/usr/local/src/xemacs/xemacs-21.0-b50
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 -O3 -Wall -Wno-switch
-fno-caller-saves
Should XEmacs use the GNU version of malloc? yes
(Using Doug Lea's new malloc from the GNU C Library.)
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
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for X-Face message 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 TIFF image conversion.
Compiling in native sound support.
Compiling in support for Berkeley DB.
Compiling in support for GNU DBM.
Compiling in support for ncurses.
Compiling in Mule (multi-lingual) support.
Compiling in support for Canna on Mule.
Compiling in support for proper session-management.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Compiling in DLL support.
movemail will use "dot-locking" for locking mail spool files.
Using Lisp_Objects with minimal tagbits.
This GDB was configured as "i586-pc-linux-gnu"...
Core was generated by `xemacs'.
Program terminated with signal 11, Segmentation fault.
find_solib: Can't read pathname for load map: Input/output error
#0 0x403ccd71 in ?? () from /lib/libc.so.6
(gdb) where
#0 0x403ccd71 in ?? () from /lib/libc.so.6
#1 0xbffff398 in ?? ()
#2 0x813232b in generate_display_line (w=0x86f5be8, dl=0x86c0378, bounds=1,
start_pos=1, start_col=0, prop=0xbffff640, type=1) at redisplay.c:715
#3 0x813858f in regenerate_window (w=0x86f5be8, start_pos=1, point=1, type=1)
at redisplay.c:4253
#4 0x8139f00 in redisplay_window (window=141515752, skip_selected=1)
at redisplay.c:5175
#5 0x813a24b in redisplay_windows (window=139275040, skip_selected=1)
at redisplay.c:5288
#6 0x81394e8 in redisplay_window (window=141515344, skip_selected=1)
at redisplay.c:4930
#7 0x813a390 in redisplay_frame (f=0x84d2a08, preemption_check=0)
at redisplay.c:5288
#8 0x813a4c0 in redisplay_device (d=0x83fc750) at redisplay.c:5498
#9 0x813a6be in redisplay_without_hooks () at redisplay.c:5614
#10 0x813a928 in redisplay () at redisplay.c:5682
#11 0x80dd048 in Fnext_event (event=139817876, prompt=137186908)
at event-stream.c:2238
#12 0x8090b8f in Fcommand_loop_1 () at cmdloop.c:570
#13 0x8090a26 in command_loop_1 (dummy=137186908) at cmdloop.c:494
#14 0x80a936b in condition_case_1 (handlers=137187020,
bfun=0x8090a10 <command_loop_1>, barg=137186908,
hfun=0x8090600 <cmd_error>, harg=137186908) at eval.c:1653
#15 0x8090dac in command_loop_2 (dummy=137186908) at cmdloop.c:256
#16 0x80a9159 in internal_catch (tag=137261588,
func=0x8090d70 <command_loop_2>, arg=137186908, threw=0x0) at eval.c:1328
#17 0x809084a in initial_command_loop (load_me=137186908) at cmdloop.c:305
#18 0x80a649b in xemacs_21_0_i586_pc_linux (argc=1, argv=0xbffffc0c,
envp=0xbffffc14, restart=0) at emacs.c:1702
#19 0x80a6bc1 in main (argc=1, argv=0xbffffc0c, envp=0xbffffc14)
at emacs.c:2119