From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: State of NS port Date: Sat, 12 Jan 2013 11:09:16 +0100 Message-ID: <20AB1D9B-73FE-4B14-885E-95CFD2B5F8EB@swipnet.se> References: <69E12347-B799-48E4-AE1A-115365CEA4C8@gmail.com> <22C1B7A8E2294F08983ACE6BA77A7346@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1357988340 2486 80.91.229.3 (12 Jan 2013 10:59:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Jan 2013 10:59:00 +0000 (UTC) Cc: Adrian Robert , "emacs-devel@gnu.org Development" To: Chris Zheng Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 12 11:59:18 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ttyo2-0008U4-4N for ged-emacs-devel@m.gmane.org; Sat, 12 Jan 2013 11:59:18 +0100 Original-Received: from localhost ([::1]:41882 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ttynm-0005wW-8K for ged-emacs-devel@m.gmane.org; Sat, 12 Jan 2013 05:59:02 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:33630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ttynd-0005wF-TK for emacs-devel@gnu.org; Sat, 12 Jan 2013 05:59:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TtynW-0006jZ-1f for emacs-devel@gnu.org; Sat, 12 Jan 2013 05:58:53 -0500 Original-Received: from mailout.melmac.se ([62.20.26.67]:65434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tty1d-0005md-UR for emacs-devel@gnu.org; Sat, 12 Jan 2013 05:09:18 -0500 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 1DF919AFE for ; Sat, 12 Jan 2013 11:09:17 +0100 (CET) Original-Received: (qmail 26276 invoked by uid 89); 12 Jan 2013 10:09:16 -0000 Original-Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 12 Jan 2013 10:09:16 -0000 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 8A8B87FA06C; Sat, 12 Jan 2013 11:09:16 +0100 (CET) In-Reply-To: <22C1B7A8E2294F08983ACE6BA77A7346@gmail.com> X-Mailer: Apple Mail (2.1499) X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 62.20.26.67 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:156258 Archived-At: Hello. 12 jan 2013 kl. 04:49 skrev Chris Zheng : > I suffered this problem too, and it's because of two bug fixes after I = dig it awhile. >=20 > bug#11484: 23.4; Scrolling leaves traces of old text behind >=20 > http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-05/msg00383.html >=20 > LCD-smoothing was turned off to fix this bug, >=20 > and=20 >=20 > bug#11541: - Another reproduction - Emacs 24.2; Null pointer on = OSX with >=20 > http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-09/msg01293.html >=20 > I simply revert these two fixes, and problem you mentioned is gone.=20 >=20 > So, maybe there are more deeper things around of these two bugs. Yes there are. The first one is due to the fact that the font code = miscalculates the font metrics when lcd-smoothing is on. It may be = related to some premature optimizations such as caching of font metrics = in the font code. The second one is because the memory handling in the font code is = incorrect and leads to crashes for some people (may depend on font = and/or OS version and/or compiler version/settings). The second one = does not happen when run in gdb. But when it does happen, as it does = for me right now, Emacs crashes. Jan D.