[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
- EXC_BAD_ACCESS on Mac, 山本和彦, 2013/06/16
- Re: EXC_BAD_ACCESS on Mac, Eli Zaretskii, 2013/06/17
- Re: EXC_BAD_ACCESS on Mac, 山本和彦, 2013/06/17
- Re: EXC_BAD_ACCESS on Mac, Paul Eggert, 2013/06/17
- Re: EXC_BAD_ACCESS on Mac,
山本和彦 <=
- Re: EXC_BAD_ACCESS on Mac, 山本和彦, 2013/06/17
- Re: EXC_BAD_ACCESS on Mac, Eli Zaretskii, 2013/06/17
- Re: EXC_BAD_ACCESS on Mac, 山本和彦, 2013/06/17
- Re: EXC_BAD_ACCESS on Mac, Jan Djärv, 2013/06/24
- Re: EXC_BAD_ACCESS on Mac, 山本和彦, 2013/06/24
- Re: EXC_BAD_ACCESS on Mac, Eli Zaretskii, 2013/06/18
- Re: EXC_BAD_ACCESS on Mac, 山本和彦, 2013/06/18
- Show all lines in marked buffers matching a regexp (with patch), Matthias Meulien, 2013/06/18
- Re: Show all lines in marked buffers matching a regexp (with patch), Juri Linkov, 2013/06/19
- Re: EXC_BAD_ACCESS on Mac, 山本和彦, 2013/06/19