From xemacs-m  Sat Jan  4 03:45:43 1997
Received: from Campino.Informatik.RWTH-Aachen.DE (campino.Informatik.RWTH-Aachen.DE [137.226.116.240])
          by xemacs.cs.uiuc.edu (8.8.4/8.8.4) with ESMTP
	  id DAA06275 for <xemacs-beta@xemacs.org>; Sat, 4 Jan 1997 03:45:40 -0600 (CST)
Received: from downtown.oche.de (root@downtown.oche.de [194.94.253.3]) by Campino.Informatik.RWTH-Aachen.DE (RBI-Z-5/8.6.12)
	with SMTP id KAA05554 for <xemacs-beta@xemacs.org>; Sat, 4 Jan 1997 10:13:19 +0100 (MET)
Received: (qmail 28781 invoked by uid 500); 4 Jan 1997 03:20:20 -0000
To: xemacs-beta@xemacs.org
Subject: Two repeatable crashes in 20.0-b33 and a doc bug
Mime-Version: 1.0 (generated by tm-edit 7.97)
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
From: Carsten Leonhardt <leo@arioch.tng.oche.de>
Date: 04 Jan 1997 04:20:19 +0100
Message-ID: <m3d8vm15zg.fsf@arioch.tng.oche.de>
Lines: 190
X-Mailer: Red Gnus v0.76/XEmacs 20.0

1) repeatable crash

Displaying some Japanese, Thai or Korean (others not tested), and
evaluating (standard-display-european 1), or the other way
around, I get:

Lisp backtrace follows:

  # (condition-case ... . error)
  # (catch top-level ...)

GDB 4.16 (i586-leo-linux), Copyright 1996 Free Software Foundation, Inc...
Core was generated by `xemacs -q'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/X11R6/lib/libXaw.so.6.1...done.
Reading symbols from /usr/local/lib/libpng.so.1.0.89...done.
Reading symbols from /usr/local/lib/libz.so...done.
Reading symbols from /usr/X11R6/lib/libXmu.so.6.0...done.
Reading symbols from /usr/X11R6/lib/libXt.so.6.0...done.
Reading symbols from /usr/X11R6/lib/libSM.so.6.0...done.
Reading symbols from /usr/X11R6/lib/libICE.so.6.0...done.
Reading symbols from /usr/X11R6/lib/libXext.so.6.1...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6.1...done.
Reading symbols from /lib/libncurses.so.3.0...done.
Reading symbols from /lib/libm.so.5.0.6...done.
Reading symbols from /lib/libc.so.5.3.12...done.
Reading symbols from /lib/ld-linux.so.1...done.
#0  0x401b6741 in __kill ()
(gdb) where
#0  0x401b6741 in __kill ()
#1  0x808a499 in fatal_error_signal (sig=11) at emacs.c:194
#2  0xbfffefa8 in ?? ()
#3  0x8112464 in generate_display_line (w=0x844cc00, dl=0x84c8090, bounds=1, start_pos=48, 
    start_col=0, prop=0xbffff248, type=1) at redisplay.c:734
#4  0x8119c6b in regenerate_window (w=0x844cc00, start_pos=48, point=1, type=1) at redisplay.c:4262
#5  0x811b5e5 in redisplay_window (window=407161856, skip_selected=0) at redisplay.c:5163
#6  0x811bd7d in redisplay_frame (f=0x8458d00, preemption_check=0) at redisplay.c:5381
#7  0x811bf81 in redisplay_device (d=0x8435e00) at redisplay.c:5463
#8  0x811c374 in redisplay_without_hooks () at redisplay.c:5575
#9  0x811c5a0 in redisplay () at redisplay.c:5642
#10 0x809eec3 in Fnext_event (event=407536780, prompt=405909508) at event-stream.c:2103
#11 0x8070ab4 in Fcommand_loop_1 () at cmdloop.c:531
#12 0x80707e3 in command_loop_1 (dummy=405909508) at cmdloop.c:460
#13 0x808dbd6 in condition_case_1 (handlers=405909604, bfun=0x8070778 <command_loop_1>, 
    barg=405909508, hfun=0x806fb7c <cmd_error>, harg=405909508) at eval.c:1648
#14 0x8070c78 in command_loop_2 (dummy=405909508) at cmdloop.c:222
#15 0x808d9f1 in internal_catch (tag=405987300, func=0x8070c58 <command_loop_2>, arg=405909508, 
    threw=0x0) at eval.c:1325
#16 0x8070042 in initial_command_loop (load_me=405909508) at cmdloop.c:271
#17 0x808b2f2 in main_1 (argc=2, argv=0xbffff66c, envp=0xbffff678) at emacs.c:1452
#18 0x808b954 in main (argc=2, argv=0xbffff66c, envp=0xbffff678) at emacs.c:1801
#19 0x804eb9b in _start ()
(gdb) 


2) repeatable crash

I always have a crash when I try to display something coded in
koi8-r. The problem lies with "decode-coding-region".

Fatal error: assertion failed, file /mnt/adisk/src/xemacs-20.0-b33/src/./lisp.h, line 1224, INTP (obj)

Lisp backtrace follows:

  decode-coding-region(1 14 koi8)
  # (unwind-protect ...)
  # bind (curbuf tempbuf coding-system str)
  decode-coding-string(". ." koi8)
  eval((decode-coding-string ". ." (quote koi8)))
  # bind (expression)
  #<compiled-function (from "simple.elc") (expression) "...(16)" [eval expression values prin1 t] 3 994615 (list (read-from-minibuffer "Eval: " nil read-expression-map t ...))>((decode-coding-string ". ." (quote koi8)))
  call-interactively(eval-expression)
  # bind (char ignore)
  disabled-command-hook()
  # (condition-case ... . error)
  # (catch top-level ...)
IOT trap/Abort (core dumped)



GDB 4.16 (i586-leo-linux), Copyright 1996 Free Software Foundation, Inc...
Core was generated by `xemacs -q'.
Program terminated with signal 6, IOT trap/Abort.
Reading symbols from /usr/X11R6/lib/libXaw.so.6.1...done.
Reading symbols from /usr/local/lib/libpng.so.1.0.89...done.
Reading symbols from /usr/local/lib/libz.so...done.
Reading symbols from /usr/X11R6/lib/libXmu.so.6.0...done.
Reading symbols from /usr/X11R6/lib/libXt.so.6.0...done.
Reading symbols from /usr/X11R6/lib/libSM.so.6.0...done.
Reading symbols from /usr/X11R6/lib/libICE.so.6.0...done.
Reading symbols from /usr/X11R6/lib/libXext.so.6.1...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6.1...done.
Reading symbols from /lib/libncurses.so.3.0...done.
Reading symbols from /lib/libm.so.5.0.6...done.
Reading symbols from /lib/libc.so.5.3.12...done.
Reading symbols from /lib/ld-linux.so.1...done.
#0  0x401b6741 in __kill ()
(gdb) where
#0  0x401b6741 in __kill ()
#1  0x808a499 in fatal_error_signal (sig=6) at emacs.c:194
#2  0xbfffe378 in ?? ()
#3  0x401e445d in gsignal ()
#4  0x8193926 in ccl_driver (ccl=0x8387c94, src=0x83f9740 ". .", dst=0x83f9820, n=13, 
    end_flag=0) at /mnt/adisk/src/xemacs-20.0-b33/src/./lisp.h:1224
#5  0x819c81c in mule_decode (decoding=0x8387c00, src=0x83f9740 ". .", dst=0x83f9820, 
    n=13) at /mnt/adisk/src/xemacs-20.0-b33/src/./mule-coding.c:1957
#6  0x81a4354 in decoding_writer (stream=0x8387c00, data=0x83f9740 ". .", size=13)
    at /mnt/adisk/src/xemacs-20.0-b33/src/./mule-coding.c:1760
#7  0x80fabf0 in Lstream_flush_out (lstr=0x8387c00) at lstream.c:363
#8  0x80fac65 in Lstream_flush (lstr=0x8387c00) at lstream.c:393
#9  0x81a4589 in encoding_flusher (stream=0x8471300)
    at /mnt/adisk/src/xemacs-20.0-b33/src/./mule-coding.c:2263
#10 0x80fac3e in Lstream_flush_out (lstr=0x8471300) at lstream.c:385
#11 0x80fb506 in Lstream_close (lstr=0x8471300) at lstream.c:704
#12 0x819c8e9 in close_both_streams (cons=676263620)
    at /mnt/adisk/src/xemacs-20.0-b33/src/./mule-coding.c:1972
#13 0x8094200 in unbind_to (count=9, value=405909508) at eval.c:4743
#14 0x819ccf2 in Fdecode_coding_region (start=1, end=14, coding_system=407000724, buffer=405909508)
    at /mnt/adisk/src/xemacs-20.0-b33/src/./mule-coding.c:2032
#15 0x80910b1 in primitive_funcall (fn=0x819c958 <Fdecode_coding_region>, nargs=4, args=0xbfffeb28)
    at eval.c:3460
#16 0x8091234 in funcall_subr (subr=0x82df3bc, args=0xbfffeb28) at eval.c:3482
#17 0x8090809 in funcall_recording_as (recorded_as=406024916, nargs=4, args=0xbfffec10)
    at eval.c:3174
#18 0x809098f in Ffuncall (nargs=4, args=0xbfffec10) at eval.c:3218
#19 0x8063a0e in Fbyte_code (bytestr=942285180, vector=1210720696, maxdepth=4) at bytecode.c:418
#20 0x8091728 in funcall_lambda (fun=405414500, nargs=2, arg_vector=0xbfffecc8) at eval.c:3592
#21 0x80912f3 in apply_lambda (fun=405414500, numargs=2, unevalled_args=405909508) at eval.c:3515
#22 0x80903fd in Feval (form=676263444) at eval.c:3052
#23 0x8091075 in primitive_funcall (fn=0x808faf0 <Feval>, nargs=1, args=0xbfffeeec) at eval.c:3457
#24 0x8091234 in funcall_subr (subr=0x8218640, args=0xbfffeeec) at eval.c:3482
#25 0x8090809 in funcall_recording_as (recorded_as=405994388, nargs=2, args=0xbfffeee8)
    at eval.c:3174
#26 0x809098f in Ffuncall (nargs=2, args=0xbfffeee8) at eval.c:3218
#27 0x8063a0e in Fbyte_code (bytestr=941930888, vector=1210366476, maxdepth=3) at bytecode.c:418
#28 0x8091728 in funcall_lambda (fun=405060132, nargs=1, arg_vector=0xbffff040) at eval.c:3592
#29 0x809088a in funcall_recording_as (recorded_as=405060132, nargs=2, args=0xbffff03c)
    at eval.c:3190
#30 0x8090e4e in Fapply (nargs=2, args=0xbffff03c) at eval.c:3374
#31 0x8091ef0 in apply1 (fn=405060132, arg=676263548) at eval.c:3913
#32 0x80654d6 in Fcall_interactively (function=406495308, record_flag=405909508, keys=405909508)
    at callint.c:394
#33 0x8091099 in primitive_funcall (fn=0x8064de0 <Fcall_interactively>, nargs=3, args=0xbffff164)
    at eval.c:3459
#34 0x8091234 in funcall_subr (subr=0x8215d48, args=0xbffff164) at eval.c:3482
#35 0x8090809 in funcall_recording_as (recorded_as=405985716, nargs=2, args=0xbffff29c)
    at eval.c:3174
#36 0x809098f in Ffuncall (nargs=2, args=0xbffff29c) at eval.c:3218
#37 0x8063a0e in Fbyte_code (bytestr=943293344, vector=1212527360, maxdepth=4) at bytecode.c:418
#38 0x8091728 in funcall_lambda (fun=407851012, nargs=0, arg_vector=0xbffff420) at eval.c:3592
#39 0x809088a in funcall_recording_as (recorded_as=406027036, nargs=1, args=0xbffff41c)
    at eval.c:3190
#40 0x8091b8b in run_hook_with_args_in_buffer (buf=0x84b0400, nargs=1, args=0xbffff41c, 
    cond=RUN_HOOKS_TO_COMPLETION) at eval.c:3738
#41 0x8091d72 in run_hook_with_args (nargs=1, args=0xbffff41c, cond=RUN_HOOKS_TO_COMPLETION)
    at eval.c:3786
#42 0x8091e90 in run_hook (hook=406027036) at eval.c:3649
#43 0x808f47a in Fcommand_execute (cmd=406495308, record=405909508, keys=405909508) at eval.c:2570
#44 0x80a2a06 in execute_command_event (command_builder=0x842f340, event=407823732)
    at event-stream.c:3504
#45 0x80a3beb in Fdispatch_event (event=407527776) at event-stream.c:3842
#46 0x8070ac7 in Fcommand_loop_1 () at cmdloop.c:540
#47 0x80707e3 in command_loop_1 (dummy=405909508) at cmdloop.c:460
#48 0x808dbd6 in condition_case_1 (handlers=405909604, bfun=0x8070778 <command_loop_1>, 
    barg=405909508, hfun=0x806fb7c <cmd_error>, harg=405909508) at eval.c:1648
#49 0x8070c78 in command_loop_2 (dummy=405909508) at cmdloop.c:222
#50 0x808d9f1 in internal_catch (tag=405987300, func=0x8070c58 <command_loop_2>, arg=405909508, 
    threw=0x0) at eval.c:1325
#51 0x8070042 in initial_command_loop (load_me=405909508) at cmdloop.c:271
#52 0x808b2f2 in main_1 (argc=2, argv=0xbffff66c, envp=0xbffff678) at emacs.c:1452
#53 0x808b954 in main (argc=2, argv=0xbffff66c, envp=0xbffff678) at emacs.c:1801
#54 0x804eb9b in _start ()
(gdb) 




3) doc bug

The help for 'file-coding-system' seems to have some trailing garbage:

[...]
> `overriding-file-coding-system' rather than changing the other two
> variables just mentioned, which are intended to be used for
> global environment specification.  */ );
> #endif /* MULE */
>
>   DEFVAR_BUFFER_LOCAL ("auto-fill-function", auto_fill_function /*
[...]

