On Mon, Dec 05 2005, Eli Zaretskii wrote:
>> From: Reiner Steib <[EMAIL PROTECTED]>
>> (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/
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug