From: | Rudi Chiarito |
Date: | 10 Sep 2000 at 14:03:58 |
Subject: | Re: AMIOPEN: tunnel |
On Sun, Sep 10, 2000 at 01:57:57PM +0100, Matthew Kille wrote:
> Interestingly, I've never had this problem. It wasn't until Rudi told me
> about it that I knew a problem even existed.
As far as I recall, it was easier to reproduce if you started the SDK
with intent_shell and run it as the first program. This would cause a
segmentation fault.
My explanation is that if you run several programs before it, the size of
the Linux Elate process will be quite larger (it grows, but never
shrinks). Thus an access (read or write, it doesn't matter) to a memory
location outside tunnel's buffers has more chances of still being inside
Elate's memory range. Running it as the first program reduces greatly
such chances.