[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: crash: memcpy, XChangeProperty, XSetTextProperty, XSetWMIconName, x_
From: |
Reiner Steib |
Subject: |
Re: crash: memcpy, XChangeProperty, XSetTextProperty, XSetWMIconName, x_set_name_internal |
Date: |
Tue, 06 Dec 2005 14:13:21 +0100 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
On Mon, Dec 05 2005, Eli Zaretskii wrote:
>> From: Reiner Steib <address@hidden>
>> (gdb) frame 5
>> #5 0x00000000004c874e in x_set_name_internal (f=0x3563680, name=Variable
>> "name" is not available.
>> )
>> at [...]/emacs/src/xfns.c:1657
>> 1657 XSetWMIconName (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f),
>> &icon);
>> (gdb) p f
>> $1 = 0x3563680
>> (gdb) p icon
>> $2 = {
>> value = 0x71ab178 <Address 0x71ab178 out of bounds>,
>> encoding = 31,
>> format = 8,
>> nitems = 9
>> }
>
> Well, that's your problem, right there: icon.value is garbled. Can
> you try to see why it got garbled, and in what line? In particular,
> is f->icon_name a NULL pointer or not (that determines, a few lines
> before the call to XSetWMIconName, where icon.value comes from).
>
> Also, what is the value of `name' passed to x_set_name_internal? It
> is not visible in the call to x_set_name_internal, due to compiler
> optimizations, but perhaps you can find that out in higher frames,
> above frame #5?
(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.
(gdb) p f
$4 = (struct frame *) 0x3563680
(gdb) p title
No symbol "title" in current context.
(gdb) p f->name
$5 = 85811859
(gdb) p STRINGP (f->name)
No symbol "STRINGP" in current context.
(gdb) frame 7
#7 0x000000000047766b in redisplay_internal (preserve_echo_area=Variable
"preserve_echo_area" is not available.
)
at .../emacs/src/xdisp.c:10584
10584 prepare_menu_bars ();
Is this useful? Else, I need more detailed instructions (gdb
commands).
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
- 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 <=
- 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, 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