I was fooling around trying to arrange that a CCL coding system _not_
to encoding (since most of them will destroy data). I set the encoder
for Windows-1250 to nil, tried to save (C-x C-s) a file that I read
with C-u C-x C-f cp1250.raw RET windows-1250 RET, and boom!
Installation, Lisp bactrace, and C backtrace attached.
Repeatable with xemacs -vanilla
M-x load-file RET cp1250.el RET
C-u C-x C-f cp1250.raw RET
SPACE BACKSPACE
C-x C-s
cp1250.* attached.
uname -a: Linux tleepslib 2.4.0-test7 #1 Thu Sep 7 18:30:33 JST 2000 i686 unknown
/coda/Projects/XEmacs/21.2-HEAD/configure '--srcdir=/coda/Projects/XEmacs/21.2-HEAD' '--with-widgets=athena' '--with-athena=3d' '--with-dialogs=athena' '--with-sound=none,nas' '--with-mule' '--with-xim=xlib' '--with-xfs' '--use-union-type' '--pdump'
XEmacs 21.2-b36 "Notus" configured for `i686-pc-linux'.
Compilation / Installation:
Source code location: /coda/Projects/XEmacs/21.2-HEAD
Installation prefix: /usr/local
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Wpointer-arith -Winline -Wmissing-prototypes -Wshadow
Relocating allocator for buffers: no
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw3d
- Athena library to link: Xaw3d
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Using Athena native widgets.
TTY:
Compiling in support for ncurses.
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Sound:
Compiling in support for NAS (network audio system).
Databases:
Compiling in support for Berkeley database.
Compiling in support for PostgreSQL.
- Using PostgreSQL header file: postgresql/libpq-fe.h
- Using PostgreSQL V7 bindings.
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Compiling in support for XIM (X11R5+ I18N input method).
- Using raw Xlib to provide XIM support.
- Using XFontSet to provide bilingual menubar.
Compiling in support for Canna on Mule.
Compiling in support for the WNN input method on Mule.
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Compiling in support for dynamic shared object modules.
Using the union type for Lisp_Objects.
Using the new portable dumper.
Compiling in support for extra debugging code.
WARNING: ---------------------------------------------------------
WARNING: Compiling in support for runtime error checking.
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------
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 /home/steve/Projects/XEmacs/Builds/21.2/src/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:
# (unwind-protect ...)
# (unwind-protect ...)
write-region-internal(1 267 "/coda/Projects/XEmacs/21.2-HEAD/lisp/mule/cp1250.raw" nil t "/coda/Projects/XEmacs/21.2-HEAD/lisp/mule/cp1250.raw" #<coding_system windows-1250-unix>)
# bind (func coding-system lockname visit append filename end start)
write-region(1 267 "/coda/Projects/XEmacs/21.2-HEAD/lisp/mule/cp1250.raw" nil t "/coda/Projects/XEmacs/21.2-HEAD/lisp/mule/cp1250.raw")
# bind (region-written hooks truename realname)
basic-write-file-data("/coda/Projects/XEmacs/21.2-HEAD/lisp/mule/cp1250.raw" "/coda/Projects/XEmacs/21.2-HEAD/lisp/mule/cp1250.raw")
# bind (dir setmodes tempsetmodes)
basic-save-buffer-1()
# bind (hooks after-save-hook local-write-file-hooks write-contents-hooks write-file-hooks done)
# (unwind-protect ...)
# bind (recent-save)
# (unwind-protect ...)
basic-save-buffer()
# bind (modp large make-backup-files args)
save-buffer(1)
# bind (command-debug-status)
call-interactively(save-buffer)
# (condition-case ... . error)
# (catch top-level ...)
GNU gdb 5.0
Copyright 2000 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-linux-gnu"...
Core was generated by `src/xemacs -vanilla'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libaudio.so.1...done.
Loaded symbols for /usr/lib/libaudio.so.1
Reading symbols from /usr/lib/libcanna.so.1...done.
Loaded symbols for /usr/lib/libcanna.so.1
Reading symbols from /usr/lib/libRKC.so.1...done.
Loaded symbols for /usr/lib/libRKC.so.1
Reading symbols from /usr/X11R6/lib/libXaw3d.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXaw3d.so.6
Reading symbols from /usr/lib/libtiff.so.3...done.
Loaded symbols for /usr/lib/libtiff.so.3
Reading symbols from /usr/lib/libpng.so.2...done.
Loaded symbols for /usr/lib/libpng.so.2
Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
Loaded symbols for /usr/X11R6/lib/libXpm.so.4
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXmu.so.6
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXt.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libdb2.so.2...done.
Loaded symbols for /usr/lib/libdb2.so.2
Reading symbols from /lib/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /usr/lib/libpq.so.2.1...done.
Loaded symbols for /usr/lib/libpq.so.2.1
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libutil.so.1...done.
Loaded symbols for /lib/libutil.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
#0 0x40396e71 in kill () from /lib/libc.so.6
(gdb) where
#0 0x40396e71 in kill () from /lib/libc.so.6
#1 0x80c755f in fatal_error_signal (sig=11)
at /coda/Projects/XEmacs/21.2-HEAD/src/emacs.c:531
#2 0x40396da8 in sigaction () from /lib/libc.so.6
#3 0x8109c78 in mule_encode (encoding=0x8491b10, src=0x858f2c8 "",
dst=0x8555d70, n=372)
at /coda/Projects/XEmacs/21.2-HEAD/src/file-coding.c:2850
#4 0x8111b02 in encoding_writer (stream=0x8491b10, data=0x858f2c8 "",
size=372) at /coda/Projects/XEmacs/21.2-HEAD/src/file-coding.c:2681
#5 0x81b3a1c in Lstream_flush_out (lstr=0x8491b10)
at /coda/Projects/XEmacs/21.2-HEAD/src/lstream.c:343
#6 0x81b3f61 in Lstream_close (lstr=0x8491b10)
at /coda/Projects/XEmacs/21.2-HEAD/src/lstream.c:372
#7 0x81506b5 in Fwrite_region_internal (start={gu = {
type = Lisp_Type_Int_Odd, val = 0}, s = {bits = 1, val = 1}, u = {
bits = 1, val = 1}, ui = 3, i = 3, v = 0x3, cv = 0x3}, end={gu = {
type = Lisp_Type_Int_Odd, val = 133}, s = {bits = 1, val = 267}, u = {
bits = 1, val = 267}, ui = 535, i = 535, v = 0x217, cv = 0x217},
filename={gu = {type = Lisp_Type_Record, val = 34796633}, s = {bits = 0,
val = 69593266}, u = {bits = 0, val = 69593266}, ui = 139186532,
i = 139186532, v = 0x84bd164, cv = 0x84bd164}, append={gu = {
type = Lisp_Type_Record, val = 269853438}, s = {bits = 0,
val = 539706876}, u = {bits = 0, val = 539706876}, ui = 1079413752,
i = 1079413752, v = 0x40568bf8, cv = 0x40568bf8}, visit={gu = {
type = Lisp_Type_Record, val = 269853132}, s = {bits = 0,
val = 539706264}, u = {bits = 0, val = 539706264}, ui = 1079412528,
i = 1079412528, v = 0x40568730, cv = 0x40568730}, lockname={gu = {
type = Lisp_Type_Record, val = 34796837}, s = {bits = 0,
val = 69593674}, u = {bits = 0, val = 69593674}, ui = 139187348,
i = 139187348, v = 0x84bd494, cv = 0x84bd494}, codesys={gu = {
type = Lisp_Type_Record, val = 35049324}, s = {bits = 0,
val = 70098648}, u = {bits = 0, val = 70098648}, ui = 140197296,
i = 140197296, v = 0x85b3db0, cv = 0x85b3db0})
at /coda/Projects/XEmacs/21.2-HEAD/src/fileio.c:3312
#8 0x80d1c3a in Ffuncall (nargs=8, args=0xbfffe6f8)
at /coda/Projects/XEmacs/21.2-HEAD/src/eval.c:3528
#9 0x809d0be in execute_optimized_program (
program=0x856c3a0 "\016\031®\030ÆÇ\n\t\f\b\013\016\025&\a®\013\r®\b\016\032®\004È\f!\211\025:«\003\r\207É\rÊ\"\211\036\026«9pËÌ!Í \036\e\036\027\036\030Î\216\212\016\027q\210Ï \210Ð\016\030\n\t#\210\016\026ed\"\210Ñed\f\b\013Òa?\002\013\016\025\r&\a\210-ª\rÑ\n\t\f\b\013\016\025\r&\a\210)ÓÔ\n\t\f\b\013\016\025\r&\b\207", stack_depth=10, constants_data=0x4061a670)
at /coda/Projects/XEmacs/21.2-HEAD/src/bytecode.c:746
#10 0x809cc44 in funcall_compiled_function (fun={gu = {
type = Lisp_Type_Record, val = 270079598}, s = {bits = 0,
val = 540159196}, u = {bits = 0, val = 540159196}, ui = 1080318392,
i = 1080318392, v = 0x406459b8, cv = 0x406459b8}, nargs=6,
args=0xbfffe96c) at /coda/Projects/XEmacs/21.2-HEAD/src/bytecode.c:518
#11 0x80d1d10 in Ffuncall (nargs=7, args=0xbfffe968)
at /coda/Projects/XEmacs/21.2-HEAD/src/eval.c:3563
#12 0x809d0be in execute_optimized_program (
program=0x84d4920 "Å\t\034\e\f«\017\013¬\f\f@\n!\023\fA\211\024¬ó\013?\nÆed\nÅÇ\b&\006*\207\021", stack_depth=8, constants_data=0x4061a5c8)
at /coda/Projects/XEmacs/21.2-HEAD/src/bytecode.c:746
#13 0x809cc44 in funcall_compiled_function (fun={gu = {
type = Lisp_Type_Record, val = 270079584}, s = {bits = 0,
val = 540159168}, u = {bits = 0, val = 540159168}, ui = 1080318336,
i = 1080318336, v = 0x40645980, cv = 0x40645980}, nargs=2,
args=0xbfffebdc) at /coda/Projects/XEmacs/21.2-HEAD/src/bytecode.c:518
#14 0x80d1d10 in Ffuncall (nargs=3, args=0xbfffebd8)
at /coda/Projects/XEmacs/21.2-HEAD/src/eval.c:3563
#15 0x809d0be in execute_optimized_program (
program=0x85994f0 "Æ\211\036$\eÇ\r!¬1È\r!\034É\f!¬\bÊË\f\"\210ª Ì\r!¬\bÊÍ\f\"\210ª\024ÎÏÐÑ\r!\"!«\006Ò\026$ª\005ÊÓ!\210)\016(¬\004Ô \023È\r!\034\016)«OÇ\f!«J\rÆ\211\211\211Õ \036*\036%\032\030\031\036&Ö\022Ò\020\b«\020Ï×\f\n#\021Ì\t!\020\nT\022ªïØ\216Ù \210Úed\tÆ\016&\016'&\006\210Ò\026%)Û\r!\023Ü\t\rÒ#\210.\006ª\027\016$«\r\013¬\nÛ\r!\023Ý\rÞ\"\210ß\r\016'\"\210)\r\006àá\r!8\026+\013\005Æâã\217*\207 84\031", stack_depth=7, constants_data=0x4061d39c)
at /coda/Projects/XEmacs/21.2-HEAD/src/bytecode.c:746
#16 0x809cc44 in funcall_compiled_function (fun={gu = {
type = Lisp_Type_Record, val = 270080816}, s = {bits = 0,
val = 540161632}, u = {bits = 0, val = 540161632}, ui = 1080323264,
i = 1080323264, v = 0x40646cc0, cv = 0x40646cc0}, nargs=0,
args=0xbfffee3c) at /coda/Projects/XEmacs/21.2-HEAD/src/bytecode.c:518
#17 0x80d1d10 in Ffuncall (nargs=1, args=0xbfffee38)
at /coda/Projects/XEmacs/21.2-HEAD/src/eval.c:3563
#18 0x809d0be in execute_optimized_program (
program=0x85bab68 "\212Æ «\005Æ q\210Ç \203º", stack_depth=7,
constants_data=0x4061d488)
at /coda/Projects/XEmacs/21.2-HEAD/src/bytecode.c:746
#19 0x809cc44 in funcall_compiled_function (fun={gu = {
type = Lisp_Type_Record, val = 270080830}, s = {bits = 0,
val = 540161660}, u = {bits = 0, val = 540161660}, ui = 1080323320,
i = 1080323320, v = 0x40646cf8, cv = 0x40646cf8}, nargs=0,
args=0xbffff09c) at /coda/Projects/XEmacs/21.2-HEAD/src/bytecode.c:518
#20 0x80d1d10 in Ffuncall (nargs=1, args=0xbffff098)
at /coda/Projects/XEmacs/21.2-HEAD/src/eval.c:3563
#21 0x809d0be in execute_optimized_program (
program=0x84df228 "Å Æ ÇV\n«\a\fÈa?®\004\fÉs\032\031\211\e«\b\fÊs«\003Ë\020\013«\r\t«\nÌÍÎÏÐ \"\"\210Ñ \210\013\t\fÒs\004Ë\211\020+\207", stack_depth=6,
constants_data=0x4061d550)
at /coda/Projects/XEmacs/21.2-HEAD/src/bytecode.c:746
#22 0x809cc44 in funcall_compiled_function (fun={gu = {
type = Lisp_Type_Record, val = 270080837}, s = {bits = 0,
val = 540161674}, u = {bits = 0, val = 540161674}, ui = 1080323348,
i = 1080323348, v = 0x40646d14, cv = 0x40646d14}, nargs=1,
args=0xbffff308) at /coda/Projects/XEmacs/21.2-HEAD/src/bytecode.c:518
#23 0x80d1d10 in Ffuncall (nargs=2, args=0xbffff304)
at /coda/Projects/XEmacs/21.2-HEAD/src/eval.c:3563
#24 0x80a3a4f in Fcall_interactively (function={gu = {type = Lisp_Type_Record,
val = 269830602}, s = {bits = 0, val = 539661204}, u = {bits = 0,
val = 539661204}, ui = 1079322408, i = 1079322408, v = 0x40552728,
cv = 0x40552728}, record_flag={gu = {type = Lisp_Type_Record,
val = 269853438}, s = {bits = 0, val = 539706876}, u = {bits = 0,
val = 539706876}, ui = 1079413752, i = 1079413752, v = 0x40568bf8,
cv = 0x40568bf8}, keys={gu = {type = Lisp_Type_Record, val = 269853438},
s = {bits = 0, val = 539706876}, u = {bits = 0, val = 539706876},
ui = 1079413752, i = 1079413752, v = 0x40568bf8, cv = 0x40568bf8})
at /coda/Projects/XEmacs/21.2-HEAD/src/callint.c:946
#25 0x80d0564 in Fcommand_execute (cmd={gu = {type = Lisp_Type_Record,
val = 269830602}, s = {bits = 0, val = 539661204}, u = {bits = 0,
val = 539661204}, ui = 1079322408, i = 1079322408, v = 0x40552728,
cv = 0x40552728}, record_flag={gu = {type = Lisp_Type_Record,
val = 269853438}, s = {bits = 0, val = 539706876}, u = {bits = 0,
val = 539706876}, ui = 1079413752, i = 1079413752, v = 0x40568bf8,
cv = 0x40568bf8}, keys={gu = {type = Lisp_Type_Record, val = 269853438},
s = {bits = 0, val = 539706876}, u = {bits = 0, val = 539706876},
ui = 1079413752, i = 1079413752, v = 0x40568bf8, cv = 0x40568bf8})
at /coda/Projects/XEmacs/21.2-HEAD/src/eval.c:2970
#26 0x813299b in execute_command_event (command_builder=0x8490f60, event={
gu = {type = Lisp_Type_Record, val = 35025746}, s = {bits = 0,
val = 70051492}, u = {bits = 0, val = 70051492}, ui = 140102984,
i = 140102984, v = 0x859cd48, cv = 0x859cd48})
at /coda/Projects/XEmacs/21.2-HEAD/src/event-stream.c:3864
#27 0x81333dc in Fdispatch_event (event={gu = {type = Lisp_Type_Record,
val = 35025746}, s = {bits = 0, val = 70051492}, u = {bits = 0,
val = 70051492}, ui = 140102984, i = 140102984, v = 0x859cd48,
cv = 0x859cd48})
at /coda/Projects/XEmacs/21.2-HEAD/src/event-stream.c:4182
#28 0x80ac8a6 in Fcommand_loop_1 ()
at /coda/Projects/XEmacs/21.2-HEAD/src/cmdloop.c:583
#29 0x80acb7d in command_loop_1 (dummy={gu = {type = Lisp_Type_Record,
val = 269853438}, s = {bits = 0, val = 539706876}, u = {bits = 0,
val = 539706876}, ui = 1079413752, i = 1079413752, v = 0x40568bf8,
cv = 0x40568bf8}) at /coda/Projects/XEmacs/21.2-HEAD/src/cmdloop.c:494
#30 0x80cd028 in condition_case_1 (handlers={gu = {type = Lisp_Type_Record,
val = 269853342}, s = {bits = 0, val = 539706684}, u = {bits = 0,
val = 539706684}, ui = 1079413368, i = 1079413368, v = 0x40568a78,
cv = 0x40568a78}, bfun=0x80acb34 <command_loop_1>, barg={gu = {
type = Lisp_Type_Record, val = 269853438}, s = {bits = 0,
val = 539706876}, u = {bits = 0, val = 539706876}, ui = 1079413752,
i = 1079413752, v = 0x40568bf8, cv = 0x40568bf8},
hfun=0x80acc10 <cmd_error>, harg={gu = {type = Lisp_Type_Record,
val = 269853438}, s = {bits = 0, val = 539706876}, u = {bits = 0,
val = 539706876}, ui = 1079413752, i = 1079413752, v = 0x40568bf8,
cv = 0x40568bf8}) at /coda/Projects/XEmacs/21.2-HEAD/src/eval.c:1651
#31 0x80acd53 in command_loop_2 (dummy={gu = {type = Lisp_Type_Record,
val = 269853438}, s = {bits = 0, val = 539706876}, u = {bits = 0,
val = 539706876}, ui = 1079413752, i = 1079413752, v = 0x40568bf8,
cv = 0x40568bf8}) at /coda/Projects/XEmacs/21.2-HEAD/src/cmdloop.c:256
#32 0x80d69e7 in internal_catch (tag={gu = {type = Lisp_Type_Record,
val = 269804292}, s = {bits = 0, val = 539608584}, u = {bits = 0,
val = 539608584}, ui = 1079217168, i = 1079217168, v = 0x40538c10,
cv = 0x40538c10}, func=0x80acd0c <command_loop_2>, arg={gu = {
type = Lisp_Type_Record, val = 269853438}, s = {bits = 0,
val = 539706876}, u = {bits = 0, val = 539706876}, ui = 1079413752,
i = 1079413752, v = 0x40568bf8, cv = 0x40568bf8}, threw=0x0)
at /coda/Projects/XEmacs/21.2-HEAD/src/eval.c:1317
#33 0x80ac06e in initial_command_loop (load_me={gu = {type = Lisp_Type_Record,
val = 269853438}, s = {bits = 0, val = 539706876}, u = {bits = 0,
val = 539706876}, ui = 1079413752, i = 1079413752, v = 0x40568bf8,
cv = 0x40568bf8}) at /coda/Projects/XEmacs/21.2-HEAD/src/cmdloop.c:305
#34 0x80c87e4 in sort_args (argc=2, argv=0xbffffcd4)
at /coda/Projects/XEmacs/21.2-HEAD/src/emacs.c:2231
#35 0x80ca9fb in main (argc=2, argv=0xbffffcd4, envp=0xbffffce0)
at /coda/Projects/XEmacs/21.2-HEAD/src/emacs.c:2598
#36 0x40387bcc in __libc_start_main () from /lib/libc.so.6
(gdb) quit
--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091
_________________ _________________ _________________ _________________
What are those straight lines for? "XEmacs rules."