From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.bugs Subject: Re: Emacs 22.0.50.1 crash on make_uninit_multibyte_string Date: Fri, 16 Sep 2005 13:25:53 +0200 Message-ID: References: <17184.13523.891333.897902@spinky.blazemonger.com> <17194.6918.799325.394612@spinky.blazemonger.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1126871390 29340 80.91.229.2 (16 Sep 2005 11:49:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Sep 2005 11:49:50 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 16 13:49:39 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EGEh7-0006FN-Ei for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Sep 2005 13:47:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EGEh6-0006Yb-KQ for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Sep 2005 07:47:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EGEYm-0003Jr-Fw for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2005 07:39:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EGETV-0002HP-Jy for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2005 07:33:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EGETN-00021K-7N for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2005 07:33:42 -0400 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EGEMH-0002Mk-6p for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2005 07:26:21 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepc.post.tele.dk (Postfix) with SMTP id EAB31262858; Fri, 16 Sep 2005 13:26:08 +0200 (CEST) Original-To: Daniel Barrett In-Reply-To: <17194.6918.799325.394612@spinky.blazemonger.com> (Daniel Barrett's message of "Thu, 15 Sep 2005 21:08:22 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:13028 Archived-At: I took a quick look at VM, and found this: > ;;(provide 'vm-byteopts) > > ;; get the compiler loaded so we can undo some of the things that > ;; happen when it's loaded. > (load "bytecomp" t t nil) > ;; Emacs 19 byte compiler complains about too much stuff by default. > ;; Turn off most of the warnings here. > (setq byte-compile-warnings '(free-vars)) > ;; need to use these variables for v18 support. > ;; stifle the compiler. > (put 'inhibit-local-variables 'byte-obsolete-variable nil) > ;; Turn off dynamic docstrings and lazy function loading. This > ;; is a new feature of FSF Emacs 19.29, and is incompatible > ;; with pre-19.29 versions of FSF Emacs and all version of Lucid > ;; Emacs / XEmacs. I like being able to share .elc files between > ;; different v19 Emacses. > (setq byte-compile-dynamic nil) > (setq byte-compile-dynamic-docstrings nil) > ;; avoid v20 features because users are going > ;; to try to share elc files no matter what we tell them. > (setq byte-compile-emacs19-compatibility t) > > (provide 'vm-byteopts) I wonder if some of these settings may trigger some unusual byte-code pattern which we don't normally see in emacs 22.x ??? Daniel Barrett writes: > On September 8, 2005, Kim F. Storm wrote: >>Daniel Barrett writes: >>> On September 8, 2005, Kim F. Storm wrote: >>>>Can you provide an "xbacktrace" and "bt full" backtrace. > > (gdb) xbacktrace > "vm-left-justify-string" > "vm-reencode-mime-encoded-words-in-string" > "format" > "list" > "eval" > "vm-summary-sprintf" > "vm-su-summary" > "vm-stuff-attributes" > "vm-stuff-virtual-attributes" > "vm-set-xxxx-flag" > "vm-set-new-flag" > "vm-show-current-message" > "vm-scroll-forward" > "call-interactively" > > (gdb) bt full > #0 make_uninit_multibyte_string (nchars=85, nbytes=85) at alloc.c:1880 > string = Variable "string" is not available. > >>Please use M-x report-emacs-bug to include proper information >>about your emacs version and environment, including additional >>information about the crash (as instructed). > > In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) > of 2005-07-19 on spinky > X server distributor `The XFree86 Project, Inc', version 11.0.40399902 > configured using `configure '--prefix' '/usr/local/emacs-dev'' > > Important settings: > value of $LC_ALL: nil > value of $LC_COLLATE: C > value of $LC_CTYPE: nil > value of $LC_MESSAGES: nil > value of $LC_MONETARY: nil > value of $LC_NUMERIC: nil > value of $LC_TIME: nil > value of $LANG: en_US.UTF-8 > locale-coding-system: utf-8 > default-enable-multibyte-characters: nil > > Major mode: VM Summary > > Minor modes in effect: > mouse-wheel-mode: t > tooltip-mode: t > auto-compression-mode: t > global-font-lock-mode: t > blink-cursor-mode: t > unify-8859-on-encoding-mode: t > utf-translate-cjk-mode: t > line-number-mode: t > next-error-follow-minor-mode: Fol > > Recent input: > [irrelevant -- run much later than the bug occurrence] > > Recent messages: > Reordering messages... done > 48 messages, 0 new, 0 unread, 0 deleted > Generating summary... 40 > Generating summary markers... > Generating summary... done > 48 messages, 0 new, 0 unread, 0 deleted > Checking for new mail for /home/dbarrett/.Mail/emacs... > 48 messages, 0 new, 0 unread, 0 deleted > Mark set > Loading emacsbug...done > > -- Kim F. Storm http://www.cua.dk