Hi,
xemacs b46 was core-dumped when doing following operations:
% xemacs -q
C-x C-f ~/test.c RET (open new file in cc-mode)
M-; M-; (press indent-for-comment twice)
------------
uname -a: SunOS festiva 5.5.1 Generic_103640-08 sun4u sparc SUNW,Ultra-30
./configure '--with-x' '--x-includes=/usr/X11R6/include'
'--x-libraries=/usr/X11R6/lib' '--with-gcc' '--dynamic=yes'
'--cflags=-g -O6' '--prefix=/usr/local' '--with-sound=native'
'--native-sound-lib=/usr/demo/SOUND/lib/libaudio.a' '--with-mule'
'--with-xface' '--with-xpm' '--with-jpeg' '--with-png'
'--with-gif' '--debug=yes' '--with-site-lisp=no'
'--site-prefixes=/usr/local /usr/local/canna /usr/local/wnn6'
'--with-wnn6' '--with-canna' '--with-menubars=lucid'
'--with-scrollbars=athena3d' '--with-dialogs=athena3d'
'--with-xfs' '--with-offix=yes' '--with-xim=no'
XEmacs 21.0 "Toggenburg" configured for `sparc-sun-solaris2.5.1'.
Where should the build process find the source code?
/usr/local/src/xemacs/xemacs-21.0-b46
What installation prefix should install use? /usr/local
What operating system and machine description files should XEmacs use?
`s/sol2.h' and `m/sparc.h'
What compiler should XEmacs be built with? gcc -g -O6
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/dt/include
/usr/X11R6/include
Where do we find X Windows libraries? /usr/dt/lib /usr/X11R6/lib
Additional prefixes: /usr/local /usr/local/canna
/usr/local/wnn6
Runtime library search path:
/usr/local/lib:/usr/local/canna/lib:/usr/dt/lib:/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 Mule (multi-lingual) support.
Using XFontSet to provide bilingual menubar.
Compiling in support for Canna on Mule.
Compiling in support for the WNN input method on Mule.
Using WNN version 6.
Compiling in support for ToolTalk.
Compiling in support for OffiX.
Compiling in EXPERIMENTAL support for Drag'n'Drop ( OffiX ).
Compiling in support for proper session-management.
Using Lucid menubars.
Using Athena-3d scrollbars.
Using Athena-3d dialog boxes.
Compiling in DLL support.
movemail will use "dot-locking" for locking mail spool files.
Compiling in extra code for debugging.
Compiling in code for checking XEmacs memory usage.
-- core dump message -----------------------------------------------------
Fatal error (11).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.
Please report this bug by running the send-pr script included
with XEmacs, or selecting `Send Bug Report' from the help menu.
As a last resort send ordinary email to `crashes(a)xemacs.org'.
*MAKE SURE* to include the information in the command
M-x describe-installation.
If at all possible, *please* try to obtain a C stack backtrace;
it will help us immensely in determining what went wrong.
To do this, locate the core file that was produced as a result
of this crash (it's usually called `core' and is located in the
directory in which you started the editor, or maybe in your home
directory), and type
gdb /usr/local/bin/xemacs core
then type `where' when the debugger prompt comes up.
(If you don't have GDB on your system, you might have DBX,
or XDB, or SDB. A similar procedure should work for all of
these. Ask your system administrator if you need more help.)
Lisp backtrace follows:
skip-syntax-backward(" " 5)
# bind (begpos indent cpos eolpos ender starter empty)
#<compiled-function nil "...(226)" [0 looking-at "[ ]*$" empty
block-comment-start comment-start starter block-comment-end comment-end ender error
"No comment syntax defined" nil eolpos cpos indent begpos re-search-forward
comment-start-skip move point-marker 1 skip-syntax-backward " " "^ "
comment-indent-function " "] 5 784784 "*">()
# bind (command-debug-status)
call-interactively(indent-for-comment)
# (condition-case ... . error)
# (catch top-level ...)
zsh: 26031 segmentation fault (core dumped) xemacs -q
----------------------------------------------------------------
(gdb) where
#0 0x6f87452c in kill ()
#1 0x811fc in fatal_error_signal (sig=11) at emacs.c:262
#2 <signal handler called>
#3 bufpos_to_bytind_func (buf=0xb, x=0) at insdel.c:581
#4 0x14a35c in skip_chars (buf=0x5b3400, forwardp=0, syntaxp=1, string=32, lim=5)
at buffer.h:985
#5 0x14ea78 in Fskip_syntax_backward (syntax=1613246968, lim=5, buffer=-1607159804)
at search.c:941
#6 0x85dcc in funcall_recording_as (recorded_as=-1607050348, nargs=2,
args=0xefffe690) at eval.c:3193
#7 0x8a024 in Ffuncall (nargs=3, args=0xefffe690) at eval.c:3238
#8 0x5c658 in Fbyte_code (bytestr=1613246556, vector=-2144849588, maxdepth=3247104)
at bytecode.c:416
#9 0x87114 in funcall_lambda (fun=539505192, nargs=0, arg_vector=0xefffe9a0)
at eval.c:3597
#10 0x86158 in funcall_recording_as (recorded_as=-1606455948, nargs=0,
args=0xefffe99c) at eval.c:3214
#11 0x5e300 in Fcall_interactively (function=-1606455948, record_flag=-1607159804,
keys=-1607159804) at callint.c:528
#12 0x848a8 in Fcommand_execute (cmd=-1606455948, record=-1607159804,
keys=-1607159804) at eval.c:2584
#13 0xc70ec in execute_command_event (command_builder=0x3b9f80, event=542262180)
at event-stream.c:4346
#14 0xc77a4 in Fdispatch_event (event=542262180) at event-stream.c:4637
#15 0x66290 in Fcommand_loop_1 () at cmdloop.c:579
#16 0x664c8 in command_loop_1 (dummy=-1607159804) at cmdloop.c:494
#17 0x82b80 in condition_case_1 (handlers=-1607159708,
bfun=0x664a4 <command_loop_1>, barg=-1607159804, hfun=0x6652c <cmd_error>,
harg=-1607159804) at eval.c:1653
#18 0x66640 in command_loop_2 (dummy=-1607159804) at cmdloop.c:256
#19 0x89d34 in internal_catch (tag=-1607081860, func=0x665f4 <command_loop_2>,
arg=-1607159804, threw=0x0) at eval.c:1328
#20 0x65d68 in initial_command_loop (load_me=419316) at cmdloop.c:305
#21 0x7fb00 in xemacs_21_0_sparc_sun_solaris2_5_1 (argc=2, argv=0xeffff15c,
envp=0xeffff168, restart=3232100) at emacs.c:1702
#22 0x813e0 in main (argc=0, argv=0xeffff15c, envp=0xeffff168) at emacs.c:2119