POV-Ray : Newsgroups : povray.bugreports : missing parenthesis in #write causes crash : missing parenthesis in #write causes crash Server Time
2 May 2024 11:01:59 EDT (-0400)
  missing parenthesis in #write causes crash  
From: Kenneth
Date: 18 Mar 2014 03:40:01
Message: <web.5327f7a916905533c2d977c20@news.povray.org>
This one is easy to reproduce ;-)  It happens in both v3.7 and 3.62.

Leaving off the final parenthesis on the #write line below causes a hard crash,
rather than just a fatal error. The latter would be nicer behavior, IMHO. (Of
course, I should pay closer attention to my syntax, too!)

Would it be helpful if I sent a 'crash dump'? (I see that v3.7 can do this for
me automatically.)

[32-bit Windows XP on a 64-bit AMD single-core machine, with 32-bit Pov-Ray
sse2]
------------
#version 3.7

global_settings {
assumed_gamma 1.0
}

#declare R = seed(52);

#fopen XYZ "test_file.txt" write
#write(XYZ,rand(R)) // remove the final parenthesis to cause a hard crash
#fclose XYZ


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.