Re: Dosemu leaks on fork (was: Re: 2.0.33 Memory leak (bad))

Bill Hawes (whawes@star.net)
Sun, 11 Jan 1998 13:10:04 -0500


Kai Henningsen wrote:

> I made a very crude patch which, with some obscene command line for
> searching /var/log/messages, made me find it, I think.
>
> It's in process.c, line 484. It's when dosemu forks Linux programs. (This
> is in copy_thread, but only if the thread has an ldt.)

Ah yes, I remember seeing this once and forgot to follow up on it -- the
ldt is allocated but doesn't seem to be freed. Looks like a job for
Ingo ...

Regards,
Bill