Hi all. I've been looking for the big bad bug that makes soya terrain crash. It wasn't too difficult to find, it is just an uninitialized variable. In terrain.pyx in _render function (line 1132) there is an int named "index" that is used as parameter in some functions but that is not initialized before causing memory corruption. This explains the random nature of that bug since memory corruption can sometime be harmless and some other times crash the program.
What is really strange is that initialization instructions for "index" have been commented. I've look in the SVN and found that this bug in in soya for a really long long time. Since I don't know why those initialization instructions have been commented I don't know exactly what should be done to correct that bug properly. I will let that task to the one who did it :) Souvarine. _______________________________________________ Soya-user mailing list Soya-user@gna.org https://mail.gna.org/listinfo/soya-user