View unanswered posts | View active topics
|
Page 1 of 1
|
[ 3 posts ] |
|
| Author |
Message |
|
Shinigami
|
Post subject: GetWorldHeight Posted: Sat Nov 25, 2006 2:20 pm |
|
 |
| POL Core Developer |
Joined: Mon Jan 30, 2006 9:28 am Posts: 292 Location: Germany, Bavaria
|
|
There is a bug inside GetWorldHeight... in some cirumstances it will return an error instead of expected z-value (no Core crash).
affected releases:
pol-linuxbin-097-2006-10-18-gentoo.tar.gz
pol-linuxbin-097-2006-10-29-RC-Coregina-gentoo.tar.gz
To be correct, _all_ releases are affected but all other releases just hide this problem. These releases were build on a new compiler release (gcc4.1.1).
Shinigami
|
|
| Top |
|
 |
|
Rogdush
|
Post subject: Posted: Sat Nov 25, 2006 6:51 pm |
|
Joined: Fri Feb 10, 2006 8:29 am Posts: 21
|
|
Can I ask what are the circumstances of that error? or is it random error?
|
|
| Top |
|
 |
|
Shinigami
|
Post subject: Posted: Sat Nov 25, 2006 7:36 pm |
|
 |
| POL Core Developer |
Joined: Mon Jan 30, 2006 9:28 am Posts: 292 Location: Germany, Bavaria
|
|
the values was not initialized, but it was never a problem here. the value was taken from stack and it was greater than 1000 (huge value in real but positive) in any case... in Win, Linux and FreeBSD release if they use 32 bit integer, just by luck.
but now, using newer gcc, 64 bit integers are used (just by default). so the value taken from stack is different. not in includes an older return address and the whole value will become negative.
the algorithm inside needs a larger positive value to init... so it will break here...
Shinigami
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|