[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unicode-2 branch segfaulting on MacOS X?
From: |
Kenichi Handa |
Subject: |
Re: unicode-2 branch segfaulting on MacOS X? |
Date: |
Mon, 23 Oct 2006 11:45:04 +0900 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) |
In article <address@hidden>, Geoffrey Alan Washburn <address@hidden> writes:
> > So, could you please use gdb to find exactly where (and how) Emacs causes
> > segfault
> > (see etc/DEBUG if you are not familiar with gdb).
> Could you be more specific about what you mean by "how" it is
> segfaulting? It is pretty obvious that it is reading/writing an invalid
> memory location. As I said the problem occurs in font_unparse_fcname.
> In particular, line 1258 of font.c with parameters font=42759700,
> pixel_size=19, name=0x2a20d20 "", and nbytes=96.
That's what I wanted to know. The code around line 1258 is
this:
1255 val = AREF (font, FONT_FOUNDRY_INDEX);
1256 if (! NILP (val))
1257 /* ":foundry=NAME" */
1258 len += 9 + SBYTES (SYMBOL_NAME (val));
So the variable `val' is suspicious. Please check the type
and value of `val' as this:
(gdb) p val
(gdb) xtype
(gdb) pp val
---
Kenichi Handa
address@hidden
- unicode-2 branch segfaulting on MacOS X?, Geoffrey Alan Washburn, 2006/10/22
- Re: unicode-2 branch segfaulting on MacOS X?, Kenichi Handa, 2006/10/22
- Re: unicode-2 branch segfaulting on MacOS X?, Geoffrey Alan Washburn, 2006/10/22
- Re: unicode-2 branch segfaulting on MacOS X?,
Kenichi Handa <=
- Re: unicode-2 branch segfaulting on MacOS X?, Geoffrey Alan Washburn, 2006/10/22
- Re: unicode-2 branch segfaulting on MacOS X?, Kenichi Handa, 2006/10/23
- Re: unicode-2 branch segfaulting on MacOS X?, Geoffrey Alan Washburn, 2006/10/23
- Re: unicode-2 branch segfaulting on MacOS X?, Kenichi Handa, 2006/10/23
- Re: unicode-2 branch segfaulting on MacOS X?, Geoffrey Alan Washburn, 2006/10/23
- Re: unicode-2 branch segfaulting on MacOS X?, Kenichi Handa, 2006/10/27
- Re: unicode-2 branch segfaulting on MacOS X?, Geoffrey Alan Washburn, 2006/10/27
- Re: unicode-2 branch segfaulting on MacOS X?, Kenichi Handa, 2006/10/27
- Re: unicode-2 branch segfaulting on MacOS X?, Geoffrey Alan Washburn, 2006/10/27
- Re: unicode-2 branch segfaulting on MacOS X?, Giorgos Keramidas, 2006/10/27