From xemacs-m  Sun Apr 13 21:21:35 1997
Received: from fw.omronsoft.co.jp (firewall-user@fw.omronsoft.co.jp [202.32.116.2])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id VAA06904
	for <xemacs-beta@xemacs.org>; Sun, 13 Apr 1997 21:21:32 -0500 (CDT)
Received: by fw.omronsoft.co.jp; id LAA12555; Mon, 14 Apr 1997 11:21:29 +0900 (JST)
Received: from gw.omronsoft.co.jp(133.122.28.11) by fw.omronsoft.co.jp via smap (V3.1)
	id xma012548; Mon, 14 Apr 97 11:21:09 +0900
Received: by gw.omronsoft.co.jp (8.6.12+2.4W/3.3W-gw2.960424) id LAA10833; Mon, 14 Apr 1997 11:20:56 +0900
Received: from osk_mail.hon.kyoto.omronsoft by gw.omronsoft.co.jp (8.6.12+2.4W/3.3W-gw.960928) id LAA10768; Mon, 14 Apr 1997 11:20:49 +0900
Received: by osk_mail.hon.kyoto.omronsoft.co.jp (5.65/6.4J.6-OMRONSOFT-Ver1.31-Hat)
	id AA14160; Mon, 14 Apr 97 11:19:21 +0900
Received: by hrs_mail.rs.kyoto.omronsoft.co.jp (5.65/6.4J.6-OMRONSOFT-Ver1.3)
	id AA01024; Mon, 14 Apr 97 11:20:56 +0900
Received: by hrs102.rs.kyoto.omronsoft.co.jp (5.65/6.4J.6-OMRONSOFT-Ver1.3)
	id AA02100; Mon, 14 Apr 97 11:20:22 +0900
Message-Id: <9704140220.AA02100@hrs102.rs.kyoto.omronsoft.co.jp>
To: xemacs-beta@xemacs.org
Cc: tsutomu@rs.kyoto.omronsoft.co.jp
Subject: bug report(xemacs-20.1 + Mule + Wnn crashes)
Date: Mon, 14 Apr 1997 11:14:33 +0900
From: -=-TSUTOMU NAKAMURA-=- <tsutomu@rs.kyoto.omronsoft.co.jp>

In XEmacs 20.1 [Lucid] (i586-unknown-linux, Mule) of Sat Apr 12 1997 on sting

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:


(1) xemacs (RET)

---------------------- .emacs ----------------------------------------
(require 'egg)
(load-library "egg-wnn")
(setq wnn-server-type 'jserver)
(set-jserver-host-name "localhost")
----------------------------------------------------------------------

(2) C-\(toggle-egg-mode)
(3) a -> "a(Japanese hirakana)"
(4) SPC -> starts Japanese convertion
(5) mule-wnnfns.c:321:Fwnn_open
(6) js.c:(libwnn.a):alarm()
(7) signal.c:333:alarm()
 Wnn4 library uses alarm().  alarm() is defined in signal.c, and
assert() terminates program.

----------------------------------------------------------------------
(gdb) where
#0  0x4021e3c5 in __kill ()
#1  0x808abc1 in fatal_error_signal (sig=6) at emacs.c:204
#2  0xbfffe19c in ?? ()
#3  0x4020739d in gsignal ()
#4  0x813a6c2 in alarm (howlong=5) at signal.c:333
#5  0x81c0521 in cd_open_in (server=0xbfffe490 "localhost", 
    lang=0xbfffe41c "ja_JP", timeout=5) at js.c:295
#6  0x81c0a58 in js_open_lang (server=0xbfffe490 "localhost", 
    lang=0xbfffe41c "ja_JP", timeout=5) at js.c:636
#7  0x81c490c in jl_connect_lang (env_n=0xbfffe4d0 "tsutomu", 
    server_n=0xbfffe490 "localhost", lang=0xbfffe4b0 "ja_JP", wnnrc_n=0x0, 
    error_handler=0, message_handler=0, timeout=5) at jl.c:458
#8  0x81c4bb3 in jl_open_lang (env_n=0xbfffe4d0 "tsutomu", 
    server_n=0xbfffe490 "localhost", lang=0xbfffe4b0 "ja_JP", wnnrc_n=0x0, 
    error_handler=0, message_handler=0, timeout=5) at jl.c:575
#9  0x81a301c in Fwnn_open (hname=943757580, lname=943815752)
    at /usr/local/src/xemacs-20.1-b11/src/./mule-wnnfns.c:361
#10 0x80917f9 in primitive_funcall (fn=0x81a2ec8 <Fwnn_open>, nargs=2, 
    args=0xbfffe680) at eval.c:3462
#11 0x80919a8 in funcall_subr (subr=0x82ca1a0, args=0xbfffe680) at eval.c:3486
#12 0x8090f95 in funcall_recording_as (recorded_as=405928396, nargs=3, 
    args=0xbfffe67c) at eval.c:3178
#13 0x8091103 in Ffuncall (nargs=3, args=0xbfffe67c) at eval.c:3222
#14 0x8063926 in Fbyte_code (bytestr=943112256, vector=1211251840, maxdepth=4)
    at bytecode.c:418
#15 0x809180d in primitive_funcall (fn=0x80632c8 <Fbyte_code>, nargs=3, 
    args=0xbfffe778) at eval.c:3463
#16 0x80919a8 in funcall_subr (subr=0x820e738, args=0xbfffe778) at eval.c:3486
#17 0x8090ad1 in Feval (form=675293124) at eval.c:3037
#18 0x808e1ad in internal_catch (tag=407180564, func=0x80902ac <Feval>, 
    arg=675293124, threw=0x0) at eval.c:1334
#19 0x8063cc9 in Fbyte_code (bytestr=943128380, vector=1212636544, maxdepth=2)
    at bytecode.c:568
#20 0x8091e88 in funcall_lambda (fun=407186212, nargs=0, arg_vector=0xbfffebd8)
    at eval.c:3596
#21 0x8091016 in funcall_recording_as (recorded_as=407180492, nargs=1, 
    args=0xbfffebd4) at eval.c:3194
#22 0x8091103 in Ffuncall (nargs=1, args=0xbfffebd4) at eval.c:3222
#23 0x8063926 in Fbyte_code (bytestr=943112928, vector=1212636416, maxdepth=3)
    at bytecode.c:418
#24 0x8091e88 in funcall_lambda (fun=407186276, nargs=0, arg_vector=0xbffff10c)
    at eval.c:3596
#25 0x8091016 in funcall_recording_as (recorded_as=407180732, nargs=1, 
    args=0xbffff108) at eval.c:3194
#26 0x8091103 in Ffuncall (nargs=1, args=0xbffff108) at eval.c:3222
#27 0x8063926 in Fbyte_code (bytestr=943092808, vector=1211498496, maxdepth=4)
    at bytecode.c:418
#28 0x8091e88 in funcall_lambda (fun=407186788, nargs=2, arg_vector=0xbffff260)
    at eval.c:3596
#29 0x8091016 in funcall_recording_as (recorded_as=407334068, nargs=3, 
    args=0xbffff25c) at eval.c:3194
#30 0x8091103 in Ffuncall (nargs=3, args=0xbffff25c) at eval.c:3222
#31 0x8063926 in Fbyte_code (bytestr=943793368, vector=1211438912, maxdepth=3)
    at bytecode.c:418
#32 0x8091e88 in funcall_lambda (fun=406176644, nargs=0, arg_vector=0xbffff3ac)
    at eval.c:3596
#33 0x8091016 in funcall_recording_as (recorded_as=406244892, nargs=1, 
    args=0xbffff3a8) at eval.c:3194
#34 0x8091103 in Ffuncall (nargs=1, args=0xbffff3a8) at eval.c:3222
#35 0x8063926 in Fbyte_code (bytestr=943793188, vector=1211438848, maxdepth=1)
    at bytecode.c:418
#36 0x8091e88 in funcall_lambda (fun=406176612, nargs=0, arg_vector=0xbffff4d8)
    at eval.c:3596
#37 0x8091016 in funcall_recording_as (recorded_as=406176612, nargs=1, 
    args=0xbffff4d4) at eval.c:3194
#38 0x809266f in apply1 (fn=406176612, arg=405811204) at eval.c:3222
#39 0x80653e4 in Fcall_interactively (function=406244868, 
    record_flag=405811204, keys=405811204) at callint.c:394
#40 0x808fce0 in Fcommand_execute (cmd=406244868, record=405811204, 
    keys=405811204) at eval.c:2603
#41 0x80a362e in execute_command_event (command_builder=0x8336640, 
    event=407298516) at event-stream.c:3579
#42 0x80a4813 in Fdispatch_event (event=407298516) at event-stream.c:3917
#43 0x8070cd7 in Fcommand_loop_1 () at cmdloop.c:540
#44 0x80709f3 in command_loop_1 (dummy=405811204) at cmdloop.c:460
#45 0x808e392 in condition_case_1 (handlers=405811300, 
    bfun=0x8070988 <command_loop_1>, barg=405811204, 
    hfun=0x806fd8c <cmd_error>, harg=405811204) at eval.c:1657
#46 0x8070e88 in command_loop_2 (dummy=405811204) at cmdloop.c:222
#47 0x808e1ad in internal_catch (tag=405889052, 
    func=0x8070e68 <command_loop_2>, arg=405811204, threw=0x0) at eval.c:1334
#48 0x8070252 in initial_command_loop (load_me=405811204) at cmdloop.c:271
#49 0x808ba4e in xemacs__ (argc=1, argv=0xbffff7e4, envp=0xbffff7ec)
    at emacs.c:1455
#50 0x808c10e in main (argc=1, argv=0xbffff7e4, envp=0xbffff7ec)
    at emacs.c:1806
#51 0x804e95e in _start ()
(gdb) quit
----------------------------------------------------------------------

----------------------------------------------------------------------
uname -a: Linux sting 2.0.29 #1 Sat Apr 5 17:41:29 JST 1997 i586

./configure  --with-offix --with-mule=yes --with-dialogs=athena3d --cflags=-m486 -g -O4 -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2 --with-sound=native --error-checking=all --debug=yes --with-scrollbars=athena3d --with-xpm=yes --with-wnn=yes --wnn-includes=/usr/local/include/wnn --site-includes=/usr/local/include --site-libraries=/usr/local/lib --verbose --with-pop --with-xim=no i586-linux


Configured for `i586-unknown-linux'.

  Where should the build process find the source code?    /usr/local/src/xemacs-20.1-b11
  What installation prefix should install use?		  /usr/local
  What operating system and machine description files should XEmacs use?
        `s/linux.h' and `m/intel386.h'
  What compiler should XEmacs be built with?              gcc -m486 -g -O4 -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2
  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/X11R6/include
  Where do we find X Windows libraries?                   /usr/X11R6/lib
  Additional header files:                                /usr/local/include /usr/include/ncurses
  Additional libraries:                                   /usr/local/lib
  Finding WNN includes with:                              -I/usr/local/include/wnn
  Loading WNN libs with:                                  
  Compiling in support for XAUTH.
  Compiling in support for XPM.
  Compiling in support for GIF image conversion.
  Compiling in support for JPEG image conversion.
  Compiling in support for PNG image conversion.
  Compiling in native sound support.
  Compiling in support for Berkeley DB.
  Compiling in support for GNU DBM.
  Compiling in support for ncurses.
  Compiling in Mule (multi-lingual) support.
  Compiling in support for WNN on Mule.
  Compiling in support for OffiX.
  Using the Lucid menubar.
  Using the Athena-3d scrollbar.
  Using the Athena-3d dialog boxes.
  Compiling in extra code for debugging.
  Compiling in code for checking XEmacs memory usage.

----------------------------------------------------------------------

