Justin Pryzby <[EMAIL PROTECTED]> writes:

> On Tue, Mar 07, 2006 at 11:47:25PM +0100, Matej Vela wrote:
>> I think I've tracked this down to a memory overrun in src/X11dev.c.
>> Does the attached patch work for you?
>
> That's awesome :)  How did you find it?

I set a bunch of breakpoints to see where the stack got corrupted, i.e.
where backtrace started printing question marks.  It turned out the code
was using an XAnyEvent (size 20) in place of an XEvent (size 96); thus
the overrun.

> I note that there's still a number of valgrind warnings :/

Mostly harmless as far as I can tell, but patches are always welcome. ;)

Cheers,

Matej


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to