From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dhruva Newsgroups: gmane.emacs.devel Subject: Re: Emacs (HEAD) crash on M$ (XP) built with MinGW Date: Sat, 25 Oct 2008 22:26:02 +0530 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1224953781 19449 80.91.229.12 (25 Oct 2008 16:56:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Oct 2008 16:56:21 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org To: "Eli Zaretskii" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 25 18:57:22 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KtmS0-0004PH-QQ for ged-emacs-devel@m.gmane.org; Sat, 25 Oct 2008 18:57:21 +0200 Original-Received: from localhost ([127.0.0.1]:44545 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtmQu-0005xd-VV for ged-emacs-devel@m.gmane.org; Sat, 25 Oct 2008 12:56:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KtmQq-0005xY-2p for emacs-devel@gnu.org; Sat, 25 Oct 2008 12:56:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KtmQo-0005xM-KD for emacs-devel@gnu.org; Sat, 25 Oct 2008 12:56:07 -0400 Original-Received: from [199.232.76.173] (port=60492 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtmQo-0005xJ-EE for emacs-devel@gnu.org; Sat, 25 Oct 2008 12:56:06 -0400 Original-Received: from ti-out-0910.google.com ([209.85.142.186]:63799) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KtmQn-0000zc-SD for emacs-devel@gnu.org; Sat, 25 Oct 2008 12:56:06 -0400 Original-Received: by ti-out-0910.google.com with SMTP id u5so837250tia.10 for ; Sat, 25 Oct 2008 09:56:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=6gm3kuUDEtbI7FpmkVc15ORwvod1bsmqk+anPRFwt3U=; b=HpemQ+glk/fdL4GJRBqw2ldDSHX4vD54Bv8kKJPTpZZtVPuHZCwsfuNv8c/TAYc8fP R5CpSM9iYeZAZoh9oUUW4Z4VcH28IbV6vn+9ZVvWQ8EnFUxWO37cn7G/6knc6wrwqtkM 0xQSYh/RpyDmn7UwTStVrQRZ4J/nFaEQrV+c0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Z/CyUo2o86BAOILMoVXflZunH73wjbM+o66nWHGr1p85xJZY213pEBqXcbUWwnTDfg IaOQdd8UXA7mIwtS218JV9/sXgNqclfxV2heppgRfRiLKteTy31S+aU2nV//tRSjNDQ6 QScE9mjRdPaZ6FxuU7QsnfBAlEdya07PNC62w= Original-Received: by 10.110.31.5 with SMTP id e5mr2239163tie.1.1224953762371; Sat, 25 Oct 2008 09:56:02 -0700 (PDT) Original-Received: by 10.110.93.2 with HTTP; Sat, 25 Oct 2008 09:56:02 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:104995 Archived-At: Hi, On Sat, Oct 25, 2008 at 10:21 PM, dhruva wrote: > Hi, > > On Tue, Oct 21, 2008 at 2:00 PM, Eli Zaretskii wrote: >>> Date: Tue, 21 Oct 2008 13:25:38 +0530 >>> From: dhruva >>> Cc: "Eli Zaretskii" , emacs-devel@gnu.org >>> >>> > FWIW, I cannot reproduce it either. >>> > >>> >> If the fix is safe (defensive), IMHO we could get that in as I >>> >> continue to debug by adding some extra code in the 'if' block. >>> > >>> > IMO is best to let it stand, or even add an assertion; the best way to >>> > catch it is by having it happen. >> >> I completely agree with Juanma: your ``defensive'' fix will simply >> sweep the problem under the carpet, and it won't get fixed for a long >> time, considering that no one can currently reproduce it except >> yourself. >> >>> Could we just log the required extra information for further debugging >>> when that happens? Allowing it to crash is a serious inconvenience >>> (especially for me since I use the code from HEAD for my regular >>> work) >> >> Then please help us debug and fix this ASAP. TIA > > I am able to narrow down to the minimum configuration you need in your > .emacs file to get this crash (following the steps I had mentioned > earlier). > > I put the following lines in my .emacs, opened xdisp.c file and used > the arrow button to move down the lines. Once the cursor reached the > last visible line, the crash happens (before pulling the new lines > into visible frame). > > This crash does not happen with a different font though (like courier)! > > (setq inhibit-splash-screen t) > (setq *def-font > "-*-Lucida Sans Typewriter-normal-*-*-mono-13-*-*-*-c-*-*-*") > (if (boundp '*def-font) > (add-to-list 'default-frame-alist `(font . ,*def-font))) > The crash does not happen with (increased the font size by 1 point): (setq inhibit-splash-screen t) (setq *def-font "-*-Lucida Sans Typewriter-normal-*-*-mono-14-*-*-*-c-*-*-*") (if (boundp '*def-font) (add-to-list 'default-frame-alist `(font . ,*def-font))) -dhruva -- Contents reflect my personal views only!