[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: crash: memcpy, XChangeProperty, XSetTextProperty, XSetWMIconName, x_
From: |
Eli Zaretskii |
Subject: |
Re: crash: memcpy, XChangeProperty, XSetTextProperty, XSetWMIconName, x_set_name_internal |
Date: |
Tue, 06 Dec 2005 22:49:41 +0200 |
> From: Reiner Steib <address@hidden>
> Date: Tue, 06 Dec 2005 14:13:21 +0100
>
> (gdb) frame 6
> #6 0x000000000047433c in prepare_menu_bars ()
> at .../emacs/src/xdisp.c:8808
> 8808 x_implicitly_set_name (f, make_string (title, len), Qnil);
> (gdb) p name
> No symbol "name" in current context.
`name' is a Lisp string produced from the C string `title'.
> (gdb) p f
> $4 = (struct frame *) 0x3563680
> (gdb) p title
> No symbol "title" in current context.
`title' is computed a few lines above like so:
title = mode_line_noprop_buf + title_start;
So the command "p mode_line_noprop_buf + title_start" might show the
title string.
> (gdb) p f->name
> $5 = 85811859
> (gdb) p STRINGP (f->name)
No, no, no. To display Lisp objects, you proceed like this:
(gdb) p f->name
$5 = 85811859
(gdb) xtype
If the result of "xtype" is Lisp_String, then the very next command
should be "xstring", it will display the Lisp string as readable text.
Anyway, I asked about the value of f->icon_name in frame #5; can you
see what that is?
- Re: crash: memcpy, XChangeProperty, XSetTextProperty, XSetWMIconName, x_set_name_internal, Richard M. Stallman, 2005/12/04
- Re: crash: memcpy, XChangeProperty, XSetTextProperty, XSetWMIconName, x_set_name_internal, Reiner Steib, 2005/12/05
- Re: crash: memcpy, XChangeProperty, XSetTextProperty, XSetWMIconName, x_set_name_internal, Eli Zaretskii, 2005/12/05
- Re: crash: memcpy, XChangeProperty, XSetTextProperty, XSetWMIconName, x_set_name_internal, Reiner Steib, 2005/12/05
- Re: crash: memcpy, XChangeProperty, XSetTextProperty, XSetWMIconName, x_set_name_internal, Eli Zaretskii, 2005/12/05
- Re: crash: memcpy, XChangeProperty, XSetTextProperty, XSetWMIconName, x_set_name_internal, Reiner Steib, 2005/12/05
- Re: crash: memcpy, XChangeProperty, XSetTextProperty, XSetWMIconName, x_set_name_internal, Richard M. Stallman, 2005/12/06
- Re: crash: memcpy, XChangeProperty, XSetTextProperty, XSetWMIconName, x_set_name_internal, Reiner Steib, 2005/12/06
- Re: crash: memcpy, XChangeProperty, XSetTextProperty, XSetWMIconName, x_set_name_internal,
Eli Zaretskii <=
- Re: crash: memcpy, XChangeProperty, XSetTextProperty, XSetWMIconName, x_set_name_internal, Reiner Steib, 2005/12/08
- Re: crash: memcpy, XChangeProperty, XSetTextProperty, XSetWMIconName, x_set_name_internal, Richard M. Stallman, 2005/12/06
- Re: crash: memcpy, XChangeProperty, XSetTextProperty, XSetWMIconName, x_set_name_internal, Eli Zaretskii, 2005/12/06
- Re: crash: memcpy, XChangeProperty, XSetTextProperty, XSetWMIconName, x_set_name_internal, Richard M. Stallman, 2005/12/07
Re: crash: memcpy, XChangeProperty, XSetTextProperty, XSetWMIconName, x_set_name_internal, Richard M. Stallman, 2005/12/05
- Prev by Date:
Re: completion in find-file
- Next by Date:
Re: crash: memcpy, XChangeProperty, XSetTextProperty, XSetWMIconName, x_set_name_internal
- Previous by thread:
Re: crash: memcpy, XChangeProperty, XSetTextProperty, XSetWMIconName, x_set_name_internal
- Next by thread:
Re: crash: memcpy, XChangeProperty, XSetTextProperty, XSetWMIconName, x_set_name_internal
- Index(es):