On Wed, Feb 06, 2002 at 09:55:40AM -0800, Andy Piper wrote:
At 02:41 AM 2/7/02 +0900, Stephen J. Turnbull wrote:
>I think there's a pretty good chance there's something broken in
>cc-mode or font-lock here.
Unlikely since the behavior doesn't show up in 21.1 with the same versions
of cc-mode.
alright, you made me doubt, so i checked out the latest version of 21.1
with cvs, compiled it and ran it and got a crash before showing the
frame.
don't know exactly if it's my fault or not since i compiled it on
another machine and installed it in a second one, but all the librairies
are there and yesterday it worked for 21.6.
here is Installation:
uname -a: Linux westmalle 2.4.9-ac10 #1 Fri Sep 21 14:40:17 CEST 2001
i686 unknown
./configure '--with-dialogs=athena' '--with-mule'
'--prefix=/opt/xemacs' '--with-xpm' '--with-gif'
'--with-jpeg' '--with-tiff' '--with-png' '--with-x11'
XEmacs 21.1.14 "Cuyahoga Valley" configured for `i686-pc-linux'.
Where should the build process find the source code?
/opt/xemacs/src/xemacs-21.1
What installation prefix should install use? /opt/xemacs
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
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 PNG image handling.
Compiling in support for (builtin) GIF image handling.
Compiling in support for JPEG image handling.
Compiling in support for TIFF image handling.
Compiling in native sound support.
Compiling in support for ncurses.
Compiling in Mule (multi-lingual) support.
Compiling in XIM (X11R5+ I18N input method) support.
Using raw Xlib to provide XIM support.
Compiling in support for proper session-management.
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Compiling in DLL support.
movemail will use "dot-locking" for locking mail spool files.
Using Lisp_Objects with minimal tagbits.
here is the message when it brweaks:
Lisp backtrace follows:
# bind (frame-being-created)
make-frame(nil #<x-device on ":0.0" 0x221e>)
frame-initialize()
# bind (debugger debug-on-error command-line-args-left)
command-line()
# (unwind-protect ...)
normal-top-level()
# (condition-case ... . error)
# (catch top-level ...)
Segmentation fault (core dumped)
and here is the gdb session:
GNU gdb 5.1
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or 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.
This GDB was configured as "i386-linux"...
Core was generated by `./xemacs-21.1.14'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libgdkxft.so...done.
Loaded symbols for /usr/lib/libgdkxft.so
Reading symbols from /usr/X11R6/lib/libXaw.so.7...done.
Loaded symbols for /usr/X11R6/lib/libXaw.so.7
Reading symbols from /usr/lib/libtiff.so.3...done.
Loaded symbols for /usr/lib/libtiff.so.3
Reading symbols from /usr/lib/libpng.so.3...done.
Loaded symbols for /usr/lib/libpng.so.3
Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
Loaded symbols for /usr/X11R6/lib/libXpm.so.4
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXmu.so.6
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXt.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /usr/lib/libgtk-1.2.so.0...done.
Loaded symbols for /usr/lib/libgtk-1.2.so.0
Reading symbols from /usr/lib/libgdk-1.2.so.0...done.
Loaded symbols for /usr/lib/libgdk-1.2.so.0
Reading symbols from /usr/lib/libgmodule-1.2.so.0...done.
Loaded symbols for /usr/lib/libgmodule-1.2.so.0
Reading symbols from /usr/lib/libglib-1.2.so.0...done.
Loaded symbols for /usr/lib/libglib-1.2.so.0
Reading symbols from /usr/X11R6/lib/libXi.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXi.so.6
Reading symbols from /usr/X11R6/lib/libXft.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXft.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/X11R6/lib/libXrender.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.1
Reading symbols from /usr/lib/libfreetype.so.6...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
#0 0x4031b911 in kill () from /lib/libc.so.6
(gdb) where
#0 0x4031b911 in kill () from /lib/libc.so.6
#1 0x080a6b2b in fatal_error_signal (sig=11) at emacs.c:264
#2 0x4031b848 in sigaction () from /lib/libc.so.6
#3 0x4014a58b in XtInitializeWidgetClass () from /usr/X11R6/lib/libXt.so.6
#4 0x4014a746 in XtInitializeWidgetClass () from /usr/X11R6/lib/libXt.so.6
#5 0x4014b024 in _XtCreatePopupShell () from /usr/X11R6/lib/libXt.so.6
#6 0x4014b0b5 in XtCreatePopupShell () from /usr/X11R6/lib/libXt.so.6
#7 0x08167120 in x_create_widgets (f=0x8446908, lisp_window_id=137130708,
parent=137130708) at frame-x.c:1952
#8 0x081676a7 in x_init_frame_1 (f=0x8446908, props=137130708) at frame-x.c:2183
#9 0x080fdcc7 in Fmake_frame (props=137130708, device=138674456) at frame.c:383
#10 0x080aa0cb in funcall_recording_as (recorded_as=137227276, nargs=2, args=0xbfffeb44)
at eval.c:3197
#11 0x080ae373 in Ffuncall (nargs=3, args=0xbfffeb44) at eval.c:3238
#12 0x08088489 in Fbyte_code (bytestr=136307416, vector=136307508, maxdepth=11) at
bytecode.c:416
#13 0x080aad8b in funcall_lambda (fun=136307596, nargs=0, arg_vector=0xbfffee48) at
eval.c:3607
#14 0x080aa1c1 in funcall_recording_as (recorded_as=137851476, nargs=0, args=0xbfffee44)
at eval.c:3214
#15 0x080ae373 in Ffuncall (nargs=1, args=0xbfffee44) at eval.c:3238
#16 0x08088489 in Fbyte_code (bytestr=136452716, vector=136452884, maxdepth=9) at
bytecode.c:416
#17 0x080aad8b in funcall_lambda (fun=136453104, nargs=0, arg_vector=0xbffff248) at
eval.c:3607
#18 0x080aa1c1 in funcall_recording_as (recorded_as=137966860, nargs=0, args=0xbffff244)
at eval.c:3214
#19 0x080ae373 in Ffuncall (nargs=1, args=0xbffff244) at eval.c:3238
#20 0x08088489 in Fbyte_code (bytestr=136450340, vector=136450600, maxdepth=13) at
bytecode.c:416
#21 0x080aad8b in funcall_lambda (fun=136451148, nargs=0, arg_vector=0xbffff324) at
eval.c:3607
#22 0x080aa93d in apply_lambda (fun=136451148, numargs=0, unevalled_args=137130708) at
eval.c:3511
#23 0x080a9bbe in Feval (form=137826536) at eval.c:3085
#24 0x080ae022 in condition_case_1 (handlers=137130820, bfun=0x80a929c <Feval>,
barg=137826536, hfun=0x8090f84 <cmd_error>, harg=137130708) at eval.c:1653
#25 0x0809100f in top_level_1 (dummy=137130708) at cmdloop.c:206
#26 0x080adef4 in internal_catch (tag=137205388, func=0x8090fe0<top_level_1>,
arg=137130708, threw=0x0) at eval.c:1328
#27 0x0809091a in initial_command_loop (load_me=137130708) at cmdloop.c:285
#28 0x080a54ae in xemacs_21_1_14_i686_pc_linux () at emacs.c:1725
#29 0x080a6d50 in main (argc=1, argv=0xbffff7c4, envp=0xbffff7cc) at emacs.c:2142
#30 0x4030b65f in __libc_start_main () from /lib/libc.so.6
hope it helps. once again, it might be related to compiling on a
different machine.
--
# Stef Epardaud, # Teachers have potentially more power than military,
# Java Defeater # the former can teach us how to not need the latter.
# Earth # Lunatech Research,
# Solar System # soon we'll quit researching and start finding...