[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] FIXED: KDE crashes, was: 2.4.3-3mdk and VIA
From: |
Tom Kacvinsky |
Subject: |
Re: [Devel] FIXED: KDE crashes, was: 2.4.3-3mdk and VIA |
Date: |
Mon, 9 Apr 2001 16:09:26 -0400 (EDT) |
Hi Arnd,
Actually, what you propose is the best method of attacking the problem. Local
allocation of the memory (as in the handle idea I sprouted out earlier) will not
work -- it just keeps tripping up efence. We ought to have the swap table in
the loader anyway, because it is just too useful not to pass up. :)
Attached is my patch (which is a take on your patch).
Regards,
Tom
On Mon, 9 Apr 2001, Arnd Bergmann wrote:
> It actually had to do with the fact that you forgot to allocate any memory
> for the pointer. It is the same problem, just a different symptom.
> Please look at the patch attached to this mail.
> If it is what I suspect, this should be a cleaner way to do it.
>
> Tom wrote:
>
> > I found out what I was playing "fandango on core". It has to do with the
> > psaux
> > functions not liking being passed pointers that are local in scope (for
> > instance,
> > pointers that are defined in a function's stack space). I fixed this by
> > using a
> > handle (Macintosh programming parlance: a pointer to a pointer) and
> > allocating
> > space for the dereferenced handle.
> >
> > Anyway, once I did that (which fixed the core dumps), I did not see the
> > problems
> > that Arnd reported. Strange. I will need to see a screen snapshot.
> >
> > A new patch will be forthcoming. I am glad I didn't commit right way!
>
mem-patches
Description: Text document