OpenAmiga (240/964)

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.



"Without deviation from the norm, progress is not possible." (F. Zappa)
Rudi Chiarito SGML/XML, user interface, i18n Amiga Inc.
rudi@amiga.com http://amiga.com/
Subscribe/Unsubscribe: open-request@amiga.com
Amiga FAQ: http://www.amiga.com/faq.html