>>>> "Vin" == Vin Shelton <acs(a)xemacs.org>
writes:
Vin> !!2 for the price of 1!!
Vin> As I started to investigate a serious problem in XEmacs-21.1, I came
Vin> across a less serious bug as well.
Vin> Problem #1 (Extremely serious):
Vin> In XEmacs 21.1.12, running gnus (recent CVS vintage), when I attempt
Vin> to open a mail from Jan: "Re: `looking-at' does not work for
Japanese
Vin> chars", I get the following message, and then XEmacs hangs:
Vin> add address "jan.vroonhof(a)ntlworld.com" to
"jan(a)xemacs.org,
Vin> jan.vro..."? (y or n)
Hi Vin,
I also added jan.vroonhof(a)ntlworld.com to my bbdb today, but had no
problems.
Here are my versions:
(emacs-version)
"XEmacs 21.1 (patch 12) \"Channel Islands\" [Lucid] (i386-pc-win32) of
Fri Nov 17 2000 on ZJ75T" ; this is actually latest CVS 21.1.12++
(gnus-version)
"Gnus v5.8.7"
(bbdb-version)
"BBDB version 2.00.06 (1999/01/25 06:16:02)"
Best regards,
Adrian
Vin> There is no opportunity to answer either y or n; XEmacs is churning
Vin> away, and I can not ^G out either. While running under gdb, I can
Vin> interrupt the process and get the following backtrace:
Vin> #0 0x818340d in bi_scan_buffer (buf=0x89314b8, target=10, st=1, en=264,
count=2147483642,
Vin> shortage=0xbfffad40, allow_quit=0) at
/usr/local/src/xemacs-21.1.12-debug/src/search.c:601
Vin> #1 0x818716d in scan_buffer (buf=0x89314b8, target=10, start=1, end=264,
count=2147483647,
Vin> shortage=0xbfffad40, allow_quit=0) at
/usr/local/src/xemacs-21.1.12-debug/src/search.c:681
Vin> #2 0x8146c1e in buffer_line_number (b=0x89314b8, pos=264, cachep=0)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/line-number.c:297
Vin> #3 0x816ddb1 in window_line_number (w=0x880f1e8, type=2)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/redisplay.c:5743
Vin> #4 0x816df2f in decode_mode_spec (w=0x880f1e8, spec=108, type=2)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/redisplay.c:5818
Vin> #5 0x816a5fb in generate_fstring_runes (w=0x880f1e8, data=0xbfffaf54, pos=47,
min_pos=46,
Vin> max_pos=-1, elt=137294140, depth=3, max_pixsize=607, findex=1, type=2)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/redisplay.c:3836
Vin> #6 0x816aa0a in generate_fstring_runes (w=0x880f1e8, data=0xbfffaf54, pos=46,
min_pos=0,
Vin> max_pos=-1, elt=144454588, depth=1, max_pixsize=607, findex=1, type=2)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/redisplay.c:3985
Vin> #7 0x8169dfa in generate_formatted_string_db (format_str=144454588,
result_str=141930388,
Vin> w=0x880f1e8, dl=0x88a76c0, db=0x866a640, findex=1, min_pixpos=6,
max_pixpos=613, type=2)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/redisplay.c:3580
Vin> #8 0x8169c77 in generate_modeline (w=0x880f1e8, dl=0x88a76c0, type=2)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/redisplay.c:3539
Vin> #9 0x816af0d in ensure_modeline_generated (w=0x880f1e8, type=2)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/redisplay.c:4150
Vin> #10 0x8176ba8 in real_current_modeline_height (w=0x880f1e8)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/redisplay.c:4163
Vin> #11 0x81c8329 in window_modeline_height (w=0x880f1e8)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/window.c:917
Vin> #12 0x81d48c0 in window_bottom_gutter_height (w=0x880f1e8)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/window.c:1055
Vin> #13 0x816f489 in start_end_of_last_line (w=0x880f1e8, startp=1, end=1,
may_error=1)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/redisplay.c:6639
Vin> #14 0x81749fe in pixel_to_glyph_translation (f=0x8470648, x_coord=178,
y_coord=399,
Vin> col=0xbfffb2f4, row=0xbfffb2f8, obj_x=0xbfffb2fc, obj_y=0xbfffb300,
w=0xbfffb304,
Vin> bufpos=0xbfffb308, closest=0xbfffb30c, modeline_closest=0xbfffb310,
obj1=0xbfffb314,
Vin> obj2=0xbfffb318) at
/usr/local/src/xemacs-21.1.12-debug/src/redisplay.c:6734
Vin> #15 0x80c4326 in event_pixel_translation (event=144447564, char_x=0x0,
char_y=0x0, obj_x=0x0,
Vin> obj_y=0x0, w=0xbfffb368, bufp=0x0, closest=0x0, modeline_closest=0x0,
obj1=0x0, obj2=0x0)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/events.c:1708
Vin> #16 0x80c559c in Fevent_window (event=144447564)
Vin> ---Type <return> to continue, or q <return> to quit---
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/events.c:1838
Vin> #17 0x8141029 in get_relevant_keymaps (keys=144447564, max_maps=100,
maps=0xbfffb41c)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/keymap.c:2347
Vin> #18 0x814174f in Fkey_binding (keys=144447564, accept_default=137878868)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/keymap.c:2571
Vin> #19 0x80ba7cd in funcall_recording_as (recorded_as=137983116, nargs=1,
args=0xbfffb694)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3193
Vin> #20 0x80bf339 in Ffuncall (nargs=2, args=0xbfffb694)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3238
Vin> #21 0x808f7b9 in Fbyte_code (bytestr=137076660, vector=137076700, maxdepth=5)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/bytecode.c:416
Vin> #22 0x80ba1c7 in Feval (form=137076636) at
/usr/local/src/xemacs-21.1.12-debug/src/eval.c:3063
Vin> #23 0x80b79af in condition_case_1 (handlers=137076748, bfun=0x80b95cc
<Feval>, barg=137076636,
Vin> hfun=0x80bf6b8 <run_condition_case_handlers>, harg=137878868)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:1653
Vin> #24 0x80b7bab in condition_case_3 (bodyform=137076636, var=137878868,
handlers=137076748)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:1715
Vin> #25 0x808fb8a in Fbyte_code (bytestr=137076192, vector=137076392,
maxdepth=17)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/bytecode.c:576
Vin> #26 0x80bbb19 in funcall_lambda (fun=137076900, nargs=1,
arg_vector=0xbfffbeb8)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3597
Vin> #27 0x80ba9f2 in funcall_recording_as (recorded_as=138398656, nargs=1,
args=0xbfffbeb4)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3214
Vin> #28 0x80bf339 in Ffuncall (nargs=2, args=0xbfffbeb4)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3238
Vin> #29 0x808f7b9 in Fbyte_code (bytestr=139936628, vector=139812624, maxdepth=7)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/bytecode.c:416
Vin> #30 0x80bbb19 in funcall_lambda (fun=139810360, nargs=1,
arg_vector=0xbfffd568)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3597
Vin> #31 0x80ba9f2 in funcall_recording_as (recorded_as=139885800, nargs=1,
args=0xbfffd564)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3214
Vin> #32 0x80bf339 in Ffuncall (nargs=2, args=0xbfffd564)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3238
Vin> #33 0x808f7b9 in Fbyte_code (bytestr=140043196, vector=139708920,
maxdepth=17)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/bytecode.c:416
Vin> #34 0x80bbb19 in funcall_lambda (fun=140039092, nargs=4,
arg_vector=0xbfffd878)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3597
Vin> #35 0x80ba9f2 in funcall_recording_as (recorded_as=140019656, nargs=4,
args=0xbfffd874)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3214
Vin> ---Type <return> to continue, or q <return> to quit---
Vin> #36 0x80bf339 in Ffuncall (nargs=5, args=0xbfffd874)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3238
Vin> #37 0x808f7b9 in Fbyte_code (bytestr=140689116, vector=140793016,
maxdepth=13)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/bytecode.c:416
Vin> #38 0x80bbb19 in funcall_lambda (fun=140664532, nargs=0,
arg_vector=0xbfffdc40)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3597
Vin> #39 0x80ba9f2 in funcall_recording_as (recorded_as=139024932, nargs=0,
args=0xbfffdc3c)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3214
Vin> #40 0x80bbe24 in run_hook_with_args_in_buffer (buf=0x89314b8, nargs=1,
args=0xbfffdc3c,
Vin> cond=RUN_HOOKS_TO_COMPLETION) at
/usr/local/src/xemacs-21.1.12-debug/src/eval.c:3238
Vin> #41 0x80be491 in run_hook_with_args (nargs=1, args=0xbfffdc3c,
cond=RUN_HOOKS_TO_COMPLETION)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3771
Vin> #42 0x80bf804 in Frun_hooks (nargs=1, args=0xbfffdc3c)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3625
Vin> #43 0x80ba74b in funcall_recording_as (recorded_as=137962472, nargs=1,
args=0xbfffdc38)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3178
Vin> #44 0x80bb13a in Fapply (nargs=2, args=0xbfffdc38)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3238
Vin> #45 0x80ba74b in funcall_recording_as (recorded_as=137963100, nargs=2,
args=0xbfffdc34)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3178
Vin> #46 0x80bf339 in Ffuncall (nargs=3, args=0xbfffdc34)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3238
Vin> #47 0x808f7b9 in Fbyte_code (bytestr=140733724, vector=140735184, maxdepth=7)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/bytecode.c:416
Vin> #48 0x80bbb19 in funcall_lambda (fun=140698908, nargs=1,
arg_vector=0xbfffde38)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3597
Vin> #49 0x80ba9f2 in funcall_recording_as (recorded_as=140693312, nargs=1,
args=0xbfffde34)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3214
Vin> #50 0x80bf339 in Ffuncall (nargs=2, args=0xbfffde34)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3238
Vin> #51 0x808f7b9 in Fbyte_code (bytestr=141829212, vector=142907952, maxdepth=5)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/bytecode.c:416
Vin> #52 0x80bbb19 in funcall_lambda (fun=143092428, nargs=0,
arg_vector=0xbfffe6d8)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3597
Vin> #53 0x80ba9f2 in funcall_recording_as (recorded_as=140265192, nargs=0,
args=0xbfffe6d4)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3214
Vin> #54 0x80bf339 in Ffuncall (nargs=1, args=0xbfffe6d4)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3238
Vin> #55 0x808f7b9 in Fbyte_code (bytestr=142085308, vector=142907608, maxdepth=7)
Vin> ---Type <return> to continue, or q <return> to quit---
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/bytecode.c:416
Vin> #56 0x80bbb19 in funcall_lambda (fun=143018612, nargs=2,
arg_vector=0xbfffea58)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3597
Vin> #57 0x80ba9f2 in funcall_recording_as (recorded_as=140848160, nargs=2,
args=0xbfffea54)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3214
Vin> #58 0x80bf339 in Ffuncall (nargs=3, args=0xbfffea54)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3238
Vin> #59 0x808f7b9 in Fbyte_code (bytestr=139735436, vector=142313496,
maxdepth=11)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/bytecode.c:416
Vin> #60 0x80bbb19 in funcall_lambda (fun=142227424, nargs=1,
arg_vector=0xbfffef58)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3597
Vin> #61 0x80ba9f2 in funcall_recording_as (recorded_as=142254548, nargs=1,
args=0xbfffef54)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3214
Vin> #62 0x80bf339 in Ffuncall (nargs=2, args=0xbfffef54)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3238
Vin> #63 0x808f7b9 in Fbyte_code (bytestr=141475284, vector=142322736,
maxdepth=11)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/bytecode.c:416
Vin> #64 0x80bbb19 in funcall_lambda (fun=142227676, nargs=2,
arg_vector=0xbffff108)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3597
Vin> #65 0x80ba9f2 in funcall_recording_as (recorded_as=140767412, nargs=2,
args=0xbffff104)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3214
Vin> #66 0x80bf339 in Ffuncall (nargs=3, args=0xbffff104)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3238
Vin> #67 0x808f7b9 in Fbyte_code (bytestr=142168916, vector=142103288, maxdepth=7)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/bytecode.c:416
Vin> #68 0x80bbb19 in funcall_lambda (fun=142053324, nargs=1,
arg_vector=0xbffff288)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3597
Vin> #69 0x80ba9f2 in funcall_recording_as (recorded_as=142189116, nargs=1,
args=0xbffff284)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3214
Vin> #70 0x80bf339 in Ffuncall (nargs=2, args=0xbffff284)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:3238
Vin> #71 0x80921bb in Fcall_interactively (function=142189116,
record_flag=137878868, keys=137878868)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/callint.c:949
Vin> #72 0x80b8fbe in Fcommand_execute (cmd=142189116, record=137878868,
keys=137878868)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:2584
Vin> #73 0x80f2665 in execute_command_event (command_builder=0x83d5040,
event=141423380)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/event-stream.c:4346
Vin> #74 0x80f318c in Fdispatch_event (event=141423380)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/event-stream.c:4637
Vin> ---Type <return> to continue, or q <return> to quit---
Vin> #75 0x8097f18 in Fcommand_loop_1 () at
/usr/local/src/xemacs-21.1.12-debug/src/cmdloop.c:579
Vin> #76 0x809816d in command_loop_1 (dummy=137878868)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/cmdloop.c:494
Vin> #77 0x80b79af in condition_case_1 (handlers=137878980, bfun=0x809811c
<command_loop_1>,
Vin> barg=137878868, hfun=0x80981e0 <cmd_error>, harg=137878868)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:1653
Vin> #78 0x80982d7 in command_loop_2 (dummy=137878868)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/cmdloop.c:256
Vin> #79 0x80befb0 in internal_catch (tag=137953268, func=0x809829c
<command_loop_2>, arg=137878868,
Vin> threw=0x0) at /usr/local/src/xemacs-21.1.12-debug/src/eval.c:1328
Vin> #80 0x809753d in initial_command_loop (load_me=137878868)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/cmdloop.c:305
Vin> #81 0x80b2def in xemacs_21_1_12_i686_pc_linux ()
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/emacs.c:1720
Vin> #82 0x80b4a08 in main (argc=1, argv=0xbffff864, envp=0xbffff86c)
Vin> at /usr/local/src/xemacs-21.1.12-debug/src/emacs.c:2137
Vin> #83 0x402d3cae in __libc_start_main (main=0x80b4900 <main>, argc=1,
argv=0xbffff864,
Vin> init=0x807a1c8 <_init>, fini=0x81fa344 <_fini>,
rtld_fini=0x4000a490 <_dl_fini>,
Vin> stack_end=0xbffff85c) at ../sysdeps/generic/libc-start.c:92
Vin> Has anyone else ever seen such a thing? I thought the count looked
Vin> suspicious, but that seems to be set explicitly in the code. Why is
Vin> allow_quit = 0? I tried setting it to 1, but I still could not ^G out
Vin> of the code.
Vin> Problem #2 (Certainly less severe, and likely less important):
Vin> When attempting to isolate Problem #1 with a debuggable XEmacs
Vin> 21.1.12, I get a large number of the following messages upon entering
Vin> a group in Gnus:
Vin> Comparison between integer and character is constant nil (?0 and 1)
Vin> [parse-time-tokenize, parse-time-string, byte-code, date-to-time,
safe-date-to-time, gnus-thread-sort-by-date, or, (lambda (t1 t2) (or
(gnus-thread-sort-by-date t1 t2) (and (not (gnus-thread-sort-by-date t2 t1))
(gnus-thread-sort-by-number t1 t2)))), sort, gnus-sort-threads-1, gnus-sort-threads,
gnus-summary-prepare, gnus-summary-read-group-1, gnus-summary-read-group,
gnus-group-read-group, gnus-group-select-group, call-interactively]
Vin> I don't see Problem #2 under a debuggable 21.2 from the latest CVS,
Vin> BTW. This warning does not seem to have any deleterious effects,
Vin> either - I can read the group just fine.
Vin> Any thoughts or tips on either bug would be helpful.
Vin> - vin
--
Adrian Aichner
mailto:adrianï¼ xemacs.org
http://www.xemacs.org