This bug report will be sent to the XEmacs Development Team,
not to your local site managers!!
Please write in English, because the XEmacs maintainers do not have
translators to read other languages for them.
In XEmacs 21.2 "Aether" [Lucid] (sparc-sun-solaris2.5.1, Mule) of Tue Oct 20
1998 on lamp
configured using `configure sparc-sun-solaris2.5.1 --cflags=-O2
--x-includes=/usr/openwin/include --x-libraries=/usr/openwin/lib --with-gcc --with-x
--with-gnu-make --with-dragndrop=no --with-cde=no --with-offix=no
--prefix=/usr/local-lamp/xemacs --with-mule --with-wnn6 --with-canna
--site-includes=/opt/Wnn6/include:/usr/local-lamp/canna/include:/usr/local-lamp/include
--site-libraries=/opt/Wnn6/lib:/usr/local-lamp/lib --with-xpm --with-xface --with-jpeg
--with-png --with-tiff --with-tooltalk --with-site-lisp'
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
I concatenate iso-2022-jp encoded text and euc-jp encoded text.
I open this file with XEmacs, and crash!!
Example
When XEmacs eval follow elisp code, crash.
---------------------------------------------------------------------------
(require 'mcharset) ; load APEL package
(setq jis (mapconcat 'char-to-string '(?\^[ ?\$ ?B ?\$ ?\" ?\^[ ?\( ?B)
""))
(setq euc (encode-mime-charset-string
(decode-mime-charset-string jis 'iso-2022-jp)
'euc-jp))
(setq jiseuc (concat jis euc))
;; fatal error (6) is happen at next line.
(decode-mime-charset-string jiseuc 'automatic-conversion)
---------------------------------------------------------------------------
XEmacs crash messages:
Fatal error: assertion failed, file mule-charset.h, line 485, RECORD_TYPEP (_obj,
lrecord_charset) || MARKED_RECORD_P (_obj)
Fatal error (6).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.
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-lamp/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:
decode-coding-region(1 11 automatic-conversion)
# bind (cs lbt charset end start)
decode-mime-charset-region-default(1 11 automatic-conversion nil)
# bind (func lbt charset end start)
decode-mime-charset-region(1 11 automatic-conversion nil)
# (unwind-protect ...)
# (unwind-protect ...)
# bind (temp-buffer lbt charset string)
decode-mime-charset-string("~~~~" automatic-conversion)
eval((decode-mime-charset-string jiseuc (quote automatic-conversion)))
# bind (expr)
eval-interactive((decode-mime-charset-string jiseuc (quote automatic-conversion)))
# bind (standard-output opoint ignore-quotes eval-last-sexp-arg-internal)
eval-last-sexp(nil)
# bind (command-debug-status)
call-interactively(eval-last-sexp)
# (condition-case ... . error)
# (catch top-level ...)
C stack backtrace:
#0 0xef0f40d8 in kill ()
#1 0x93f50 in fatal_error_signal ()
#2 <signal handler called>
#3 0xef0f40d8 in kill ()
#4 0x9668c in assert_failed ()
#5 0xd8ac4 in decode_coding_iso2022 ()
#6 0xd313c in mule_decode ()
#7 0xd28d0 in decoding_writer ()
#8 0x17619c in Lstream_flush_out ()
#9 0x176234 in Lstream_flush ()
#10 0xd3ab8 in encoding_flusher ()
#11 0x17621c in Lstream_flush_out ()
#12 0x176234 in Lstream_flush ()
#13 0x176978 in Lstream_pseudo_close ()
#14 0x17699c in Lstream_close ()
#15 0xd34f8 in Fdecode_coding_region ()
#16 0x9c90c in funcall_recording_as ()
#17 0x9cc58 in Ffuncall ()
#18 0x649bc in Fbyte_code ()
#19 0x9df28 in funcall_lambda ()
#20 0x9cc04 in funcall_recording_as ()
#21 0x9cc58 in Ffuncall ()
#22 0x649bc in Fbyte_code ()
#23 0x9df28 in funcall_lambda ()
#24 0x9cc04 in funcall_recording_as ()
#25 0x9cc58 in Ffuncall ()
#26 0x649bc in Fbyte_code ()
#27 0x9df28 in funcall_lambda ()
#28 0x9d6f8 in apply_lambda ()
#29 0x9c500 in Feval ()
#30 0x9ca10 in funcall_recording_as ()
#31 0x9cc58 in Ffuncall ()
#32 0x649bc in Fbyte_code ()
#33 0x9df28 in funcall_lambda ()
#34 0x9cc04 in funcall_recording_as ()
#35 0x9cc58 in Ffuncall ()
#36 0x649bc in Fbyte_code ()
#37 0x9df28 in funcall_lambda ()
#38 0x9cc04 in funcall_recording_as ()
#39 0x9cc58 in Ffuncall ()
#40 0x67c18 in Fcall_interactively ()
#41 0x9b260 in Fcommand_execute ()
#42 0x102d98 in execute_command_event ()
#43 0x103f14 in Fdispatch_event ()
#44 0x739d4 in Fcommand_loop_1 ()
#45 0x73624 in command_loop_1 ()
#46 0x99aa4 in condition_case_1 ()
#47 0x72878 in command_loop_3 ()
#48 0x728a0 in command_loop_2 ()
#49 0x99618 in internal_catch ()
#50 0x72d14 in initial_command_loop ()
#51 0x95468 in xemacs_21_2_b2_sparc_sun_solaris2_5_1 ()
#52 0x95c10 in main ()
describe-installation message:
uname -a: SunOS lamp 5.5.1 Generic sun4u sparc SUNW,Ultra-1
./configure 'sparc-sun-solaris2.5.1' '--cflags=-O2'
'--x-includes=/usr/openwin/include' '--x-libraries=/usr/openwin/lib'
'--with-gcc' '--with-x' '--with-gnu-make'
'--with-dragndrop=no' '--with-cde=no' '--with-offix=no'
'--prefix=/usr/local-lamp/xemacs' '--with-mule' '--with-wnn6'
'--with-canna'
'--site-includes=/opt/Wnn6/include:/usr/local-lamp/canna/include:/usr/local-lamp/include'
'--site-libraries=/opt/Wnn6/lib:/usr/local-lamp/lib' '--with-xpm'
'--with-xface' '--with-jpeg' '--with-png' '--with-tiff'
'--with-tooltalk' '--with-site-lisp'
XEmacs 21.2-b2 "Aether" configured for `sparc-sun-solaris2.5.1'.
Where should the build process find the source code?
/export/home/fukui/work/kumo/xemacs-21.2b2/xemacs-21.2-b2
What installation prefix should install use? /usr/local-lamp/xemacs
What operating system and machine description files should XEmacs use?
`s/sol2.h' and `m/sparc.h'
What compiler should XEmacs be built with? gcc -O2
Should XEmacs use the GNU version of malloc? yes
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? x11
Where do we find X Windows header files? /usr/dt/include
/usr/openwin/include
Where do we find X Windows libraries? /usr/dt/lib /usr/openwin/lib
Additional header files: /opt/Wnn6/include
/usr/local-lamp/canna/include /usr/local-lamp/include
Additional libraries: /opt/Wnn6/lib
/usr/local-lamp/lib
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for PNG image handling.
Compiling in support for (builtin) GIF image handling.
Compiling in support for JPEG image handling.
Compiling in support for TIFF image handling.
Compiling in support for X-Face message headers.
Compiling in native sound support.
Compiling in support for Berkeley DB.
Compiling in support for GNU DBM.
Compiling in Mule (multi-lingual) support.
Compiling in XIM (X11R5+ I18N input method) support.
Using Motif to provide XIM support.
Compiling in support for Canna on Mule.
Compiling in support for the WNN input method on Mule.
Using WNN version 6.
Compiling in support for ToolTalk.
Compiling in support for proper session-management.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Compiling in DLL support.
movemail will use "dot-locking" for locking mail spool files.
Compiling in extra code for debugging.
Compiling in code for checking XEmacs memory usage.
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: ---------------------------------------------------------
Recent keystrokes:
C-h t m SPC SPC x e SPC SPC SPC SPC l SPC SPC C-m C-v
C-v M-v M-v M-v C-v C-v M-v M-v M-v C-n C-n C-v C-v
M-v M-v M-v C-n C-n C-n C-p C-p C-p C-n C-n C-n C-n
C-n C-n C-n C-n C-v M-v M-v M-v C-v C-v C-x o C-x o
C-x o C-x o C-x 1 C-x 2 C-x C-f x e SPC SPC SPC g SPC
SPC SPC C-m C-v C-v C-v C-x C-f x e SPC SPC SPC SPC
d SPC SPC SPC SPC SPC C-m C-v C-v C-v M-v M-v misc
-user
Recent messages (most recent first):
Loading mime-edit...done
Loading mime-edit...
Parsing /export/home/fukui/.mailrc... done
Parsing /export/home/fukui/.mailrc...
Loading mail-abbrevs...done
Loading mail-abbrevs...
Loading emacsbug...done
Loading emacsbug...
Making completion list...
Making completion list...