Somewhat recent (~3 months ago?) download of the "gamma" branch.
Built from sources under cygwin/xfree86. Packages were updated
about 1 month ago.
Except for this problem, these version of XEmacs, Xfree86,
and CC Mode get along quite nicely.
Thank you to all involved!
XEmacs help about reports:
[version 21.4; April 2001]
I think the problem is in trying to parse the linker command
and/or its output. Note that microsoft linker is used via
(undocumented) linkwrapper utility.
Crash occurs consistently whenever a link is run. Next-error works
surprisingly well otherwise (seems to have more smarts than earlier
versions when moving back and forth between microsoft file names and
cygwin file names).
OS: Windows 2000
Running under cygwin/xfree86 (XWin-Test68.exe)
xwinclip is not running.
Compilation buffer is creating by using compile (which I have bound to F2)
with a C++ source file in the current buffer. The directory contains a
GNUmakefile.
GNUmake version:
using GNU Make version 3.79.1, by Richard Stallman and Roland McGrath
Python is also used to do some interaction with source control (PVCS) to
produce a file containing version information for the executable.
c-version says:
Using CC Mode version 5.28
Contents of *compilation* buffer:
------------------------------------------------------------------------------
cd /home/Administrator/src/rjrdpc/dev/rjrclasslib/source/applications/LogConsumer/
make -kComniORB_304/debug
make: Entering directory
`/cygdrive/d/RJRDPC/dev/rjrclasslib/source/applications/LogConsumer/omniORB_304/debug'
+ python ../../../../../makefiles/parseversion.py -C../.. LogConsumer.versioninfo 1.0.0
omniORB_304/debug/versioninfo.rc2
LogConsumerd_304.exe DevelopmentDebug
Building logconsumer 1.0.0.28 build 27
rc /l 0x409 /fo"LogConsumer.res" /d "_DEBUG" /d "_AFXDLL"
.../../LogConsumer.rc
+ rm -f LogConsumerd_304.exe
+ ../../../../../../omniORB/omniORB_280/bin/x86_win32/linkwrapper -gnuwin32
-out:LogConsumerd_304.exe -debug
-libpath:../../../../../lib -libpath:../../../../../../omniORB/omniORB_304/lib/x86_win32
-subsystem:windows -profile
-libpath:../../../../../lib -libpath:../../../../../../omniORB/omniORB_304/lib/x86_win32
ChildFrm.obj ListViewEx.obj LogConsumer.obj
LogConsumerDoc.obj LogConsumerView.obj MainFrm.obj OpenLoggerDialog.obj StdAfx.obj
LogConsumer.res
../../../../../../omniORB/omniORB_304/lib/x86_win32/omniDynamic304_rtd.lib
../../../../../../omniORB/omniORB_304/lib/x86_win32/omniORB304_rtd.lib
../../../../../../omniORB/omniORB_304/lib/x86_win32/omnithread2_rtd.lib
.../../../../../lib/rcld.lib ../../../../../lib/wintoolsd.lib
../../../../../lib/CosEventsd_304.lib .../../../../../lib/NameFinderd_304.lib
.../../../../../lib/Shutdownd_304.lib
../../../../../lib/DatabaseManagerd_304.lib .../../../../../lib/rtdbd_304.lib
../../../../../lib/messaged_304.lib
omniDynamic304_rtd.lib omniORB304_rtd.lib omnithread2_rtd.lib rcld.lib wintoolsd.lib
CosEventsd_304.lib NameFinderd_304.lib
Shutdownd_304.lib DatabaseManagerd_304.lib rtdbd_304.lib messaged_304.lib
Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
link -out:LogConsumerd_304.exe -debug -libpath:..\..\..\..\..\lib
-libpath:..\..\..\..\..\..\omniORB\omniORB_304\lib\x86_win32
-subsystem:windows -profile -libpath:..\..\..\..\..\lib
-libpath:..\..\..\..\..\..\omniORB\omniORB_304\lib\x86_win32 ChildFrm.obj
ListViewEx.obj LogConsumer.obj LogConsumerDoc.obj LogConsumerView.obj MainFrm.obj
OpenLoggerDialog.obj StdAfx.obj LogConsumer.res
..\..\..\..\..\..\omniORB\omniORB_304\lib\x86_win32\omniDynamic304_rtd.lib
..\..\..\..\..\..\omniORB\omniORB_304\lib\x86_win32\omniORB304_rtd.lib
..\..\..\..\..\..\omniORB\omniORB_304\lib\x86_win32\omnithread2_rtd.lib
..\..\..\..\..\lib\rcld.lib ..\..\..\..\..\lib\wintoolsd.lib
..\..\..\..\..\lib\CosEventsd_304.lib ...\..\..\..\..\lib\NameFinderd_304.lib
...\..\..\..\..\lib\Shutdownd_304.lib
..\..\..\..\..\lib\DatabaseManagerd_304.lib ...\..\..\..\..\lib\rtdbd_304.lib
..\..\..\..\..\lib\messaged_304.lib
omniDynamic304_rtd.lib omniORB304_rtd.lib omnithread2_rtd.lib rcld.lib wintoolsd.lib
CosEventsd_304.lib NameFinderd_304.lib
Shutdownd_304.lib DatabaseManagerd_304.lib rtdbd_304.lib messaged_304.lib
+ bscmake -oLogConsumer.bsc ChildFrm.sbr ListViewEx.sbr LogConsumer.sbr LogConsumerDoc.sbr
LogConsumerView.sbr MainFrm.sbr
OpenLoggerDialog.sbr StdAfx.sbr
Microsoft Browse Information Maintenance Utility Version 6.00.8168
Copyright (C) Microsoft Corp 1990-1998. All rights reserved.
make: Leaving directory
`/cygdrive/d/RJRDPC/dev/rjrclasslib/source/applications/LogConsumer/omniORB_304/debug'
Compilation finished at Thu Dec 19 13:25:16
------------------------------------------------------------------------------
Screen dump after crash:
------------------------------------------------------------------------------
$
Fatal error (11).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.
If you have access to the PROBLEMS file that came with your
version of XEmacs, please check to see if your crash is described
there, as there may be a workaround available.
Otherwise, please report this bug by running the send-pr
script included with XEmacs, or selecting `Send Bug Report'
from the help menu.
As a last resort send ordinary email to `crashes(a)xemacs.org'.
*MAKE SURE* to include the information in the command
M-x describe-installation.
If at all possible, *please* try to obtain a C stack backtrace;
it will help us immensely in determining what went wrong.
To do this, locate the core file that was produced as a result
of this crash (it's usually called `core' and is located in the
directory in which you started the editor, or maybe in your home
directory), and type
gdb /usr/local/bin/xemacs core
then type `where' when the debugger prompt comes up.
(If you don't have GDB on your system, you might have DBX,
or XDB, or SDB. A similar procedure should work for all of
these. Ask your system administrator if you need more help.)
Lisp backtrace follows:
looking-at("\\([^\n]*: Entering directory `\\([^\n]*\\)'$\\)\\|\\([^\n]*:
Leaving directory
`\\([^\n]*\\)'$\\)\\|\\(\\(\\([a-zA-Z]?:?[^:( \n]+\\)[:(][ ]*\\([0-9]+\\)\\([)
]\\|:\\([^0-9\n]\\|\\([0-9]+:\\)\\)\\)\\)\\|\\(\\(\\([a-zA-Z]:\\)?[^:( \n-]+\\)[:(][
]*\\([0-9]+\\)[:)
]\\)\\|\\(\\(Error\\|Warning\\) \\([a-zA-Z]?:?[^:( \n]+\\) \\([0-9]+\\)\\([)
]\\|:[^0-9\n]\\)\\)\\|\\([^\n]*[
:]\\([a-zA-Z]?:?[^:( \n]+\\)[:(](+[ ]*\\([0-9]+\\))[:) ]*$\\)\\|\\([^\n]*([
]*\\([a-zA-Z]?:?[^:( \n]+\\)[:(][
]*\\([0-9]+\\))\\)\\|\\([^ \n]+ (\\([0-9]+\\)) in \\([^ \n]+\\)\\)\\|\\([^\n]*in
\\([^(\n]+\\)(\\([0-9]+\\))$\\)\\|\\(\\(cfe\\|fort\\): [^:\n]*: \\([^ \n]*\\), line
\\([0-9]+\\):\\)\\|\\(^cc-[0-9]*
\\(cc\\|CC\\|f77\\): \\(REMARK\\|WARNING\\|ERROR\\) File = \\(.*\\), Line =
\\([0-9]*\\)\\)\\|\\(\\(\\|[^\n]* on \\)[Ll]ine[
]+\\([0-9]+\\)[ ]+of[
]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:\\)\\|\\([^\n]*\"\\([^,\" \n
]+\\)\", lines?
\\([0-9]+\\)\\([(.]\\([0-9]+\\))?\\)?[:., (-]\\)\\|\\([^\n]*rror: \\([^,\" \n
]+\\)[,:] \\(line \\)?\\([0-9]+\\):\\)\\|\\([^\n]*in
line \\([0-9]+\\) of file \\([^ \n]+[^. \n]\\)\\.? \\)\\|\\([EW],
\\([^(\n]*\\)(\\([0-9]+\\),[
]*\\([0-9]+\\)\\)\\|\\([a-zA-Z]?:?[^0-9 \n :]+:[ ]*\\([^ \n
:]+\\):\\([0-9]+\\):\\(\\([0-9]+\\)[: ]\\)?\\)\\|\\([^0-9
\n:]+:[ ]*\\([^ \n :]+\\):\\([0-9]+\\):\\(\\([0-9]+\\):\\)?[A-Za-z]:\\)\\|\\([^\n]*
\\([^ \n,\"]+\\), line
\\([0-9]+\\):\\)\\|\\([^\n]*: \\([^ \n,\"]+\\): \\([0-9]+\\):\\)\\|\\(\\(cc\\|
cft\\)-[0-9]+ c\\(c\\|f77\\): ERROR \\([^,\n]+, \\)*
File = \\([^,\n]+\\), Line = \\([0-9]+\\)\\)\\|\\(\\([^( \n
]+\\)(\\([0-9]+\\):\\([0-9]+\\)) : \\)\\|\\(\\([^, \n ]+\\), line
\\([0-9]+\\), char \\([0-9]+\\)[:., (-]\\)\\)")
# bind (orig orig-expanded parent-expanded regexp enter-group leave-group error-group
alist subexpr error-regexp-groups
found-desired compilation-num-errors-found message-freq find-at-least limit-search)
compilation-parse-errors(nil 0)
# bind (error-list-pos)
byte-code("..." [compilation-parsing-end error-list-pos limit-search
compilation-last-buffer find-at-least compilation-error-list
t compilation-forget-errors get-buffer-window select-window switch-to-buffer
set-buffer-modified-p nil w compilation-old-error-list
reparse compilation-parse-errors-function] 5)
# (unwind-protect ...)
# (unwind-protect ...)
# bind (find-at-least limit-search reparse)
compile-reinitialize-errors(nil nil 0)
# bind (silent reparse move)
compilation-next-error-locus(1 nil)
# bind (argp)
next-error(nil)
# bind (command-debug-status)
call-interactively(next-error)
# (condition-case ... . error)
# (catch top-level ...)
[1]+ Segmentation fault xemacs
------------------------------------------------------------------------------
-----------------------------------------
CONFIDENTIALITY NOTE: This e-mail message, including any
attachment(s), contains information that may be confidential,
protected by the attorney-client or other legal privileges, and/or
proprietary non-public information. If you are not an intended
recipient of this message or an authorized assistant to an intended
recipient, please notify the sender by replying to this message and
then delete it from your system. Use, dissemination, distribution,
or reproduction of this message and/or any of its attachments (if
any) by unintended recipients is not authorized and may be unlawful.
Show replies by date
>>>> "Bruce" == Bruce Visscher <Visscher>
writes:
Bruce> Somewhat recent (~3 months ago?) download of the "gamma" branch.
[...]
Bruce> Lisp bactrace:
Bruce> looking-at(***bloody-huge-regexp***)
[...]
Bruce> [1]+ Segmentation fault xemacs
Probably stack-too-small lossage. The regexp interpreter keeps a
stack for backtracking, and dynamically resizes it using alloca.
Normally it stays under 1k, but in rare cases it can balloon to
several megabytes. Apparently there is no way to detect a hosed
alloca, you just lose.
(1) Increase your stack. I _think_ the version you're running is old
enough to have missed the several rounds of stack increase that Andy
put in the most recent netinstaller versions. You may be able to do
this on the existing binary with appropriate tools. (I don't do
Windows, so can't help on that.) Or upgrade, rebuilding if you like
from current sources. (21.4.11 will probably be released before the
new year, you may want to wait for that.)
(2) Rebuild from current sources, this time compiling regex.c with
-DREGEX_MALLOC in CFLAGS.
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.