Hi
With the 2 latest versions of the cygwin dll (namley cygwin1.dll version 1.5.20/21
the cygwin compiled xemacs crashes with the following minimal init.el:
(require 'un-define)
There is a 10 MB lisp backtrace.
Running under gdb gives the following:
06:47 PM [557]> gdb ./xemacs.exe
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) r
Starting program: /usr/src/xemacs-21.4.19/.build/src/xemacs.exe
Loaded symbols for /c/WINDOWS/system32/ntdll.dll
Loaded symbols for /c/WINDOWS/system32/kernel32.dll
Loaded symbols for /usr/X11R6/bin/cygX11-6.dll
Loaded symbols for /usr/bin/cygwin1.dll
Loaded symbols for /c/WINDOWS/system32/advapi32.dll
Loaded symbols for /c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /usr/X11R6/bin/cygXaw3d-7.dll
Loaded symbols for /usr/X11R6/bin/cygXext-6.dll
Loaded symbols for /usr/X11R6/bin/cygXmu-6.dll
Loaded symbols for /usr/X11R6/bin/cygXt-6.dll
Loaded symbols for /usr/X11R6/bin/cygICE-6.dll
Loaded symbols for /usr/X11R6/bin/cygSM-6.dll
Loaded symbols for /usr/X11R6/bin/cygXpm-4.dll
Loaded symbols for /usr/bin/cygcompface-0.dll
Loaded symbols for /usr/bin/cygdb-4.3.dll
Loaded symbols for /usr/bin/cygjpeg-62.dll
Loaded symbols for /usr/bin/cyglber-2-2-7.dll
Loaded symbols for /usr/bin/cygldap-2-2-7.dll
Loaded symbols for /usr/bin/cygcrypto-0.9.8.dll
Loaded symbols for /usr/bin/cygminires.dll
Loaded symbols for /usr/bin/cygsasl2-2.dll
Loaded symbols for /usr/bin/cygssl-0.9.8.dll
Loaded symbols for /usr/bin/cygncurses-8.dll
Loaded symbols for /usr/bin/cygpng12.dll
Loaded symbols for /usr/bin/cygz.dll
Loaded symbols for /usr/bin/cygpq.dll
Loaded symbols for /usr/bin/cygcrypt-0.dll
Loaded symbols for /usr/bin/cygintl-3.dll
Loaded symbols for /usr/bin/cygiconv-2.dll
Loaded symbols for /usr/bin/cygtiff-5.dll
Loaded symbols for /c/WINDOWS/system32/comctl32.dll
Loaded symbols for /c/WINDOWS/system32/gdi32.dll
Loaded symbols for /c/WINDOWS/system32/user32.dll
Loaded symbols for /c/WINDOWS/system32/comdlg32.dll
Loaded symbols for /c/WINDOWS/system32/shlwapi.dll
Loaded symbols for /c/WINDOWS/system32/msvcrt.dll
Loaded symbols for /c/WINDOWS/system32/shell32.dll
Loaded symbols for /c/WINDOWS/system32/winmm.dll
Loaded symbols for /c/WINDOWS/system32/winspool.drv
Program received signal SIGSEGV, Segmentation fault.
0x005b3043 in probe ()
(gdb) bt
#0 0x005b3043 in probe ()
#1 0x00013720 in ?? ()
#2 0x004113c9 in optimize_byte_code (instructions=279204260, constants=293326848,
program=0x204540 "", program_length=0x22b394, varbind_count=0x22b398)
at /usr/src/xemacs-21.4.19/src/bytecode.c:1627
#3 0x0041349d in Fbyte_code (instructions=279204260, constants=293326848,
stack_depth=571) at /usr/src/xemacs-21.4.19/src/bytecode.c:2403
#4 0x004409d9 in Feval (form=280388596) at /usr/src/xemacs-21.4.19/src/eval.c:3335
#5 0x00512fcd in readevalloop (readcharfun=274541056, sourcename=277743172,
evalfun=0x43f270 <Feval>, printflag=0)
at /usr/src/xemacs-21.4.19/src/lread.c:1449
#6 0x00513b3b in Fload_internal (file=277743172, noerror=25277040, nomessage=25275552,
nosuffix=25277040, codesys=25244064, used_codesys=25277040)
at /usr/src/xemacs-21.4.19/src/lread.c:737
#7 0x00441fb1 in Ffuncall (nargs=6, args=0x22b8b4) at
/usr/src/xemacs-21.4.19/src/eval.c:3536
#8 0x00410db6 in execute_optimized_program (program=0x2210 <Address 0x2210 out of
bounds>, stack_depth=11, constants_data=0x19761c0)
at /usr/src/xemacs-21.4.19/src/bytecode.c:748
#9 0x004131f5 in funcall_compiled_function (fun=26866852, nargs=4, args=0x22ba54) at
/usr/src/xemacs-21.4.19/src/bytecode.c:516
#10 0x00441e63 in Ffuncall (nargs=5, args=0x22ba50) at
/usr/src/xemacs-21.4.19/src/eval.c:3572
#11 0x004423b2 in call4 (fn=25193016, arg0=277743172, arg1=25277040, arg2=25275552,
arg3=25277040) at /usr/src/xemacs-21.4.19/src/eval.c:4242
#12 0x004d086f in Frequire (feature=278354404, filename=25277040) at
/usr/src/xemacs-21.4.19/src/fns.c:3349
#13 0x004409ec in Feval (form=274205264) at /usr/src/xemacs-21.4.19/src/eval.c:3335
#14 0x0044137b in Fprogn (args=274205240) at /usr/src/xemacs-21.4.19/src/eval.c:775
#15 0x0044088a in Feval (form=274205936) at /usr/src/xemacs-21.4.19/src/eval.c:3308
#16 0x0043b3b0 in condition_case_1 (handlers=274204952, bfun=0x43f270 <Feval>,
barg=274205936, hfun=0x445b40 <run_condition_case_handlers>, harg=25277040)
at /usr/src/xemacs-21.4.19/src/eval.c:1652
#17 0x0043eb1f in condition_case_3 (bodyform=274205936, var=25277040, handlers=274204952)
at /usr/src/xemacs-21.4.19/src/eval.c:1730
#18 0x0043eb55 in Fcondition_case (args=274205948) at
/usr/src/xemacs-21.4.19/src/eval.c:1776
#19 0x0044088a in Feval (form=274205960) at /usr/src/xemacs-21.4.19/src/eval.c:3308
#20 0x0044158f in funcall_lambda (fun=273995760, nargs=1, args=0x22c200) at
/usr/src/xemacs-21.4.19/src/eval.c:775
#21 0x0043facc in Feval (form=278696168) at /usr/src/xemacs-21.4.19/src/eval.c:3439
#22 0x0044158f in funcall_lambda (fun=278696468, nargs=0, args=0x22c514) at
/usr/src/xemacs-21.4.19/src/eval.c:775
#23 0x00441c53 in Ffuncall (nargs=1, args=0x22c510) at
/usr/src/xemacs-21.4.19/src/eval.c:3580
#24 0x00443d56 in apply1 (fn=278696468, arg=25277040) at
/usr/src/xemacs-21.4.19/src/eval.c:4159
#25 0x0041502a in Fcall_interactively (function=277307340, record_flag=25277040,
keys=25277040) at /usr/src/xemacs-21.4.19/src/callint.c:398
#26 0x0044201d in Ffuncall (nargs=2, args=0x22c818) at
/usr/src/xemacs-21.4.19/src/eval.c:3536
#27 0x00442ea0 in call1 (fn=25263864, arg0=277307340) at
/usr/src/xemacs-21.4.19/src/eval.c:4190
#28 0x004a75b2 in execute_command_event (command_builder=0x104eb980, event=277364084) at
/usr/src/xemacs-21.4.19/src/event-stream.c:3919
#29 0x004a7880 in Fdispatch_event (event=277364084) at
/usr/src/xemacs-21.4.19/src/event-stream.c:4258
#30 0x0041c2fc in Fcommand_loop_1 () at /usr/src/xemacs-21.4.19/src/cmdloop.c:583
#31 0x0043b3b0 in condition_case_1 (handlers=25276656, bfun=0x41c390
<command_loop_1>, barg=25277040, hfun=0x41bc20 <cmd_error>, harg=25277040)
at /usr/src/xemacs-21.4.19/src/eval.c:1652
#32 0x0041be1e in command_loop_2 (dummy=25277040) at
/usr/src/xemacs-21.4.19/src/cmdloop.c:256
#33 0x00438999 in internal_catch (tag=25077096, func=0x41bde0 <command_loop_2>,
arg=25277040, threw=0x0) at /usr/src/xemacs-21.4.19/src/eval.c:1318
#34 0x0041bf81 in initial_command_loop (load_me=25277040) at
/usr/src/xemacs-21.4.19/src/cmdloop.c:305
#35 0x0043796d in xemacs_21_4_19_i686_pc_cygwin (argc=1, argv=0x100475c0, envp=0x1004b000,
restart=0) at /usr/src/xemacs-21.4.19/src/emacs.c:2460
#36 0x0043863f in main (argc=1, argv=0x100475c0, envp=0x1004b000) at
/usr/src/xemacs-21.4.19/src/emacs.c:2892
(gdb)
Any idea what's going on here ? Is this an xemacs problem or a cygwin problem ?
Ciao
Volker