|
![](/i/fill.gif) |
In article <37afd18c@news.povray.org> , Nieminen Mika <war### [at] cc tut fi>
wrote:
> The fact that a program doesn't crash in certain platforms doesn't mean
> that the program is bugless.
> I once made a program which worked just fine in SunOS and Digital Unix
> but crashed in a malloc()-call in Linux. Was there some problem with Linux
> memory management?
> Not at all! Actually the memory management of Linux was better than the
> ones in SunOS or Digital Unix. The bug was in my program (I made an
> off-by-one mistake when writing to a table). The memory management of
> Linux saw this and crashed the program while SunOS and Digital Unix were
> unable to. Thanx to Linux I found the problem and was able to fix it.
> So the bug _may_ be in the program although it works in some systems.
Yes, I know. As I said, with a different Mac compiler (= different C
libraries) we get problems like that, too. Unfortunately you never know
(without knowing where in the code it happens) if a compiler bug or a code
bug causes writing to an invalid location.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trf de
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
![](/i/fill.gif) |