We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Summary
Declaring an interior, and then assigning it to another variable causes POV-Ray to halt with a bad allocation error.
POV-Ray Version
Runtime Environment
Scene
#version max (3.5, min (3.8, version)); global_settings { assumed_gamma 1 } #declare Int = interior { ior 1.5 } #declare myInt = Int
Expected Behavior
Scene renders to completion. (This minimal scene has no objects.)
Actual Behavior
The render halts during the parsing phase.
Output
==== [Parsing...] ========================================================== File 'tmp.pov' line 4: Parse Error: std::bad_alloc Fatal error in parser: Cannot parse input. Render failed
Additional context
This bug was first reported in povray.beta-test: Assigning an interior crashes 3.8 beta 2.
Workaround
Wrapping the right-hand identifier with an interior block avoids the crash. In the example, replace line 4 with #declare myInt = interior { Int }
interior
#declare myInt = interior { Int }
Suggested Solution
See wfpokorny’s analysis in the p.beta-test thread.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
Declaring an interior, and then assigning it to another variable causes POV-Ray to halt with a bad allocation error.
POV-Ray Version
Runtime Environment
Scene
Expected Behavior
Scene renders to completion. (This minimal scene has no objects.)
Actual Behavior
The render halts during the parsing phase.
Output
Additional context
This bug was first reported in povray.beta-test: Assigning an interior crashes 3.8 beta 2.
Workaround
Wrapping the right-hand identifier with an
interior
block avoids the crash. In the example, replace line 4 with#declare myInt = interior { Int }
Suggested Solution
See wfpokorny’s analysis in the p.beta-test thread.
The text was updated successfully, but these errors were encountered: