emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EXC_BAD_ACCESS on Mac


From: 山本和彦
Subject: Re: EXC_BAD_ACCESS on Mac
Date: Tue, 18 Jun 2013 09:29:33 +0900 (JST)

> It could be because of this code in draw_glyphs:
> 
>   /* Let's rather be paranoid than getting a SEGV.  */
>   end = min (end, row->used[area]);
>   start = clip_to_bounds (0, start, end);
> 
> Even if 'start < end' before this code
> is executed, it could be that start == end afterwards.

Oh, you are right.

> What happens if you apply the following patch and compile
> with -DENABLE_CHECKING?

Thanks you for the patch. I compiled Emacs with:
        ./configure --with-ns --enable-checking

Let me see what will happen.

--Kazu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]