From xemacs-m  Thu Jul 17 20:31:44 1997
Received: from punt-2.mail.demon.net (punt-2b.mail.demon.net [194.217.242.6])
	by xemacs.org (8.8.5/8.8.5) with SMTP id UAA28476
	for <xemacs-beta@xemacs.org>; Thu, 17 Jul 1997 20:31:43 -0500 (CDT)
Received: from haruspex.demon.co.uk ([158.152.162.249]) by punt-2.mail.demon.net
           id aa0716930; 17 Jul 97 23:35 BST
Received: (from ltb@localhost)
	by haruspex.demon.co.uk (8.8.5/8.8.5) id WAA05581;
	Thu, 17 Jul 1997 22:19:04 GMT
To: xemacs-beta@xemacs.org
Subject: 20.3b-13 Crash reading koi8-r MIME encoded message with Gnus
X-url: http://www.haruspex.demon.co.uk/
X-Attribution: Len
X-Unexpected: The Spanish Inquisition
X-Mayan-date: Long count = 12.19.4.6.2; tzolkin = 8 Ik; haab = 0 Xul
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=X-CTEXT
From: Leonard Blanks <ltb@haruspex.demon.co.uk>
Date: 17 Jul 1997 22:18:58 +0000
Message-ID: <m24t9twcdp.fsf@haruspex.demon.co.uk>
Lines: 229
X-Mailer: Gnus v5.4.63/XEmacs 20.3(beta13) - "Brussels"
X-MIME-Autoconverted: from 8bit to quoted-printable by haruspex.demon.co.uk id WAA05581
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by xemacs.org id UAA28477

The following news posting crashed a bog-standard (Gnus 5.4.63 and the
TM version provided) XEmacs 20.3b-13 (system information at the end of
this report); In addition, other messages from the same poster (which
did not result in a crash) had the following appended as the last line
of each message (from mule-ccl.c?):

CCL: Invalid command (c).

xemacs -q -no-site-file produced *no* problems at all.  Using sample.emacs
in place of my .emacs crashes as well.

Here is the posting copied from the spool:

Path: haruspex.demon.co.uk!news.demon.co.uk!dispatch.news.demon.net!demon!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!cam-news-feed3.bbnplanet.com!news.bbnplanet.com!rosnet!not-for-mail
From: Kate <lady_stardust@geocities.com>
Newsgroups: rec.music.rock-pop-r+b.1970s
Subject: Re: The favorites songs of Eric "Slowhand" Clapton
Date: Thu, 17 Jul 1997 10:42:59 -0700
Organization: Russian Telecommunications Network.
Message-ID: <33CE59A3.258@geocities.com>
References: <33CD85A1.6E37C660@cooptel.qc.ca>
Reply-To: lady_stardust@geocities.com
NNTP-Posting-Host: 195.90.153.78
Mime-Version: 1.0
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 8bit
X-Mailer: Mozilla 3.0 (Win16; I)
Lines: 18
Xref: haruspex.demon.co.uk rec.music.rock-pop-r+b.1970s:10094

Maxime Grgoire wrote:
> 
> Hi.  It's my most favorites songs in order :
> 
> 1. Layla (Derek and the Dominos)
> 2.Wonderful Tonight
> 3.Let it grow
> 4.Tears in Heaven
> 5.Bell bottom blues (Derek and the Dominos)
> 6.Cocaine
> 7.White room (Cream)
> 8.Nobody know when you're down and out
> 9.I shot the sheriff
> 10.Bad Love (Cream)

 Hello,

To me the best one is Wonderful Tonight!

------------------------------------------------------------------------
Note that the attribution contains an ISO8859-1 (well at least a
non-cyrillic) character, unlike her other posts.  Here is the result
(no core file produced):


  # bind (subj ne nb e he rcnum encoding params ctype end beg obuf ibuf cinfo content)
  mime-preview/display-content([mime::content-info nil 1 1164 "text/plain" (("charset" . "koi8-r")) "8bit" nil] [mime::content-info nil 1 1164 "text/plain" (("charset" . "koi8-r")) "8bit" nil] #<buffer " *Original Article*"> "*Article*")
  # bind (drest mode the-buf dest pcl cinfo obuf)
  mime-viewer/make-preview-buffer("*Article*")
  # bind (obuf ibuf encoding ctl)
  mime-viewer/setup-buffer(nil nil " *Original Article*" "*Article*")
  # bind (mother-keymap obuf ibuf encoding ctl mother)
  mime/viewer-mode(nil nil nil " *Original Article*" "*Article*" #<keymap 354 entries 0x17f9>)
  byte-code("\n

                   &e" [mime/viewer-mode nil gnus-original-article-buffer gnus-article-buffer gnus-article-mode-map] 7)
  # (unwind-protect ...)
  # bind (mime-viewer/ignored-field-regexp default-mime-charset)
  gnus-article-preview-mime-message()
  # bind (buffer-read-only)
  # (unwind-protect ...)
  # bind (result group internal-hook summary-buffer gnus-article)
  # (unwind-protect ...)
  # bind (header all-headers article)
  gnus-article-prepare(10094 nil)
  # bind (all-header article)
  gnus-summary-display-article(10094)
  # bind (push backward subject unread)
  gnus-summary-next-article(t nil)
  gnus-summary-next-unread-article()
  # bind (article article-window endp circular lines)
  gnus-summary-next-page(nil)
  # bind (command-debug-status)
  call-interactively(gnus-summary-next-page)
  # (condition-case ... . error)
  # (catch top-level ...)
IOT trap/Abort
Fatal error: assertion failed, file lisp.h, line 1229, INTP (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@xemacs.org'.
*MAKE SURE* to include as much configuration information as
possible; at the very least what OS and hardware you are running
on, and hopefully also what compiler and compiler options the
binary was compiled with, what options XEmacs was compiled with,
whether you are using a prebuilt binary from ftp.xemacs.org or
compiled XEmacs yourself for your system, etc.

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 XEmacs, or maybe in your home
directory), and type

  gdb /usr/local/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(777 1164 koi8-r)
  # bind (cs charset end start)
  decode-mime-charset-region(777 1164 "koi8-r")
  # bind (encoding charset)
  mime-charset/decode-buffer("koi8-r" "8bit")
  # bind (m mode encoding charset)
  mime-preview/decode-text-buffer("koi8-r" "8bit")
  # bind (encoding params ctype)
  mime-preview/filter-for-text/plain("text/plain" (("charset" . "koi8-r")) "8bit")
  # bind (f)
  # (unwind-protect ...)
  # bind (encoding subj params ctype cinfo rcnum end beg)
  mime-preview/display-body(777 1164 nil [mime::content-info nil 1 1164 "text/plain" (("charset" . "koi8-r")) "8bit" nil] "text/plain" (("charset" . "koi8-r")) "Re: The favorites songs of Eric \"Slowhand\" Clapton" "8bit")
  # bind (subj ne nb e he rcnum encoding params ctype end beg obuf ibuf cinfo content)
  mime-preview/display-content([mime::content-info nil 1 1164 "text/plain" (("charset" . "koi8-r")) "8bit" nil] [mime::content-info nil 1 1164 "text/plain" (("charset" . "koi8-r")) "8bit" nil] #<buffer " *Original Article*"> "*Article*")
  # bind (drest mode the-buf dest pcl cinfo obuf)
  mime-viewer/make-preview-buffer("*Article*")
  # bind (obuf ibuf encoding ctl)
  mime-viewer/setup-buffer(nil nil " *Original Article*" "*Article*")
  # bind (mother-keymap obuf ibuf encoding ctl mother)
  mime/viewer-mode(nil nil nil " *Original Article*" "*Article*" #<keymap 354 entries 0x17f9>)
  byte-code("\n

                   &e" [mime/viewer-mode nil gnus-original-article-buffer gnus-article-buffer gnus-article-mode-map] 7)
  # (unwind-protect ...)
  # bind (mime-viewer/ignored-field-regexp default-mime-charset)
  gnus-article-preview-mime-message()
  # bind (buffer-read-only)
  # (unwind-protect ...)
  # bind (result group internal-hook summary-buffer gnus-article)
  # (unwind-protect ...)
  # bind (header all-headers article)
  gnus-article-prepare(10094 nil)
  # bind (all-header article)
  gnus-summary-display-article(10094)
  # bind (push backward subject unread)
  gnus-summary-next-article(t nil)
  gnus-summary-next-unread-article()
  # bind (article article-window endp circular lines)
  gnus-summary-next-page(nil)
  # bind (command-debug-status)
  call-interactively(gnus-summary-next-page)
  # (condition-case ... . error)
  # (catch top-level ...)
IOT trap/Abort

----------------------------------------------------------------------------
Build information follows:

gcc 2.7.2.2; libc 5.4.33

uname -a: Linux haruspex 2.0.30 #4 Sun Jul 6 03:41:58 GMT 1997 i586 unknown

./configure  '--cflags=-m486 -g -O3 -malign-loops=2 -malign-jumps=2 -malign-functions=2' '--site-includes=/usr/local/include' '--site-librarries=/usr/local/lib' '--with-scrollbars=motif' '--with-xpm' '--with-mule'


Configured for `i586-pc-linux'.

  Where should the build process find the source code?    /home/ltb/download/xemacs-20.3-b13
  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 -O3 -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
  Additional libraries:                                   /usr/local/lib
  Compiling in support for XAUTH.
  Compiling in support for GIF image conversion.
  Compiling in support for XPM images.
  Compiling in support for X-Face message headers.
  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.
  Using Lucid menubars.
  Using Motif scrollbars.
  Using Motif dialog boxes.
  movemail will use "dot-locking" for locking mail spool files.
  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: ---------------------------------------------------------

	libXm.so.2 => /usr/X11R6/lib/libXm.so.2 (0x4000a000)
	libpng.so.0 => /usr/local/lib/libpng.so.0 (0x401d1000)
	libz.so => /usr/local/lib/libz.so (0x401e9000)
	libjpeg.so => /usr/local/lib/libjpeg.so (0x401f6000)
	libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40214000)
	libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40225000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40264000)
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4026d000)
	libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x402fa000)
	libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40302000)
	libdb.so.1 => /usr/lib/libdb.so.1 (0x40316000)
	libncurses.so.4 => /usr/lib/libncurses.so.4 (0x40326000)
	libm.so.5 => /lib/libm.so.5 (0x40367000)
	libc.so.5 => /lib/libc.so.5 (0x40370000)
	libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40432000)

-- 
Len

