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:21:55 +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 1224953539 18788 80.91.229.12 (25 Oct 2008 16:52:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Oct 2008 16:52:19 +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:53:20 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 1KtmO3-000316-KD for ged-emacs-devel@m.gmane.org; Sat, 25 Oct 2008 18:53:15 +0200 Original-Received: from localhost ([127.0.0.1]:52433 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtmMx-000437-LC for ged-emacs-devel@m.gmane.org; Sat, 25 Oct 2008 12:52:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KtmMr-000432-Lp for emacs-devel@gnu.org; Sat, 25 Oct 2008 12:52:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KtmMp-00042m-WF for emacs-devel@gnu.org; Sat, 25 Oct 2008 12:52:00 -0400 Original-Received: from [199.232.76.173] (port=59068 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtmMp-00042j-Ss for emacs-devel@gnu.org; Sat, 25 Oct 2008 12:51:59 -0400 Original-Received: from ti-out-0910.google.com ([209.85.142.189]:59229) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KtmMp-0006n8-AP for emacs-devel@gnu.org; Sat, 25 Oct 2008 12:51:59 -0400 Original-Received: by ti-out-0910.google.com with SMTP id u5so836330tia.10 for ; Sat, 25 Oct 2008 09:51:55 -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=BeWO9u+2ODp8TLYKm9maBoj6fwZvnD9yVXHrZF5SwHM=; b=nyI+nvMkjc/6hpKrQPXdntOHZfL255tOtJD1oHyWqmppPsLf9jfDM8bu0nBk7/5+CW kvDrEn4auMVShMaQ2coZeoxDREeKr6KVTJw9uCJhYwEQflqVfbyDMcXR6hXrDiXsCDR6 ovKv4f02wu7tjsMH7eXj1cYD2+HccMielI4ZU= 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=EhhhZflRI7uETDjCHnhI/5iWtKfjCwrxtpmUUesEoeWHSmbzilOUbGFg7FIeJF0ntv EgySWI1KuGnc9VyRYTUXQSSiNXUZWB5r9CefEUvC9KgC8YgNTrWUpL0r/JrVdxwWtaL1 F0FkZm/ni6F2fJJATfcTz0LQPuo+2gwfZVUzY= Original-Received: by 10.110.95.15 with SMTP id s15mr2232640tib.8.1224953515896; Sat, 25 Oct 2008 09:51:55 -0700 (PDT) Original-Received: by 10.110.93.2 with HTTP; Sat, 25 Oct 2008 09:51:55 -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:104994 Archived-At: 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))) -dhruva -- Contents reflect my personal views only!