The Persistence of Vision Raytracer (POV-Ray).
This is the Bug Tracking System for the POV-Ray project. Before opening a new task, please read How to make a Bug Report
Please do not issue bugs reports against versions earlier than 3.6.
FS#156 - Crash when reading from DF3 file with no data, using interpolation (div/0)
Opened by Phil M (philwatcher) - Friday, 09 July 2010, 22:04 GMT
Last edited by Christoph Lipka (clipka) - Tuesday, 17 July 2012, 20:46 GMT
|
Details
A df3 file is written, with header 00 00 00 00 00 00 and no data (hypothetically valid df3 file).
Sample Scene:
box{0,1 pigment{rgbt 1} hollow interior{media{
System: Win7 x64, 3.7 Beta 38 |
Confirmed with 3.7RC3 on linux.
Beware, the flyspray quote for filename must be replaced with the double-quote.
* glibc detected * povray: double free or corruption (fasttop): 0x0000000001be9de0 ***
Yummy!
Should be corrected with #5440.
#5440 is only a protection: if any of the 3 size (x,y,z) of the DF3 is 0, do not compute.
It was crashing because the interpolation code use modulo the size... modulo 0 is a bad idea.