[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: |
Mon, 05 Dec 2005 23:02: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:
>> (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?
I'll try tomorrow when I'm back at this machine. It would be useful
for me if you or someone else could tell me the exact gdb commands I
need to use. My gdb knowledge is quite limited.
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 <=
- 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, 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
- Prev by Date:
Re: provide and eval-after-load
- 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):