ok, i know how to fix this first problem.
have you tried my suggestion of using the nt.c setitimer{}?
Paul Krause wrote:
Here's the trace from the point that "Window procedure called during GC"
first gets printed. It looks like something in GC isn't locking out
event handling, but I can't see any relevant changes in alloc.c or
glyphs.c
Ben, can you take a look at this?
mswindows_wnd_proc(void * 0x003703d4, unsigned int 528, unsigned int
90832898, long 1901812) line 2068
USER32! 77e148dc()
USER32! 77e163fb()
USER32! 77e1643d()
NTDLL! 77f9f04b()
finalize_image_instance(void * 0x0214e200, int 0) line 1060 + 46 bytes
sweep_lcrecords_1(lcrecord_header * * 0x011d2d9c, int * 0x0082ceb4) line
2537 + 26 bytes
gc_sweep() line 3118 + 14 bytes
garbage_collect_1() line 3449
Ffuncall(int 3, long * 0x0082cfe4) line 3377
call2(long 35507380, long 28486044, long 35832820) line 4098 + 11 bytes
call2_check_string(long 35507380, long 28486044, long 35832820) line 308
+ 17 bytes
Fdirectory_file_name(long 35832820) line 553 + 20 bytes
file_name_completion(long 35832836, long 35832820, int 1, int 0) line
344 + 9 bytes
Ffile_name_all_completions(long 35832836, long 35832820) line 246 + 17
bytes
Ffuncall(int 3, long * 0x0082d1a8) line 3427 + 93 bytes
Fapply(int 2, long * 0x0082d290) line 3703 + 13 bytes
Ffuncall(int 3, long * 0x0082d28c) line 3448 + 14 bytes
execute_optimized_program(unsigned char * 0x021011d0, int 4, long *
0x02127210) line 744 + 16 bytes
funcall_compiled_function(long 35233008, int 3, long * 0x0082d574) line
516 + 53 bytes
Ffuncall(int 4, long * 0x0082d570) line 3462 + 17 bytes
call3(long 35507380, long 28462404, long 35832836, long 35832820) line
4115 + 11 bytes
Ffile_name_all_completions(long 35832836, long 35832820) line 244 + 24
bytes
Ffuncall(int 3, long * 0x0082d640) line 3427 + 93 bytes
execute_optimized_program(unsigned char * 0x0221b710, int 8, long *
0x01c55890) line 744 + 16 bytes
funcall_compiled_function(long 29701584, int 6, long * 0x0082d924) line
516 + 53 bytes
Ffuncall(int 7, long * 0x0082d920) line 3462 + 17 bytes
execute_optimized_program(unsigned char * 0x0222bc10, int 8, long *
0x01c59010) line 744 + 16 bytes
funcall_compiled_function(long 29701556, int 4, long * 0x0082dc0c) line
516 + 53 bytes
Ffuncall(int 5, long * 0x0082dc08) line 3462 + 17 bytes
execute_optimized_program(unsigned char * 0x02227d10, int 5, long *
0x01c4f250) line 744 + 16 bytes
funcall_compiled_function(long 29701612, int 3, long * 0x0082def4) line
516 + 53 bytes
Ffuncall(int 4, long * 0x0082def0) line 3462 + 17 bytes
call3(long 29702964, long 35832804, long 31861044, long 28332060) line
4115 + 11 bytes
Fall_completions(long 35832804, long 29702964, long 31861044) line 561 +
24 bytes
Ffuncall(int 4, long * 0x0082e010) line 3427 + 127 bytes
execute_optimized_program(unsigned char * 0x02139150, int 5, long *
0x01c55310) line 744 + 16 bytes
funcall_compiled_function(long 29731240, int 0, long * 0x0082e2f0) line
516 + 53 bytes
Ffuncall(int 1, long * 0x0082e2ec) line 3462 + 17 bytes
execute_optimized_program(unsigned char * 0x01e36a10, int 5, long *
0x01c4bd10) line 744 + 16 bytes
funcall_compiled_function(long 29700492, int 0, long * 0x0082e5e8) line
516 + 53 bytes
Ffuncall(int 1, long * 0x0082e5e4) line 3462 + 17 bytes
apply1(long 29700492, long 28332036) line 4051 + 11 bytes
Fcall_interactively(long 29674700, long 28332036, long 28332036) line
465 + 13 bytes
Fcommand_execute(long 29674700, long 28332036, long 28332036) line 2868
+ 17 bytes
execute_command_event(command_builder * 0x01d98e80, long 35894000) line
3902 + 25 bytes
Fdispatch_event(long 35894000) line 4194 + 70 bytes
Fcommand_loop_1() line 583 + 9 bytes
command_loop_1(long 28332036) line 495
condition_case_1(long 28332132, long (long)* 0x0105134b
command_loop_1(long), long 28332036, long (long, long)* 0x01050d60
cmd_error(long, long), long 28332036) line 1651 + 7 bytes
command_loop_3() line 256 + 35 bytes
command_loop_2(long 28332036) line 268
call_command_loop(long 28332060) line 328 + 12 bytes
Fread_minibuffer_internal(long 37168644) line 188 + 11 bytes
Ffuncall(int 2, long * 0x0082e9c4) line 3427 + 66 bytes
execute_optimized_program(unsigned char * 0x0082eba0, int 2, long *
0x01c4f8d0) line 744 + 16 bytes
Fbyte_code(long 29605652, long 29685952, long 5) line 2392 + 38 bytes
Feval(long 29704328) line 3229 + 187 bytes
internal_catch(long 28475756, long (long)* 0x0107272c Feval(long), long
29704328, int * 0x00000000) line 1317 + 7 bytes
execute_rare_opcode(long * 0x0082ee50, unsigned char * 0x02100961, int
141) line 1250 + 22 bytes
execute_optimized_program(unsigned char * 0x02100810, int 6, long *
0x01bd0810) line 654 + 17 bytes
funcall_compiled_function(long 29700128, int 7, long * 0x0082f134) line
516 + 53 bytes
Ffuncall(int 8, long * 0x0082f130) line 3462 + 17 bytes
execute_optimized_program(unsigned char * 0x021ee210, int 9, long *
0x01c55a90) line 744 + 16 bytes
funcall_compiled_function(long 29701248, int 7, long * 0x0082f420) line
516 + 53 bytes
Ffuncall(int 8, long * 0x0082f41c) line 3462 + 17 bytes
execute_optimized_program(unsigned char * 0x02224cd0, int 8, long *
0x01c55990) line 744 + 16 bytes
funcall_compiled_function(long 29701360, int 7, long * 0x0082f708) line
516 + 53 bytes
Ffuncall(int 8, long * 0x0082f704) line 3462 + 17 bytes
execute_optimized_program(unsigned char * 0x02224d10, int 8, long *
0x01c55910) line 744 + 16 bytes
funcall_compiled_function(long 29701388, int 4, long * 0x0082f9fc) line
516 + 53 bytes
Ffuncall(int 5, long * 0x0082f9f8) line 3462 + 17 bytes
call4(long 28451900, long 37168644, long 28332036, long 28332036, long
28332036) line 4134 + 11 bytes
Fcall_interactively(long 29232284, long 28332036, long 28332036) line
774 + 69 bytes
Fcommand_execute(long 29232284, long 28332036, long 28332036) line 2868
+ 17 bytes
execute_command_event(command_builder * 0x01d98e80, long 35894352) line
3902 + 25 bytes
Fdispatch_event(long 35894352) line 4194 + 70 bytes
Fcommand_loop_1() line 583 + 9 bytes
command_loop_1(long 28332036) line 495
condition_case_1(long 28332132, long (long)* 0x0105134b
command_loop_1(long), long 28332036, long (long, long)* 0x01050d60
cmd_error(long, long), long 28332036) line 1651 + 7 bytes
command_loop_3() line 256 + 35 bytes
command_loop_2(long 28332036) line 268
internal_catch(long 28453276, long (long)* 0x01050eb0
command_loop_2(long), long 28332036, int * 0x00000000) line 1317 + 7
bytes
initial_command_loop(long 28332036) line 305 + 25 bytes
STACK_TRACE_EYE_CATCHER(int 1, char * * 0x01b49fe8, char * * 0x01d28900,
int 0) line 2348 + 9 bytes
main(int 1, char * * 0x01b49fe8, char * * 0x01d28900) line 2777 + 21
bytes
mainCRTStartup + 211 bytes
_start() line 170
KERNEL32! 77e992a6()
-----Original Message-----
From: Paul Krause
Sent: Monday, June 04, 2001 9:53 AM
To: 'xemacs-beta(a)xemacs.org'
Subject: re: XEmacs from CVS is randomly crashing and locking up
In Message-ID: < yz13d9j97zf.fsf(a)milhouse.cs.cornell.edu
<
http://list-archive.xemacs.org/xemacs-beta/200106/msg00018.html> > ,
Paul Stodghill writes:
> Window procedure called during GC???????
> Window procedure called during GC???????
> Window procedure called during GC???????
> Fatal error: assertion failed, file events.h, line 496, RECORD_TYPEP
(obj, lrecord_type_event)
Any clues on this? I'm getting it regularly. The stack trace looks
like
NTDLL! 77f9eea9()
error_check_event(long 41301336) line 496 + 59 bytes
dequeue_event(long * 0x011b2434, long * 0x011b2544) line 870 + 9 bytes
mswindows_dequeue_dispatch_event() line 1051 + 72 bytes
emacs_mswindows_next_event(Lisp_Event * 0x02763584) line 3358 + 5 bytes
event_stream_next_event(Lisp_Event * 0x02763584) line 502 + 13 bytes
next_event_internal(long 41301380, int 0) line 1942 + 9 bytes
Faccept_process_output(long 34915584, long 28332036, long 28332036) line
2598 + 11 bytes
Ffuncall(int 2, long * 0x0082d41c) line 3427 + 127 bytes
execute_optimized_program(unsigned char * 0x0082d618, int 10, long *
0x01c14c90) line 744 + 16 bytes
Fbyte_code(long 29378148, long 29445248, long 21) line 2392 + 38 bytes
Feval(long 29341212) line 3229 + 187 bytes
internal_catch(long 29342924, long (long)* 0x0107272c Feval(long), long
29341212, int * 0x00000000) line 1317 + 7 bytes
execute_rare_opcode(long * 0x0082d928, unsigned char * 0x0200f0a5, int
141) line 1250 + 22 bytes
execute_optimized_program(unsigned char * 0x0200f010, int 9, long *
0x01bc3410) line 654 + 17 bytes
funcall_compiled_function(long 29363608, int 6, long * 0x0082dc14) line
516 + 53 bytes
Ffuncall(int 7, long * 0x0082dc10) line 3462 + 17 bytes
Fapply(int 6, long * 0x0082dd08) line 3703 + 13 bytes
Ffuncall(int 7, long * 0x0082dd04) line 3448 + 14 bytes
execute_optimized_program(unsigned char * 0x01ff2610, int 7, long *
0x01d1f310) line 744 + 16 bytes
funcall_compiled_function(long 30551336, int 6, long * 0x0082dfec) line
516 + 53 bytes
Ffuncall(int 7, long * 0x0082dfe8) line 3462 + 17 bytes
execute_optimized_program(unsigned char * 0x0217b910, int 8, long *
0x01e74b10) line 744 + 16 bytes
funcall_compiled_function(long 34901876, int 0, long * 0x0082e2d4) line
516 + 53 bytes
Ffuncall(int 1, long * 0x0082e2d0) line 3462 + 17 bytes
execute_optimized_program(unsigned char * 0x02181010, int 5, long *
0x0206c910) line 744 + 16 bytes
funcall_compiled_function(long 33276132, int 0, long * 0x0082e5b0) line
516 + 53 bytes
Ffuncall(int 1, long * 0x0082e5ac) line 3462 + 17 bytes
execute_optimized_program(unsigned char * 0x01b06090, int 6, long *
0x01e54c90) line 744 + 16 bytes
funcall_compiled_function(long 33276104, int 0, long * 0x0082e890) line
516 + 53 bytes
Ffuncall(int 1, long * 0x0082e88c) line 3462 + 17 bytes
execute_optimized_program(unsigned char * 0x02173d50, int 1, long *
0x01e5b390) line 744 + 16 bytes
funcall_compiled_function(long 34901792, int 0, long * 0x0082ec60) line
516 + 53 bytes
Ffuncall(int 1, long * 0x0082ec5c) line 3462 + 17 bytes
run_hook_with_args_in_buffer(buffer * 0x02193e00, int 1, long *
0x0082ec5c, int 0) line 3919 + 13 bytes
run_hook_with_args(int 1, long * 0x0082ec5c, int 0) line 3932 + 23 bytes
Frun_hooks(int 1, long * 0x0082ec5c) line 3786 + 19 bytes
Ffuncall(int 2, long * 0x0082ec58) line 3448 + 14 bytes
execute_optimized_program(unsigned char * 0x0217ba10, int 5, long *
0x01c76110) line 744 + 16 bytes
funcall_compiled_function(long 29888036, int 2, long * 0x0082ef38) line
516 + 53 bytes
Ffuncall(int 3, long * 0x0082ef34) line 3462 + 17 bytes
execute_optimized_program(unsigned char * 0x0082f114, int 3, long *
0x01c7e910) line 744 + 16 bytes
Fbyte_code(long 29934436, long 29878528, long 7) line 2392 + 38 bytes
Feval(long 29520452) line 3229 + 187 bytes
condition_case_1(long 29322924, long (long)* 0x0107272c Feval(long),
long 29520452, long (long, long)* 0x0106fbf4
run_condition_case_handlers(long, long), long 28505748) line 1651 + 7
bytes
condition_case_3(long 29520452, long 28505748, long 29322924) line 1732
+ 27 bytes
execute_rare_opcode(long * 0x0082f478, unsigned char * 0x0217bdec, int
143) line 1269 + 19 bytes
execute_optimized_program(unsigned char * 0x0217bd10, int 6, long *
0x01c76210) line 654 + 17 bytes
funcall_compiled_function(long 29888008, int 1, long * 0x0082f760) line
516 + 53 bytes
Ffuncall(int 2, long * 0x0082f75c) line 3462 + 17 bytes
execute_optimized_program(unsigned char * 0x021abf90, int 3, long *
0x01c81ad0) line 744 + 16 bytes
funcall_compiled_function(long 29887616, int 2, long * 0x0082fa2c) line
516 + 53 bytes
Ffuncall(int 3, long * 0x0082fa28) line 3462 + 17 bytes
Fcall_interactively(long 29232284, long 28332036, long 28332036) line
1008 + 22 bytes
Fcommand_execute(long 29232284, long 28332036, long 28332036) line 2868
+ 17 bytes
execute_command_event(command_builder * 0x01b64e40, long 35161872) line
3902 + 25 bytes
Fdispatch_event(long 35161872) line 4194 + 70 bytes
Fcommand_loop_1() line 583 + 9 bytes
command_loop_1(long 28332036) line 495
condition_case_1(long 28332132, long (long)* 0x0105134b
command_loop_1(long), long 28332036, long (long, long)* 0x01050d60
cmd_error(long, long), long 28332036) line 1651 + 7 bytes
command_loop_3() line 256 + 35 bytes
command_loop_2(long 28332036) line 268
internal_catch(long 28453276, long (long)* 0x01050eb0
command_loop_2(long), long 28332036, int * 0x00000000) line 1317 + 7
bytes
initial_command_loop(long 28332036) line 305 + 25 bytes
STACK_TRACE_EYE_CATCHER(int 1, char * * 0x01b49fe8, char * * 0x01d28900,
int 0) line 2348 + 9 bytes
main(int 1, char * * 0x01b49fe8, char * * 0x01d28900) line 2777 + 21
bytes
mainCRTStartup + 211 bytes
_start() line 170
KERNEL32! 77e992a6()
--
ben
I'm sometimes slow in getting around to reading my mail, so if you
want to reach me faster, call 520-661-6661.
See