POV-Ray : Newsgroups : povray.beta-test : division-by-zero-crash? : Re: division-by-zero-crash? Server Time
30 Jul 2024 20:23:08 EDT (-0400)
  Re: division-by-zero-crash?  
From: Ron Parker
Date: 28 Sep 2001 15:20:13
Message: <slrn9r9jbf.639.ron.parker@fwi.com>
On Fri, 28 Sep 2001 15:14:56 -0400, Thorsten Froehlich wrote:
>In article <MPG.161ee9f9c07838c998968f@news.povray.org> , Lutz-Peter Hooge
><lpv### [at] gmxde>  wrote:
>
>> #version 3.5;
>> camera
>> {
>>  location <0,1,-4>
>>  look_at <0,0,0>
>> }
>> #declare f=function {1/x}
>> plane{z,0 inverse pigment{function{f(x,y,z)}}}
>
>Still getting an error message and no crash.

I get a crash here, on Linux:

Creating bounding slabs.
Scene contains 1 frame level objects; 1 infinite.

File: div0.pov  Line: 7
Fatal Error: Floating-point exception detected in function 'f'. Your function ei
ther attempted a division by zero, used a function outside its domain or called
an internal function with invalid parameters.

Possible Rendering Error: libpng: No IDATs written into file

Possible Rendering Error: Cannot write PNG file.

Segmentation fault

-- 
#local R=<7084844682857967,0787982,826975826580>;#macro L(P)concat(#while(P)chr(
mod(P,100)),#local P=P/100;#end"")#end background{rgb 1}text{ttf L(R.x)L(R.y)0,0
translate<-.8,0,-1>}text{ttf L(R.x)L(R.z)0,0translate<-1.6,-.75,-1>}sphere{z/9e3
4/26/2001finish{reflection 1}}//ron.parker@povray.org My opinions, nobody else's


Post a reply to this message

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