Re: [ctwm] [rt.lp.se #132] It seems we have a memory leak or buffer overflow

2007-02-15 Thread Anthony Thyssen
Richard Levitte - VMS Whacker on wrote... | Anthony, could you be a dear and try that revision out and see if it | clears your crash? | You are lucky to catch me before I leave for the weekend. Remember it is tomorrow here in Australia -- see Signature below ;-) pulling, updating and rebuilding

[ctwm] [rt.lp.se #132] It seems we have a memory leak or buffer overflow

2007-02-15 Thread Richard Levitte via RT
It wasn't a memory leak and it wasn't a buffer overflow. It was freeing an image that shouldn't be freed because it's in a cache. This free was a bit misplaced: > [levitte - Thu Feb 15 07:22:15 2007]: > Symptoms: > > CTWM crashes when a second window is deleted. Specifically, it > happen

Re: [ctwm] [rt.lp.se #132] It seems we have a memory leak or buffer overflow

2007-02-15 Thread Olaf Seibert via RT
On Thu 15 Feb 2007 at 07:22:16 +0100, Richard Levitte via RT wrote: > It seems that the TwmWindow field HiliteImage is overwritten with > some random value. This is precisely the kind of thing to find with Valgrind (see http://valgrind.org/ ) but it's only for Linux, and I have NetBSD. Apart f

Re: [ctwm] [rt.lp.se #132] It seems we have a memory leak or buffer overflow

2007-02-15 Thread Rhialto
On Thu 15 Feb 2007 at 07:22:16 +0100, Richard Levitte via RT wrote: > It seems that the TwmWindow field HiliteImage is overwritten with > some random value. This is precisely the kind of thing to find with Valgrind (see http://valgrind.org/ ) but it's only for Linux, and I have NetBSD. Apart f