I've recently been having my XEmacs (built from source under Cygwin,
21.5-b32) go into a full-cpu un-interruptable loop. Running under gdb
shows this after the lockup:
[main] xemacs-21.5-b32 13400 sig_send: wait for sig_complete event
failed, signal -13, rc 258, Win32 error 0
gdb is also stuck at this point
procexp shows gdb stuck waiting at
ntdll.dll!NtWaitForDebugEvent+0xa
XEmacs is splitting the cpu between two threads:
wow64cpu.dll!CpuSimulate+0x16e
ntdll.dll!NtQueryInformationThread+0x12
**cygwin1.dll!lfind+0x44ab**
cygwin1.dll!getenv+0x48d2
cygwin1.dll!sigfillset+0x2df7
cygwin1.dll!setprogname+0x1cc5
cygwin1.dll!setprogname+0x224f
cygwin1.dll!setprogname+0x2df1
and
wow64cpu.dll!TurboDispatchJumpAddressEnd+0x6c0
wow64cpu.dll!TurboDispatchJumpAddressEnd+0x56b
wow64.dll!Wow64SystemServiceEx+0x1ce
wow64.dll!Wow64LdrpInitialize+0x429
ntdll.dll!RtlIsDosDeviceName_U+0x24c87
ntdll.dll!LdrInitializeThunk+0xe
ntdll.dll!ZwDelayExecution+0x15
**cygwin1.dll!lfind+0x44d9**
xemacs-21.5-b32.exe+0x201cf6
xemacs-21.5-b32.exe+0x7c6f9
xemacs-21.5-b32.exe+0x1e96ba
xemacs-21.5-b32.exe+0x2302de
xemacs-21.5-b32.exe+0x230319
WINMM.DLL!DriverCallback+0x4e
WINMM.DLL!timeEndPeriod+0x54a
WINMM.DLL!timeEndPeriod+0x449
cygwin1.dll!setprogname+0x319d
The ** lines show the up (from the bottom) through which the stack is
stable, the loop is somewhere above that.
Any ideas? Suggestions as to how to debug this?
Oh yes, the xemacs itself is in one of those semantic idle-timeout analysis
phases: the message line says
LALR/auth_ldap.inc: [####....] ... done
which is some miscellanious cousin in the file-system of the PHP code
whose buffer is showing at the moment.
ht
--
Henry S. Thompson, School of Informatics, University of Edinburgh
10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht(a)inf.ed.ac.uk
URL:
http://www.ltg.ed.ac.uk/~ht/
[mail from me _always_ has a .sig like this -- mail without it is forged spam]
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta