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.
Please describe as succinctly as possible:
- What happened.
- What you thought should have happened.
- Precisely what you were doing at the time.
Please also include any C or lisp back-traces that you may have.
================================================================
Dear Bug Team!
I tried compiling xemacs v.21.5.4 with Wnn6 capabilities on a Sun Blade
100/Solaris 8 computer. I compiled with the Wnn6 option so that I could
send e-mail (with the vm program) in Japanese. However, I do not want
xemacs in a "Japanese language" mode, i.e., I don't want all the menus and
information appearing as Japanese text. I am not Japanese, but I
have many colleagues who are, and it is convenient to write to them
directly in Japanese. So I only want Wnn6 to use to convert my occaisional
e-mails into Japanese characters.
Xemacs compiled nicely, and I even got it to start up. But as soon as I
tried to start some Japanese character writing, I got a fatal error. My
method was as follows:
% xemacs
Then within xemacs, without visiting any files, but from the *scratch*
buffer in Fundamental mode:
C-\
Input-method: japanese-egg-wnn
And then I start typing. The entering of phonetic characters (kana) works
fine. It is when I try to convert from phonetic characters (kana) to the
ideograph characters (kanji) that the error occurs, and xemacs shuts down
with a segmentation fault.
Any advice you can offer would be greatly appreciated. Thanks for your
help.
-Anthony Toigo
Lisp backtrace follows:
wnn-server-fisys-dict-add("iwanami/fisd" "usr/toigo/fisd.h" t nil)
# bind (hpaswd hmode hfile dfile)
add-wnn-fisys-dict("iwanami/fisd" "usr/toigo/fisd.h" t)
wnn6-jserver-setup()
(if (is-wnn6-server) (wnn6-jserver-setup) (wnn4-jserver-setup))
(cond ((eq wnn-server-type ...) (if ... ... ...)) ((eq wnn-server-type ...)
(set-wnn-reverse nil) (set-wnn-fuzokugo "sys/full.con") (add-wnn-dict
"sys/level_1.dic" ... 4 nil t) (add-wnn-dict "sys/level_2.dic" ... 1
nil t) (add-wnn-dict "sys/basic.dic" ... 7 nil t) (add-wnn-dict ... ""
5 t t) (wnn-server-set-param ...) (set-wnn-reverse t) (set-wnn-fuzokugo
"sys/full.con") (add-wnn-dict "sys/level_1.dic" ... 4 nil t)
(add-wnn-dict "sys/level_2.dic" ... 1 nil t) (add-wnn-dict
"sys/basic.dic" ... 7 nil t) (add-wnn-dict ... "" 5 t t)
(wnn-server-set-param ...)) ((eq wnn-server-type ...) (set-wnn-reverse nil)
(set-wnn-fuzokugo "sys/full.con") (add-wnn-dict "sys/cns_ch.dic" ... 4
nil t) (add-wnn-dict "sys/cns_wd.dic" ... 1 nil t) (add-wnn-dict ...
"" 5 t t) (wnn-server-set-param ...) (set-wnn-reverse t) (set-wnn-fuzokugo
"sys/full.con") (add-wnn-dict "sys/cns_ch.dic" ... 4 nil t)
(add-wnn-dict "sys/cns_wd.dic" ... 1 nil t) (add-wnn-dict ... "" 5 t
t) (wnn-server-set-param ...)) (!
(eq wnn-server-type ...) (set-wnn-reverse nil) (set-wnn-fuzokugo "sys/full.fzk")
(add-wnn-dict "sys/single.dic" ... 1 nil t) (add-wnn-dict ... "" 5 t
t) (wnn-server-set-param ...) (set-wnn-reverse t) (set-wnn-fuzokugo
"sys/full.fzk") (add-wnn-dict "sys/single.dic" ... 1 nil t)
(add-wnn-dict ... "" 5 t t) (wnn-server-set-param ...)))
# bind (current-load-list)
# (unwind-protect ...)
# bind (load-file-name)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
load-internal("/home/astrosun/toigo/local/lib/xemacs/mule-packages/lisp/egg-its/eggrc-wnn"
nil nil t undecided)
# bind (path handler filename nosuffix nomessage noerror file)
load("/home/astrosun/toigo/local/lib/xemacs/mule-packages/lisp/egg-its/eggrc-wnn"
nil nil t)
# bind (file)
load-file("/home/astrosun/toigo/local/lib/xemacs/mule-packages/lisp/egg-its/eggrc-wnn")
# bind (eggrc path host)
EGG:open-wnn()
# (unwind-protect ...)
# bind (finished rev end start)
henkan-region-internal(#<marker at 396 in *scratch* 0x660b64> #<marker at 400
in *scratch* 0x660b7c>)
henkan-fence-region()
#<compiled-function nil "...(9)" [egg:*input-mode* henkan-fence-region ?\ ]
1 nil nil>()
call-interactively(henkan-fence-region-or-single-space)
# (condition-case ... . error)
# (catch top-level ...)
[1] Segmentation fault ./xemacs (core dumped)
Back-trace from core file follows:
(dbx) where
=>[1] _kill(0x0, 0xb, 0xfe63cc98, 0x3c1800, 0x20a88, 0x99890), at 0xfea9bed4
[2] fatal_error_signal(0xb, 0x0, 0xffbeb218, 0xfeab801c, 0x0, 0x0), at 0x99890
[3] sigacthandler(0xb, 0x0, 0xffbeb218, 0x7efefeff, 0x81010100, 0x3c01c5), at
0xfea9af1c
---- called from signal handler with signal 11 (SIGSEGV) ------
[4] strlen(0x0, 0x0, 0x0, 0x7efefeff, 0x81010100, 0x3c01c5), at 0xfea33084
[5] _doprnt(0x0, 0xffbec1b4, 0x0, 0x2f11f1, 0x0, 0x2d06ee), at 0xfea82c50
[6] sprintf(0x7fffffff, 0x2d06ec, 0x0, 0x6bcd98, 0x0, 0x0), at 0xfea84a18
[7] jl_fi_dic_add_e_body(0x0, 0xf6b24, 0xf6e34, 0x2, 0x0, 0x0), at 0x28da34
[8] jl_fi_dic_add(0x6a9800, 0x6af9c8, 0x6bcd98, 0x6, 0x1, 0x0), at 0x28de78
[9] Fwnn_fisys_dict_add(0x3b8b28, 0xf6800, 0xfffffffe, 0xffbec7e8, 0xf5650, 0x3c1800),
at 0xf57d4
[10] Ffuncall(0x4, 0xffbec5b4, 0xfe634e80, 0x24, 0xffbec5b4, 0xffbec758), at 0xa43d0
[11] execute_optimized_program(0x643e1a, 0x4, 0x10, 0x3c1c00, 0x64d5d0, 0x1d), at
0x685d4
[12] funcall_compiled_function(0x663804, 0x3, 0x29b000, 0x19, 0x29ac00, 0x6), at
0x6806c
[13] Feval(0xffbec758, 0x3c0c00, 0x3c1800, 0x2f7c00, 0x3c1c00, 0xffbec8d8), at 0xa3444
[14] funcall_lambda(0xffbec884, 0xffbeccb8, 0x6a9250, 0x6, 0xfe63d118, 0x6), at 0xa4d94
[15] Feval(0x3c0c00, 0xfe63d118, 0x3c1800, 0x2f7c00, 0x3c1c00, 0xfe63a8f8), at 0xa32e0
[16] Feval(0x2, 0x19, 0x3c1800, 0x2f7c00, 0x3c1c00, 0x3c1c00), at 0xa38e4
[17] Fprogn(0x6bb394, 0x0, 0x4, 0x2f7c00, 0x2a2c00, 0xfe63d118), at 0xa9944
[18] Fcond(0xfe63d118, 0x5, 0x3e2c00, 0xfe63d118, 0x1, 0x0), at 0x9e5a0
[19] Feval(0x0, 0x19, 0x3c1800, 0x2f7c00, 0x3c1c00, 0x3c1c00), at 0xa38e4
[20] readevalloop(0x5ec800, 0x3e2c00, 0xa2e08, 0x0, 0x0, 0x18), at 0x1a8d3c
[21] Fload_internal(0x3bc400, 0x3bc400, 0x3e2c00, 0x3bc400, 0x0, 0xfe63d118), at
0x1a6f64
[22] Ffuncall(0x9d9d8, 0xa4270, 0x0, 0x25, 0x12, 0x4), at 0xa42cc
[23] execute_optimized_program(0xfe69a3ec, 0x5, 0x14, 0x3c1c00, 0xfe79b630, 0xe), at
0x685d4
[24] funcall_compiled_function(0xfe7bfc34, 0x4, 0x29b000, 0xa, 0x29ac00, 0x3c1800), at
0x6806c
[25] Ffuncall(0x4, 0xffbed5cc, 0xfe63cc98, 0x24, 0xffbed5cc, 0xffbed830), at 0xa4128
[26] execute_optimized_program(0x61a218, 0x4, 0x10, 0x3c1c00, 0xfe793118, 0xa), at
0x685d4
[27] funcall_compiled_function(0xfe7bc798, 0x1, 0x29b000, 0x9, 0x29ac00, 0x3c1800), at
0x6806c
[28] Ffuncall(0x1, 0xffbed824, 0xfe627de8, 0x21, 0xfe6036f8, 0x9), at 0xa4128
[29] execute_optimized_program(0x64a9bc, 0x1, 0x4, 0x3c1c00, 0x624f10, 0x6), at 0x685d4
[30] funcall_compiled_function(0x663aa4, 0x0, 0x29b000, 0x6, 0x29ac00, 0x3c1800), at
0x6806c
[31] Ffuncall(0x0, 0xffbeda74, 0x6623f4, 0x20, 0x3, 0xfe6036f8), at 0xa4128
[32] execute_optimized_program(0x647b22, 0x0, 0x0, 0x3c1c00, 0x5ff210, 0x4), at 0x685d4
[33] funcall_compiled_function(0x663c64, 0x2, 0x29b000, 0x1, 0x29ac00, 0x3c1800), at
0x6806c
[34] Ffuncall(0x2, 0xffbedccc, 0x62e514, 0x22, 0x4, 0xffbedf20), at 0xa4128
[35] execute_optimized_program(0x61a839, 0x2, 0x8, 0x3c1c00, 0x5f7310, 0x1), at 0x685d4
[36] funcall_compiled_function(0x5d9b68, 0x0, 0x29b000, 0x1, 0x29ac00, 0x3c1800), at
0x6806c
[37] Ffuncall(0x0, 0xffbedf1c, 0x5d9604, 0x20, 0xffbedf1c, 0xffbee500), at 0xa4128
[38] execute_optimized_program(0x61a8b5, 0x0, 0x0, 0x3c1c00, 0x61ad10, 0x1), at 0x685d4
[39] funcall_compiled_function(0x5d9b4c, 0x0, 0x29b000, 0x1, 0x29ac00, 0x3c1800), at
0x6806c
[40] Ffuncall(0x0, 0xffbee1cc, 0x3c1800, 0x3c1800, 0x5d9b4c, 0xffbee160), at 0xa4128
[41] apply1(0x5d9b4c, 0xfe63d118, 0x21, 0x2f7c00, 0xfe6036f8, 0xfe63d118), at 0xa8dd4
[42] Fcall_interactively(0xfe63d118, 0xffbee520, 0xffbee268, 0xffbee658, 0x3c1800,
0xfe63d118), at 0x6ea44
[43] Fcommand_execute(0xffbee5d0, 0xfe63d118, 0xfe63d118, 0x0, 0x1, 0x2b1c00), at
0xa29b4
[44] execute_command_event(0x509400, 0x3c2000, 0x0, 0xfe63d118, 0x4, 0x3c2000), at
0x115478
[45] Fdispatch_event(0x5c93a4, 0xffbee768, 0x0, 0x3c1800, 0xfe63d118, 0x18), at
0x115e50
[46] Fcommand_loop_1(0x0, 0x3c1c00, 0x3c1c00, 0x3e2c00, 0x3c1400, 0x3c2000), at 0x7a590
[47] condition_case_1(0x7a954, 0x1, 0xffbee830, 0x7a954, 0xffbee820, 0xfe71d294), at
0xa0248
[48] command_loop_2(0xfe63d118, 0x0, 0x0, 0x3c1800, 0x0, 0xfe63d118), at 0x7aa70
[49] internal_catch(0xfe607448, 0x7aa20, 0x7aa20, 0x3c0c00, 0x3c1400, 0x22), at 0x9ff60
[50] initial_command_loop(0x3c1400, 0x3c1800, 0x3e2c00, 0x29cc00, 0x29cc00, 0x1), at
0x79c6c
[51] xemacs_21_5_b4_sparc_sun_solaris2_8(0x3f3544, 0x1, 0x1, 0x40, 0x2a1000, 0x3c1800),
at 0x9b8a0
[52] main(0x1, 0xffbeec04, 0x2f7c00, 0x2f22c4, 0x0, 0x0), at 0x9bff0
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: SunOS snow 5.8 Generic_108528-12 sun4u sparc SUNW,Sun-Blade-100
./configure '--site-includes=/home/astrosun/toigo/local/include
/usr/lib/locale/ja/wnn/demo/include/'
'--site-libraries=/home/astrosun/toigo/local/lib /usr/lib/locale/ja/wnn/demo/lib'
'--with-gcc' '--prefix=/home/astrosun/toigo/local' '--with-mule'
'--with-canna' '--with-wnn6' '--with-sparcworks'
'--pdump'
XEmacs 21.5-b4 "bamboo" configured for `sparc-sun-solaris2.8'.
Compilation / Installation:
Source code location: /home/astrosun/toigo/local/src/xemacs-21.5.4
Installation prefix: /home/astrosun/toigo/local
Additional header files: /home/astrosun/toigo/local/include
/usr/lib/locale/ja/wnn/demo/include/
Additional libraries: /home/astrosun/toigo/local/lib
/usr/lib/locale/ja/wnn/demo/lib
Runtime library search path:
/usr/ccs/lib:/home/astrosun/toigo/local/lib:/usr/dt/lib:/usr/openwin/lib:/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.1/../../..
Operating system description file: `s/sol2.h'
Machine description file: `m/sparc.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -Wshadow -Wpointer-arith
Relocating allocator for buffers: yes
GNU version of malloc: yes
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/dt/include /usr/openwin/include
- X Windows libraries location: /usr/dt/lib /usr/openwin/lib
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Using Motif native widgets.
TTY:
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 sound (native).
Databases:
Compiling in support for GNU DBM.
Compiling in support for LDAP.
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Compiling in support for XIM (X11R5+ I18N input method).
- 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.
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for ToolTalk.
Compiling in support for Sun WorkShop.
Compiling in support for dynamic shared object modules.
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: ---------------------------------------------------------
Load-Path Lisp Shadows:
----------------------
(/home/astrosun/toigo/local/lib/xemacs/xemacs-packages/lisp/os-utils/lpr
/home/astrosun/toigo/local/lib/xemacs/xemacs-packages/lisp/ps-print/lpr
/home/astrosun/toigo/local/lib/xemacs/xemacs-packages/lisp/ps-print/ps-print
/home/astrosun/toigo/local/lib/xemacs/xemacs-packages/lisp/ps-print-nomule/ps-print
/home/astrosun/toigo/local/lib/xemacs/xemacs-packages/lisp/vc-cc/tq
/home/astrosun/toigo/local/lib/xemacs/xemacs-packages/lisp/xemacs-base/tq)
Installed XEmacs Packages:
-------------------------
((zenirc:version 1.13 :type regular)
(xslt-process :version 1.06 :type regular)
(xemacs-devel :version 1.4 :type single-file)
(xemacs-base :version 1.57 :type regular)
(w3 :version 1.21 :type regular)
(vm :version 7.02 :type regular)
(viper :version 1.31 :type regular)
(view-process :version 1.11 :type regular)
(vhdl :version 1.15 :type regular)
(vc-cc :version 1.18 :type regular)
(vc :version 1.3 :type regular)
(tramp :version 1.01 :type regular)
(tpu :version 1.12 :type regular)
(tooltalk :version 1.13 :type regular)
(tm :version 1.3 :type regular)
(time :version 1.11 :type regular)
(textools :version 1.12 :type regular)
(text-modes :version 1.36 :type single-file)
(texinfo :version 1.2 :type regular)
(supercite :version 1.19 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.22 :type regular)
(sounds-wav :version 1.1 :type regular)
(sounds-au :version 1.1 :type regular)
(slider :version 1.13 :type regular)
(sieve :version 1.01 :type regular)
(sh-script :version 1.13 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.11 :type regular)
(scheme :version 1.11 :type regular)
(rmail :version 1.13 :type regular)
(reftex :version 1.24 :type regular)
(psgml :version 1.26 :type regular)
(ps-print-nomule :version 1.05 :type regular)
(ps-print :version 1.02 :type regular)
(prog-modes
:version
1
.49
:type
single-file)
(pcomplete :version 1.01 :type regular)
(pcl-cvs :version 1.57 :type regular)
(pc :version 1.21 :type single-file)
(os-utils :version 1.26 :type single-file)
(net-utils :version 1.23 :type single-file)
(misc-games :version 1.15 :type single-file)
(mine :version 1.14 :type regular)
(mh-e :version 1.14 :type regular)
(mew :version 1.16 :type regular)
(mailcrypt :version 2.11 :type regular)
(mail-lib :version 1.42 :type regular)
(jde :version 1.31 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.2 :type regular)
(igrep :version 1.08 :type regular)
(idlwave :version 1.24 :type regular)
(hm--html-menus :version 1.17 :type regular)
(gnus :version 1.58 :type regular)
(gnats :version 1.13 :type regular)
(games :version 1.13 :type regular)
(fsf-compat :version 1.09 :type single-file)
(frame-icon :version 1.09 :type regular)
(forms :version 1.14 :type regular)
(footnote :version 1.13 :type regular)
(eudc :version 1.35 :type regular)
(eterm :version 1.13 :type regular)
(eshell :version 1.02 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.02 :type regular)
(efs :version 1.27 :type regular)
(edt :version 1.12 :type regular)
(edit-utils :version 1.75 :type single-file)
(ediff :version 1.35 :type regular)
(edebug :version 1.14 :type regular)
(dired :version 1.11 :type regular)
(dictionary :version 1.06 :type regular)
(debug :version 1.14 :type regular)
(crisp :version 1.12 :type regular)
(cookie :version 1.13 :type regular)
(clearcase :version 1.02 :type regular)
(cc-mode :version 1.27 :type regular)
(calendar :version 1.18 :type regular)
(calc :version 1.18 :type regular)
(c-support :version 1.16 :type single-file)
(build :version 1.05 :type regular)
(bbdb :version 1.17 :type regular)
(auctex :version 1.29 :type regular)
(apel :version 1.2 :type regular)
(ada :version 1.1 :type regular)
(Sun :version 1.13 :type regular)
(skk :version 1.2 :type regular)
(mule-ucs :version 1.01 :type regular)
(mule-base :version 1.39 :type regular)
(lookup :version 1.09 :type regular)
(locale :version 1.18 :type regular)
(leim :version 1.17 :type regular)
(egg-its :version 1.26 :type regular)
(edict :version 1.12 :type regular))
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 font-lock cus-face
zenirc-autoloads xslt-process-autoloads xemacs-devel-autoloads
xemacs-base-autoloads w3-autoloads vm-autoloads viper-autoloads
view-process-autoloads vhdl-autoloads vc-cc-autoloads vc-autoloads
tramp-autoloads tpu-autoloads tooltalk-autoloads tm-autoloads
time-autoloads textools-autoloads text-modes-autoloads texinfo-autoloads
supercite-autoloads strokes-autoloads speedbar-autoloads
sounds-wav-autoloads sounds-au-autoloads slider-autoloads sieve-autoloads
sh-script-autoloads sgml-autoloads semantic-autoloads scheme-autoloads
rmail-autoloads reftex-autoloads psgml-autoloads ps-print-nomule-autoloads
ps-print-autoloads prog-modes-autoloads pcomplete-autoloads
pcl-cvs-autoloads pc-autoloads os-utils-autoloads net-utils-autoloads
misc-games-autoloads mine-autoloads mh-e-autoloads mew-autoloads
mailcrypt-autoloads mail-lib-autoloads jde-autoloads ispell-autoloads
ilisp-autoloads igrep-autoloads idlwave-autoloads hm--html-menus-autoloads
gnus-autoloads gnats-autoloads games-autoloads fsf-compat-autoloads
frame-icon-autoloads forms-autoloads footnote-autoloads eudc-autoloads
eterm-autoloads eshell-autoloads emerge-autoloads elib-autoloads
eieio-autoloads efs-autoloads edt-autoloads edit-utils-autoloads
ediff-autoloads edebug-autoloads dired-autoloads dictionary-autoloads
debug-autoloads crisp-autoloads cookie-autoloads clearcase-autoloads
cc-mode-autoloads calendar-autoloads calc-autoloads c-support-autoloads
build-autoloads bbdb-autoloads auctex-autoloads apel-autoloads
ada-autoloads Sun-autoloads skk-autoloads mule-ucs-autoloads
mule-base-autoloads lookup-autoloads locale-autoloads leim-autoloads
egg-its-autoloads edict-autoloads src-autoloads loadhist auto-show
fontl-hooks x-iso8859-1 canna-leim slovenian czech romanian ccl mule-help
code-cmds gutter-items menubar-items x-menubar mode-motion mouse itimer
auto-save lisp-mode easymenu iso8859-1 page buff-menu lib-complete cus-file
derived frame text-props obsolete cus-start custom widget cl-extra mini-cl
cl cl-19 packages backquote very-early-lisp sparcworks tooltalk CANNA
file-coding wnn mule lucid-scrollbars cut-buffer lucid-menubars
motif-dialogs x c-balloon-help tty-frames tty toolbar native-sound
scrollbar unix-processes multicast network-streams subprocesses modules
menu-accelerator-support menubar dbm md5 xemacs xim gutter tiff png gif
jpeg xpm xbm lisp-float-type usg-unix-v dialog devices window-system
base64)
Recent keystrokes:
-----------------
misc-user
Recent messages (most recent first):
-----------------------------------
Parsing /home/astrosun/toigo/.mailrc...
Loading xemacsbug...done
Loading xemacsbug...
Loading cus-face...done
Loading cus-face...