From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.bugs Subject: bug#716: 23.0.60; opening tgz file causes emacs crash Date: Sat, 23 Aug 2008 00:12:38 +0800 Message-ID: <48AEE576.4000606@gnu.org> References: <48A3E7C9.8050509@tnei.co.uk> <48AEACC4.2000300@gnu.org> Reply-To: Jason Rumney , 716@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1219422472 19167 80.91.229.12 (22 Aug 2008 16:27:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Aug 2008 16:27:52 +0000 (UTC) Cc: robert marshall To: 716@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 22 18:28:44 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KWZVE-0007ps-7V for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Aug 2008 18:28:44 +0200 Original-Received: from localhost ([127.0.0.1]:60487 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWZUG-0000KH-HA for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Aug 2008 12:27:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KWZUB-0000Hj-Fw for bug-gnu-emacs@gnu.org; Fri, 22 Aug 2008 12:27:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KWZU7-0000FY-Tc for bug-gnu-emacs@gnu.org; Fri, 22 Aug 2008 12:27:39 -0400 Original-Received: from [199.232.76.173] (port=46381 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWZU7-0000FV-MF for bug-gnu-emacs@gnu.org; Fri, 22 Aug 2008 12:27:35 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44677) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KWZU7-0005Gj-2u for bug-gnu-emacs@gnu.org; Fri, 22 Aug 2008 12:27:35 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7MGRReC000923; Fri, 22 Aug 2008 09:27:27 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7MGK3RK030563; Fri, 22 Aug 2008 09:20:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Jason Rumney Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Fri, 22 Aug 2008 16:20:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 716 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Original-Received: via spool by 716-submit@emacsbugs.donarmstrong.com id=B716.121942162028803 (code B ref 716); Fri, 22 Aug 2008 16:20:03 +0000 Original-Received: (at 716) by emacsbugs.donarmstrong.com; 22 Aug 2008 16:13:40 +0000 Original-Received: from mk-outboundfilter-6-a-2.mail.uk.tiscali.com (mk-outboundfilter-6-a-2.mail.uk.tiscali.com [212.74.114.16]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7MGDaiW028797 for <716@emacsbugs.donarmstrong.com>; Fri, 22 Aug 2008 09:13:37 -0700 Original-X-Trace: 17883975/mk-outboundfilter-6.mail.uk.tiscali.com/F2S/$F2S-INTERNET-ACCEPTED/None/124.82.236.150 X-SBRS: None X-RemoteIP: 124.82.236.150 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkoBAPqBrkh8UuyW/2dsb2JhbAAItkyBaA X-IronPort-AV: E=Sophos;i="4.32,252,1217804400"; d="scan'208";a="17883975" X-IP-Direction: OUT Original-Received: from unknown (HELO [172.16.0.12]) ([124.82.236.150]) by smtp.f2s.tiscali.co.uk with ESMTP; 22 Aug 2008 17:13:28 +0100 User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: <48AEACC4.2000300@gnu.org> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Fri, 22 Aug 2008 12:27:39 -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:19640 Archived-At: Jason Rumney wrote: > In trying to debug this, I think I have found where it is going wrong On further investigation, I think I was seeing symptoms of the problem (smashed stack), not the cause. The NULL argument I observed was inconsistent with the next stack frame up, where the same argument was perfectly valid. The problem starts to occur with version 1.126 of lisp/tar-mode.el. This version contained a rewrite to use separate unibyte and multibyte buffers rather than switching between them in the same buffer. I think something is going wrong here - a possible problems is that the buffer where the crash occurs has a buffer-file-coding-system of iso-latin-1-dos, but my tar program outputs unix line ends (checked by redirecting output to a file, and letting Emacs auto-detect line ends in that file).