POV-Ray : Newsgroups : povray.bugreports : missing parenthesis in #write causes crash : Re: missing parenthesis in #write causes crash Server Time
25 Apr 2024 13:00:55 EDT (-0400)
  Re: missing parenthesis in #write causes crash  
From: clipka
Date: 24 May 2014 19:15:40
Message: <5381281c$1@news.povray.org>
Am 18.03.2014 08:37, schrieb Kenneth:
> 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

probably related to http://bugs.povray.org/task/259


Post a reply to this message

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