[Bug: 21.5-b17] Crash while font-locking again
Holger Schauer
Holger.Schauer at gmx.de
Fri Oct 15 03:06:16 EDT 2004
Hello XEmacs developers,
as reported several times earlier (last time in August or September, I
think) I experience core dumps with font-lock, however, only on
certain files. I thought lazy-shot might be the culprit, but it
isn't. I seem to remember that the same problem also occurs with 21.4
(at least with 21.4.6 that's shipped with Debian woody which is the OS
I'm working on). The problem is really annoying as it causes core
dumps nearly every time I'm using font-lock in perl-mode e.g.
My main problem (and probably that's the reason I received no answer
on my last mail) was that I wasn't able to get a reasonable backtrace
from the core file, regardless of whether I was compiling with -debug
or -cflags="-g" or not.
I finally tried running XEmacs from within gdb and that finally gave
me a backtrace, see below. On request I could also recompile with
-cflags="-g" (i.e. without optimization). I could also provide an
example perl file which triggers the problem for me.
Hope that helps,
Holger
#0 0x4025e781 in kill () from /lib/libc.so.6
#1 0x4025e464 in raise () from /lib/libc.so.6
#2 0x4025fbe1 in abort () from /lib/libc.so.6
#3 0x080e16cf in really_abort () at emacs.c:4365
#4 0x080e1427 in assert_failed (file=0x835d454 "marker.c", line=325,
expr=0x835c100 "RECORD_TYPEP (obj, lrecord_type_marker)") at emacs.c:3701
#5 0x081c7a6c in byte_marker_position (marker=1077510728) at lisp.h:2369
#6 0x0826014a in signal_syntax_table_extent_changed (extent=0x937179c)
at syntax.c:420
#7 0x0811abb7 in signal_single_extent_changed (extent=0x937179c,
property=1077465392, old_start=0, old_end=0) at extents.c:1776
#8 0x0811ad47 in signal_extent_changed (extent=0x937179c,
property=1077465392, old_start=0, old_end=0, descendants_too=1)
at extents.c:1817
#9 0x08126101 in Fset_extent_property (extent=154605468, property=1077465392,
value=145331572) at extents.c:1824
#10 0x0812dd65 in put_text_prop (start=3227, end=3228, object=153351168,
prop=1077465392, value=145331572, duplicable_p=1) at extents.c:6904
#11 0x0812fca9 in Fput_text_property (start=6455, end=6457, prop=1077465392,
value=145331572, object=1077510728) at extents.c:6947
#12 0x080e8859 in Ffuncall (nargs=5, args=0xbfffeaf8) at eval.c:3842
#13 0x0809f7ee in execute_optimized_program (
program=0x92ca5d0 "\016\021\203\210", stack_depth=6,
constants_data=0x8fa7630) at bytecode.c:646
#14 0x080e8c99 in Ffuncall (nargs=4, args=0xbfffebf8) at eval.c:3452
#15 0x0809f7ee in execute_optimized_program (
program=0x92bd450 "\016T¬\ve\026TÆ\026X\016T\026e\016L¬\004d\026LÆ\211\0366\036]Æ\211\036c\035Æ\211\034\036@Æ\211\036U\036YÆ\211\036A\036DÆ\211\036F\036CÆ\211\036N\036ZÆ\211\036P\036^Æ\211\036Q\036[Æ\211\036_\036`Æ\036\\Ç\016R!\036RÆ\211\036d\036VÆ\036mÈ\211\036n\036oÉ \036pÆ\036q\016X\a\016T\016X at Y\211\036f«\006\016X@ª\002e\036G\016f\004\016XA\030ÆC\036gÆC\036HÊË!«\005\016\vª\002Ë\036\vÊÌ!«\005\016\fª\002Ì\036\fÊÍ!«\005\016\rª\002Í\036\rÊÎ!«\005\016\016ª\002Î\036\016ÊÏ!"..., stack_depth=16, constants_data=0x95c1008) at bytecode.c:646
#16 0x080e8c99 in Ffuncall (nargs=6, args=0xbfffed28) at eval.c:3452
#17 0x0809f7ee in execute_optimized_program (
program=0x8737f40 "Æ`\f\n@\031\030\036\017\035\016\020«\006ÇÈ\f\"\024`\025\v¬\003e\023ÉÊ!«\005ËÊ!\210\v\r^\025\f\rV«\016\r\211\023«\tÌ\r\fÈÆÈ%\210\016\021Ía«\017ÍÎ\016\017\b\r\f\v\t\n@&\b\210,Æ\207", stack_depth=9,
constants_data=0x903e450) at bytecode.c:646
#18 0x080e8c99 in Ffuncall (nargs=2, args=0xbfffee38) at eval.c:3452
#19 0x0809f7ee in execute_optimized_program (
program=0x8737ec8 "\r9«\005Æ\r!\025\r@Ça¬\005È\r!\025\016\r\rAÉ\211\211\034\e\031\032\036\016\nA\n@\211\021@\023\016\017b\210\v;«\bÊ\v\bÇ#ª\004\v\b!« \tA\211\024«ë\f@@§«\bË\f@!\210ª\aÌ\f@\b\"\210\fA\211\024ªæ\nA\211\022¬ÂÉ-\207i",
stack_depth=6, constants_data=0x8906318) at bytecode.c:646
#20 0x080e8c99 in Ffuncall (nargs=3, args=0xbfffef38) at eval.c:3452
#21 0x0809f7ee in execute_optimized_program (
program=0x8737df0 "Æ Ç\211È É\211\031\030\036\020\036\021\036\022\036\023Ê\216\v«\005Ë\v!\210Ì\r\f\"\210\016\024«\006Í\r\f\"\210\016\025¬\aÎ\r\f\n#\210Ï\r\f\n#.\a\207", stack_depth=6, constants_data=0x894ab38) at bytecode.c:646
#22 0x080e8c99 in Ffuncall (nargs=4, args=0xbffff038) at eval.c:3452
#23 0x0809f7ee in execute_optimized_program (
program=0x8737dd0 "\v\n\t\b#\207", stack_depth=4, constants_data=0x89906f8)
at bytecode.c:646
#24 0x080e8c99 in Ffuncall (nargs=3, args=0xbffff138) at eval.c:3452
#25 0x0809f7ee in execute_optimized_program (
program=0x92b0260 "\212\vq\210\rb\210Æ \025\fb\210ÆÇ!\024È\r\f\"\210\n«\fÉÊËÌ\t\r\f\v%\"\210Í \030Î\216Ï\r\f\"+\207", stack_depth=8,
constants_data=0x91cb748) at bytecode.c:646
#26 0x080e8c99 in Ffuncall (nargs=6, args=0xbffff248) at eval.c:3452
#27 0x0809f7ee in execute_optimized_program (
program=0x87022e0 "Æ\r!,Ç\r!?&È\r!É\r!Ê\r!\034\e\032Ë\r!\210Ì\f\n\v\b®\006\t\003\016\017\t«\004ͪ\002Î%+\207", stack_depth=6, constants_data=0x91cb6f0)
at bytecode.c:646
#28 0x080e8c99 in Ffuncall (nargs=3, args=0xbffff348) at eval.c:3452
#29 0x0809f7ee in execute_optimized_program (program=0x92b0240 "Á\bÂ\"\207",
stack_depth=3, constants_data=0x91cb6d0) at bytecode.c:646
#30 0x080e8c99 in Ffuncall (nargs=2, args=0xbffff448) at eval.c:3452
#31 0x080ecefe in call1 (fn=152874772, arg0=142076016) at eval.c:4492
#32 0x080fddb4 in execute_internal_event (event=139717708)
at event-stream.c:3064
#33 0x081009fd in Fdispatch_event (event=139717708) at event-stream.c:4565
#34 0x080b2a97 in Fcommand_loop_1 () at cmdloop.c:573
#35 0x080b2daa in command_loop_1 (dummy=1077510728) at cmdloop.c:489
#36 0x080e4f90 in condition_case_1 (handlers=1077508640,
bfun=0x80b2d6c <command_loop_1>, barg=1077510728,
hfun=0x80b2e1c <cmd_error>, harg=1077510728) at eval.c:1917
#37 0x080b2f11 in command_loop_2 (dummy=1077510728) at cmdloop.c:252
#38 0x080edf30 in internal_catch (tag=1077269648,
func=0x80b2ed0 <command_loop_2>, arg=1077510728, threw=0x0, thrown_tag=0x0)
at eval.c:1527
#39 0x080b2723 in initial_command_loop (load_me=1077510728) at cmdloop.c:301
#40 0x080df586 in xemacs_21_5_b17_i686_pc_linux () at emacs.c:2373
#41 0x080e17cd in main (argc=1, argv=0xbffff904, envp=0xbffff90c)
at emacs.c:2803
uname -a: Linux gimli 2.4.27 #1 Tue Aug 10 12:29:30 CEST 2004 i686 unknown
./configure '--with-mule' '--debug' '--with-sound=native' '--with-xface' '--with-pop' '--with-site-lisp=yes' '--with-dragndrop' '--pdump' '--mail-locking=flock'
XEmacs 21.5-b17 "chayote" (+CVS-20040321) configured for `i686-pc-linux'.
Compilation Environment and Installation Defaults:
Source code location: /usr/local/src/xemacs-21.5.17
Installation prefix: /usr/local
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler version: 2.95.4
- GCC specs file: /usr/lib/gcc-lib/i386-linux/2.95.4/specs
- Compiler command: gcc -g -O3
libc version: GNU libc (Debian)
Relocating allocator for buffers: no
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
TTY:
Compiling in support for ncurses.
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for X-Face message headers.
Sound:
Compiling in support for sound (native).
Databases:
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Compiling in support for XIM (X11R5+ I18N input method).
- Using raw Xlib to provide XIM support.
Mail:
Compiling in support for POP mail retrieval.
Compiling in support for "flock" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Using the new portable dumper.
Compiling in support for extra debugging code.
WARNING: ---------------------------------------------------------
WARNING: Compiling in support for runtime error checking.
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------
More information about the XEmacs-Beta
mailing list