>>>> "Dave" == Dave Goldberg
<dsg(a)mitre.org> writes:
Dave> What happened: XEmacs crashed with core dump. Occasionally
Dave> I would get a (seemingly random) lisp error instead.
Dave> Problem happens during load of ~/.eudc-options.
You've got bad bytecode from somewhere:
#7 0x8091d67 in execute_rare_opcode (stack_ptr=0xbfffd3e4,
program_ptr=0x871a5c6 "*\bìñ(\b\\F(\bäÆ]\b!", opcode=185)
at bytecode.c:1479
#8 0x8090f5b in execute_optimized_program (
program=0x871a5b8 "d\220u\b´Dn\bd¼*\bô¹*\bìñ(\b\\F(\bäÆ]\b!",
stack_depth=4, constants_data=0x86ab230) at bytecode.c:658
The `¹' (compare frame #7 with frame #8) is not a legal bytecode. One
possibility is it's supposed to be immediate data, but somehow XEmacs
is not advancing program_ptr correctly.
Dave> One note, removing the eudc .elc files seems to be a
Dave> workaround so perhaps there's a byte-compiler issue on
Dave> linux.
I doubt it; the byte-compiler is all in Lisp. However, if you can
isolate which one I'd be much obliged---I don't seem to have an .elc
containing that bytecode. So, my guess is .elcs compiled with GNU
Emacs. Try removing the .elcs, loading _all_ the files in that
directory, then executing M-x byte-recompile-directory in that
directory. (You could also try comparing the .elcs across the
different platforms.)
If that doesn't help, then the fact that the same code works on other
platforms, combined with the Linux vendor being "Red Card", indicates
a GCC optimization which screws up the bytecode interpreter. What
version of GCC (gcc --version) are you using?
We may need to disable some optimization.
Dave> Compiler: gcc -g -O3 -Wall -Wno-switch -Winline
Dave> -Wmissing-prototypes -Wsign-compare -Wshadow
Maybe CFLAGS=-no-strict-aliasing would help.
Two more tries: (a) CFLAGS=-O2 in the environment and (b)
--use-union-type to ./configure.
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
My nostalgia for Icon makes me forget about any of the bad things. I don't
have much nostalgia for Perl, so its faults I remember. Scott Gilbert c.l.py