POV-Ray

The Persistence of Vision Raytracer (POV-Ray).

This is the legacy Bug Tracking System for the POV-Ray project. Bugs listed here are being migrated to our github issue tracker. Please refer to that for new reports or updates to existing ones on this system.

Tasklist

FS#221 - Undefined looks_like object causes hard crash

Attached to Project: POV-Ray
Opened by Christoph Lipka (clipka) - Thursday, 22 September 2011, 23:25 GMT
Last edited by Christoph Lipka (clipka) - Thursday, 21 June 2012, 23:09 GMT
Task Type Definite Bug
Category Backend → Parser/SDL
Status Closed
Assigned To Christoph Lipka (clipka)
Operating System All
Severity Low
Priority Normal
Reported Version 3.70 RC3
Due in Version 3.70 RC4
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The following SDL code causes a hard crash during parsing if _3024_dot_dat is undefined:

light_source {
    <0, 0, 0>
    color rgb 0.5*<1,0.905882,0.211765>
    fade_distance 500
    fade_power 1.6
    looks_like {_3024_dot_dat texture {
        pigment { rgbf <1,0.905882,0.211765,0.90> }
        finish { ambient 0.6 diffuse 0 phong 0.5 phong_size 40
            reflection 0.9
            refraction 1 ior 1.25
            }
        }
}    } 
This task depends upon

Closed by  Christoph Lipka (clipka)
Thursday, 21 June 2012, 23:09 GMT
Reason for closing:  Fixed
Comment by Christoph Lipka (clipka) - Thursday, 22 September 2011, 23:31 GMT
  • Field changed: Status (Investigating → Requires testing)
  • Field changed: Percent Complete (90% → 100%)

fixed with change #5497

Comment by Grimbert Jérôme (Le_Forgeron) - Saturday, 24 September 2011, 17:45 GMT

Fix confirmed for 3.7RC3+ (#5497).
File 'ba.pov' line 6: Parse Error: Expected 'object', undeclared identifier
'_3024_dot_dat' found instead

(previously to #5497, it would "segmentation fault")

For 3.6, there was no problem:
Parse Error: Expected 'object', undeclared identifier '_3024_dot_dat' found
instead

Loading...