From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Barrett Newsgroups: gmane.emacs.bugs Subject: Re: Emacs 22.0.50.1 crash on make_uninit_multibyte_string Date: Sat, 22 Apr 2006 09:46:44 -0400 Message-ID: <17482.13252.227555.498198@spinky.blazemonger.com> References: <17184.13523.891333.897902@spinky.blazemonger.com> <17194.6918.799325.394612@spinky.blazemonger.com> Reply-To: Daniel Barrett NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1145734891 17702 80.91.229.2 (22 Apr 2006 19:41:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 22 Apr 2006 19:41:31 +0000 (UTC) Cc: Daniel Barrett , bug-gnu-emacs@gnu.org, kyle_jones@wonderworks.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 22 21:41:27 2006 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FXNyw-0003BH-R2 for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Apr 2006 21:41:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FXNyw-0004Dv-Am for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Apr 2006 15:41:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FXIRl-0002AB-TF for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2006 09:46:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FXIRk-00029e-QQ for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2006 09:46:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FXIRk-00029X-Jh for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2006 09:46:48 -0400 Original-Received: from [216.148.227.154] (helo=rwcrmhc14.comcast.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FXITX-0007x1-Ep for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2006 09:48:39 -0400 Original-Received: from spinky.blazemonger.com (c-24-60-175-62.hsd1.ma.comcast.net[24.60.175.62]) by comcast.net (rwcrmhc14) with ESMTP id <20060422134642m1400rpglne>; Sat, 22 Apr 2006 13:46:43 +0000 Original-Received: by spinky.blazemonger.com (Postfix, from userid 500) id 4B7ED658A; Sat, 22 Apr 2006 09:46:44 -0400 (EDT) Original-To: storm@cua.dk X-Mailer: VM 7.19 under Emacs 22.0.50.1 X-DJB-Valid: Yes X-Mailman-Approved-At: Sat, 22 Apr 2006 15:41:22 -0400 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:15052 Archived-At: In case anybody is interested, the "random crash" problem between Emacs and Kyle Jones's VM package completely disappeared when I upgraded from SUSE Linux 9.1 to 10.0. It's now been a month without a single segfault. Same versions of Emacs and VM as before. -- Dan Barrett dbarrett@blazemonger.com On September 16, 2005, Kim F. Storm wrote: >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