Hi,
I found the following bug by testing POV-Ray's behavior on very large or
very small values. If a value has more than 125 characters you'll get an
error message "String to long". That is OK. But in some versions (see
below)
POV-Ray crashes (see also below) if you try to parse a value with a few
characters less than 126. For Example:
#declare a =
12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345
It also happens when you put this into an #if (0=1) directive.
I found the problem in the following versions marked with yes and didn't
found it in the others:
version system found
V 3.1a.watcom.win32 (Win98) Yes
V 3.1g.watcom.win32 (Win98) Yes
V 3.1g.msdos.wat-cwa (Win98) Yes
V 3.1g.msdos.wat-cwa (DOS) Yes
V 3.00.msdos.wat-cwa (Win98) Yes
V 3.1g.linux.ggc (SuSE 6.2) No
V 3.1g.msvc.win32 (WIN??) No
V 3.1e.msvc.win32 (Win98) No
V unofficial.MegaPOV.0.4.msvc.win32 (Win??) No
I found it already in an 3.0 Windows version but I don't remember which
one.
Can you try if you can duplicate the crash with your version. I suppose
it happens only with the wat compiles.
--
>>> Manuel Moser - mos### [at] gmx de <<<
Check AniTMT, a free software to create photorealistic animations:
German: http://www.anitmt.de/ English: http://www.anitmt.org/
--------------------------------------------------------------------
Windows Crash (3.1g.watcom.win32):
The following message is displayed. And after confirming this POV-Ray is
closed.
Pvengine
[...]
in Modul KERNEL32.DLL bei 015f:bff9d709.
Register:
EAX=c00300f0 CS=015f EIP=bff9d709 EFLGS=00010212
EBX=0158ffbc SS=0167 ESP=0150ff7c EBP=01510218
ECX=00000000 DS=0167 ESI=00000000 FS=50ef
EDX=bff76859 ES=0167 EDI=bff79050 GS=0000
Bytes bei CS:EIP:
53 8b 15 dc 9c fc bf 56 89 4d e4 57 89 4d dc 89
Stapelwerte:
Free translation:
This application is closed due to an illegal action.
[...]
PVENGINE caused an error by an illegal page in module KERNEL32.DLL at
[...]
---------------------------------------------------------------------
DOS crash (3.1g.msdos.wat-cwa):
POV-Ray displays this and terminates back to DOS.
Exception: 0E, Error code: 0004
EAX=32313039 EBX=83BDF641 ECX=FFFFFFFF EDX=83BDF5A8 ESI=83BDF668
EDI=383736B2 EBP=00000001 ESP=83BDF5C4 EIP=83B8FCEF EFL=00010246
CS=018F-7C541000 DS=0197-7C541000 ES=0197-7C541000
FS=0000-xxxxxxxx GS=019F-xxxxxxxx SS=0197-7C541000
CR0=00000000 CR2=00000000 CR3=00000000 TR=0000
Info flags=00008018
Writing CW.ERR file....
CauseWay error 09 : Unrecoverable exception. Program terminated.
Post a reply to this message
Attachments:
Download 'us-ascii' (5 KB)
|