From xemacs-m  Sat Jan  4 11:06:32 1997
Received: from arioch.tng.oche.de (qmailr@s2m015.dialup.RWTH-Aachen.DE [137.226.3.15])
          by xemacs.cs.uiuc.edu (8.8.4/8.8.4) with SMTP
	  id LAA07495 for <xemacs-beta@xemacs.org>; Sat, 4 Jan 1997 11:06:23 -0600 (CST)
Received: (qmail 1719 invoked by uid 500); 4 Jan 1997 17:05:44 -0000
To: xemacs-beta@xemacs.org
Subject: Build report for Linux, two repeatable crashes and a doc bug
Mime-Version: 1.0 (generated by tm-edit 7.97)
Content-Type: multipart/mixed;
 boundary="Multipart_Sat_Jan__4_18:05:43_1997-1"
Content-Transfer-Encoding: 7bit
From: Carsten Leonhardt <leo@arioch.tng.oche.de>
Date: 04 Jan 1997 18:05:43 +0100
Message-ID: <m34tgx1ic8.fsf@arioch.tng.oche.de>
Lines: 313
X-Mailer: Red Gnus v0.76/XEmacs 20.0

--Multipart_Sat_Jan__4_18:05:43_1997-1
Content-Type: text/plain; charset=US-ASCII

Hi,

my UUCP-uplink seems to be unable to route mails to xemacs.org :-(

These two mails went to hell, so here they are again.

Leo


--Multipart_Sat_Jan__4_18:05:43_1997-1
Content-Type: message/rfc822

To: xemacs-beta@xemacs.org
Subject: 20.0-b33 success on Linux
Mime-Version: 1.0 (generated by tm-edit 7.97)
Content-Type: text/plain; charset=US-ASCII
From: Carsten Leonhardt <leo@arioch.tng.oche.de>
Date: 04 Jan 1997 03:20:47 +0100
Message-ID: <m3eng218qo.fsf@arioch.tng.oche.de>
X-Mailer: Red Gnus v0.76/XEmacs 20.0
Lines: 80

Hi!

Here you get my first report, see my separate mail(s) for bugs.

Configuration information:

Linux 2.0.27, gcc 2.7.2, libc 5.3.12

configure \
i586-leo-linux \
--extra-verbose \
--cflags "-g -O4 -m486" \
--dynamic \
--with-toolbars=no \
--with-sound=native \
--with-png=yes \
--with-mule


        defining HAVE_LIBGDBM
        defining HAVE_DBM
        defining HAVE_GNU_DBM
        defining EMACS_VERSION to be 20.0-b33
        defining EMACS_CONFIGURATION to be "i586-leo-linux"
        defining config_machfile to be "m/intel386.h"
        defining config_opsysfile to be "s/linux.h"
        defining LD_SWITCH_X_SITE to be -L/usr/X11R6/lib
        defining LD_SWITCH_X_SITE_AUX to be 
        defining C_SWITCH_X_SITE to be -I/usr/X11R6/include
        defining LD_SWITCH_SITE to be 
        defining C_SWITCH_SITE to be 
        defining UNEXEC_SRC to be unexelf.c
        defining HAVE_X_WINDOWS
        defining HAVE_XFREE386
        defining GNU_MALLOC
        defining REL_ALLOC
        defining LISP_FLOAT_TYPE
        defining HAVE_TTY
        defining MULE
        defining USE_GCC
        defining CONST_IS_LOSING
        defining USE_ASSERTIONS
        defining DEBUG_XEMACS
        defining MEMORY_USAGE_STATS
        defining ERROR_CHECK_EXTENTS
        defining ERROR_CHECK_TYPECHECK
        defining ERROR_CHECK_BUFPOS
        defining ERROR_CHECK_GC
        defining ERROR_CHECK_MALLOC
        defining HAVE_NATIVE_SOUND
        defining NO_UNION_TYPE


Configured for `i586-leo-linux'.

  Where should the build process find the source code?    /mnt/adisk/src/xemacs-20.0-b33
  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 -g -O4 -m486
  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
  Compiling in support for XAUTH.
  Compiling in support for XPM.
  Compiling in support for X-Face headers.
  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 Mule (multi-lingual) support.
  Using the Lucid menubar.
  Using the Lucid scrollbar.
  Using the Athena dialog boxes.
  Compiling in extra code for debugging.
  Compiling in code for checking XEmacs memory usage.


--Multipart_Sat_Jan__4_18:05:43_1997-1
Content-Type: message/rfc822

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>
X-Mailer: Red Gnus v0.76/XEmacs 20.0
Lines: 190

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 /*
[...]


--Multipart_Sat_Jan__4_18:05:43_1997-1--

