unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Chris Zheng <chrisdcheng@gmail.com>
Cc: Adrian Robert <adrian.b.robert@gmail.com>,
	"emacs-devel@gnu.org Development" <emacs-devel@gnu.org>
Subject: Re: State of NS port
Date: Sat, 12 Jan 2013 11:09:16 +0100	[thread overview]
Message-ID: <20AB1D9B-73FE-4B14-885E-95CFD2B5F8EB@swipnet.se> (raw)
In-Reply-To: <22C1B7A8E2294F08983ACE6BA77A7346@gmail.com>

Hello.

12 jan 2013 kl. 04:49 skrev Chris Zheng <chrisdcheng@gmail.com>:

> I suffered this problem too, and it's because of two bug fixes after I dig it awhile.
> 
> bug#11484: 23.4; Scrolling leaves traces of old text behind
> 
> http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-05/msg00383.html
> 
> LCD-smoothing was turned off to fix this bug,
> 
> and 
> 
> bug#11541: - Another reproduction - Emacs 24.2;	Null pointer on OSX with
> 
> http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-09/msg01293.html
> 
> I simply revert these two fixes, and problem you mentioned is gone. 
> 
> 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.




  reply	other threads:[~2013-01-12 10:09 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-10 16:27 State of NS port Adrian Robert
2013-01-10 18:53 ` chad
2013-01-10 19:28 ` Stefan Monnier
2013-01-12  3:49 ` Chris Zheng
2013-01-12 10:09   ` Jan Djärv [this message]
2013-01-14  2:44     ` Chris Zheng
2013-01-14  9:35       ` Jan Djärv
2013-01-12 14:58   ` Harald Hanche-Olsen
2013-01-12 16:41     ` Jan Djärv
2013-01-15 17:57       ` Adrian Robert
2013-01-15 20:47         ` Jan Djärv
2013-01-16 13:46           ` Adrian Robert
2013-01-13  8:14   ` YAMAMOTO Mitsuharu
2013-01-13 12:23     ` Jan Djärv
2013-01-13 14:09     ` Jan Djärv
2013-01-14  3:07       ` YAMAMOTO Mitsuharu
  -- strict thread matches above, loose matches on Subject: below --
2013-01-11  1:38 David Kanter
2013-01-11 16:13 ` Jan Djärv

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20AB1D9B-73FE-4B14-885E-95CFD2B5F8EB@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=adrian.b.robert@gmail.com \
    --cc=chrisdcheng@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).