Dear Developers,
Does anyone of you be able to reproduce the following assert error?
Fatal error: assertion failed, file buffer.h, line 818, (retval) >=
((Bytebpos) 1) && retval <= ((buf)->text->z + 0)
STEPs:
1. set font-lock mode to use lazy-shot.
2. open regex.c
3. M-x font-lock-fontify-buffer
Assert Error.
It seems there's some thing wrong with re_match_2_internal... But I
can't manage to debug it :'(
back track:
Thread 1 (Thread 0x7f2304781740 (LWP 28186)):
#0 0x00007f23016dffb5 in raise () from /lib/libc.so.6
#1 0x00007f23016e1bc3 in abort () from /lib/libc.so.6
#2 0x00000000004d0c28 in really_abort () at emacs.c:4745
#3 0x00000000004cde7a in assert_failed (file=0x76d8f8 "buffer.h",
line=818,
expr=0x76d9e0 "(retval) >= ((Bytebpos) 1) && retval <=
((buf)->text->z + 0)") at emacs.c:4039
#4 0x000000000050a6a8 in BYTE_BUF_PTR_BYTE_POS (buf=0x49e2580,
ptr=0x704151e <Address 0x704151e out of bounds>) at buffer.h:818
#5 0x0000000000688b42 in re_match_2_internal (bufp=0x14ebfb8,
string1=0x0,
size1=0, string2=0x701b9a0 <Address 0x701b9a0 out of bounds>,
size2=223975, pos=154494, regs=0x14eda70, stop=223975,
lispobj=77473152,
lispbuf=0x49e2580, scache=0x3ae5948) at regex.c:6251
#6 0x000000000067d9a7 in sys_re_search_2 (bufp=0x14ebfb8,
str1=0x520f9a0 "",
size1=223975, str2=0x524cc5c "", size2=0, startpos=154494,
range=69481,
regs=0x14eda70, stop=223975, lispobj=77473152, lispbuf=0x49e2580,
scache=0x3ae5948) at regex.c:4573
#7 0x000000000068e431 in search_buffer (buf=0x49e2580,
string=76545888,
charbpos=39213, buflim=223976, n=1, RE=1, trt=69193232,
inverse_trt=69193232, posix=0) at search.c:1313
#8 0x000000000068dc48 in search_command (string=76545888,
limit=447953,
noerror=69190448, count=69193232, buffer=69193232, direction=1,
RE=1,
posix=0) at search.c:1164
#9 0x00000000006912e5 in Fre_search_forward (regexp=76545888,
limit=447953,
noerror=69190448, count=69193232, buffer=69193232) at search.c:2430
#10 0x00000000004dad01 in Ffuncall (nargs=4, args=0x7fff0c7a3698)
at eval.c:3990
#11 0x0000000000477543 in execute_optimized_program (
---Type <return> to continue, or q <return> to quit---
program=0x4919010 "\016>�\a\f\rZ\016?Y\0368\0164��a�\a�\0164!\0264
\016@\036A\0164A\036+� \036<�\211\0362\0369�\0365\016+G\036:�\211\036;
\036.�\036)\016+\203u\004\016+@\211\026;(a)\026.\rb\210`\fW\203U\004
\016.;�\t�\016.\f�#�\005\016.\f!\203A\004`\rZ�_\f\rZ\016:_�\0165�_\016:�
\\�\\\0262\0168�\021\0162\0169V�\n���\0162\016<$\210\0162\0269\016;A\211
\026)��\016)@@�\203�\001\016)@@\225\034\016)@\211\036,@\211\0361\224\035
\0161\225\034�\016,8\036*\016,A@"..., stack_depth=12,
constants_data=0x43b6460) at bytecode.c:898
#12 0x00000000004da723 in funcall_compiled_function (fun=62103344,
nargs=3,
args=0x7fff0c7a3fc0) at eval.c:3579
#13 0x00000000004dafed in Ffuncall (nargs=4, args=0x7fff0c7a3fb8)
at eval.c:4035
#14 0x0000000000477543 in execute_optimized_program (
program=0x3b93060 "� �\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=0x462fb50)
at bytecode.c:898
#15 0x00000000004da723 in funcall_compiled_function (fun=62101040,
nargs=3,
args=0x7fff0c7a48b0) at eval.c:3579
#16 0x00000000004dafed in Ffuncall (nargs=4, args=0x7fff0c7a48a8)
at eval.c:4035
#17 0x0000000000477543 in execute_optimized_program (
program=0x3a21b68 "\v\n\t\b#\207", stack_depth=4,
constants_data=0x4a230a0)
at bytecode.c:898
#18 0x00000000004da723 in funcall_compiled_function (fun=62100752,
nargs=2,
args=0x7fff0c7a5190) at eval.c:3579
#19 0x00000000004dafed in Ffuncall (nargs=3, args=0x7fff0c7a5188)
at eval.c:4035
#20 0x0000000000477543 in execute_optimized_program (
program=0x7fff0c7a5820 "\212�ed\"\210)�\207\226�\003\225\n",
stack_depth=3, constants_data=0x33be970) at bytecode.c:898
---Type <return> to continue, or q <return> to quit---
#21 0x000000000047fffb in Fbyte_code (instructions=54258160,
constants=54258016, stack_depth=7) at bytecode.c:2713
#22 0x00000000004d9674 in Feval (form=54258184) at eval.c:3738
#23 0x00000000004d5b58 in condition_case_1 (handlers=54256840,
bfun=0x4d8ce6 <Feval>, barg=54258184,
hfun=0x4d5c62 <run_condition_case_handlers>, harg=69193232) at
eval.c:2007
#24 0x00000000004d6061 in condition_case_3 (bodyform=54258184,
var=69193232,
handlers=54256840) at eval.c:2089
#25 0x000000000047aa49 in execute_rare_opcode
(stack_ptr=0x7fff0c7a6148,
unused_program_ptr=0x3b0a70f "\210\v�\b�\030��!\210)��!�L\210\f�\f
\r�\t����� $\210,��!)\207", opcode=Bcondition_case) at bytecode.c:1491
#26 0x0000000000477023 in execute_optimized_program (
program=0x3b0a6f0 "\214~\210\n\r�\002t��\034\031\035\211\033�\005��!
\210�ed�#\210���\217\210\v�\b�\030��!\210)��!�L\210\f�\f\r�\t�����
$\210,��!)\207",
stack_depth=6, constants_data=0x4621ad8) at bytecode.c:789
#27 0x00000000004da723 in funcall_compiled_function (fun=62100896,
nargs=0,
args=0x7fff0c7a6a40) at eval.c:3579
#28 0x00000000004dafed in Ffuncall (nargs=1, args=0x7fff0c7a6a38)
at eval.c:4035
#29 0x0000000000477543 in execute_optimized_program (
program=0x3ba0f90 "\t�\002t\031\b )\207", stack_depth=1,
constants_data=0x3515c10) at bytecode.c:898
#30 0x00000000004da723 in funcall_compiled_function (fun=62100608,
nargs=0,
args=0x7fff0c7a7310) at eval.c:3579
#31 0x00000000004dafed in Ffuncall (nargs=1, args=0x7fff0c7a7308)
at eval.c:4035
#32 0x00000000004ddcaf in apply1 (fn=62100608, arg=69193232) at
eval.c:5215
#33 0x000000000048195e in Fcall_interactively (function=78328288,
record_flag=69190448, keys=69193232) at callint.c:461
---Type <return> to continue, or q <return> to quit---
#34 0x00000000004d82a5 in Fcommand_execute (cmd=78328288,
record_flag=69190448, keys=69193232) at eval.c:3200
#35 0x00000000004dac86 in Ffuncall (nargs=3, args=0x7fff0c7a77d8)
at eval.c:3990
#36 0x0000000000477543 in execute_optimized_program (
program=0x38e7140 "\r\035�\r�a�\004Ȫ$\r�k�\004ʪ\034\r��\a��\r\"�\022
\r:�\r\r@��\b��\r@\"�\002�!\024)\t�Kt�H�\f!\f\032\033�\f�\"\210\v�8\b�
\023� � a�\a� pa�\006� \210�\004� \210��!�\033���\vA�\004ڪ\002�\n�\v!#
\"\210�\016\036!\210��!*\207�\f�\"\207", stack_depth=7,
constants_data=0x4392220) at bytecode.c:898
#37 0x00000000004da723 in funcall_compiled_function (fun=72087304,
nargs=1,
args=0x7fff0c7a80c8) at eval.c:3579
#38 0x00000000004dafed in Ffuncall (nargs=2, args=0x7fff0c7a80c0)
at eval.c:4035
#39 0x0000000000483101 in Fcall_interactively (function=68890864,
record_flag=69193232, keys=69193232) at callint.c:996
#40 0x00000000004d82a5 in Fcommand_execute (cmd=68890864,
record_flag=69193232, keys=69193232) at eval.c:3200
#41 0x00000000004fbc80 in execute_command_event
(command_builder=0x3a4c898,
event=54654320) at event-stream.c:4288
#42 0x00000000004fc6cc in Fdispatch_event (event=54654320)
at event-stream.c:4592
#43 0x000000000048e59d in Fcommand_loop_1 () at cmdloop.c:600
#44 0x000000000048e37c in command_loop_1 (unused_dummy=69193232)
at cmdloop.c:505
#45 0x00000000004d5b58 in condition_case_1 (handlers=69185472,
bfun=0x48e347 <command_loop_1>, barg=69193232, hfun=0x48df5c
<cmd_error>,
harg=69193232) at eval.c:2007
#46 0x000000000048e082 in command_loop_3 () at cmdloop.c:262
#47 0x000000000048e0a6 in command_loop_2 (unused_dummy=69193232)
---Type <return> to continue, or q <return> to quit---
at cmdloop.c:275
#48 0x00000000004d5491 in internal_catch (tag=68655552,
func=0x48e095 <command_loop_2>, arg=69193232, threw=0x0,
thrown_tag=0x0,
backtrace_before_throw=0x0) at eval.c:1596
#49 0x000000000048e1aa in initial_command_loop (load_me=69193232)
at cmdloop.c:313
#50 0x00000000004cc9ab in xemacs_21_5_b29_x86_64_unknown_linux (argc=1,
argv=0x7fff0c7a8bb8, unused_envp=0x0, restart=0) at emacs.c:2718
#51 0x00000000004cd43c in main (argc=1, argv=0x7fff0c7a8bb8,
unused_envp=0x7fff0c7a8bc8) at emacs.c:3164
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta