POV-Ray : Newsgroups : povray.programming : Floating exception Server Time
28 Jul 2024 18:13:59 EDT (-0400)
  Floating exception (Message 1 to 5 of 5)  
From: Simon Lemieux
Subject: Floating exception
Date: 25 May 2000 15:41:52
Message: <392D825A.69D394B1@yahoo.com>
I'm using Povray 3.1 on Linux...  Sometimes when I start it, it just say:
Floating exception (core dumped)
and then the prompt...  I start it again and for no apparent reason, it works
perfectly!...  Any ideas on what can cause such behavior?

Thanks,
	Simon Lemieux


Post a reply to this message

From: Mark Gordon
Subject: Re: Floating exception
Date: 25 May 2000 22:02:59
Message: <392DDC91.813E875E@mailbag.com>
Simon Lemieux wrote:
> 
> I'm using Povray 3.1 on Linux...  Sometimes when I start it, it just say:
> Floating exception (core dumped)
> and then the prompt...  I start it again and for no apparent reason, it works
> perfectly!...  Any ideas on what can cause such behavior?
> 
> Thanks,
>         Simon Lemieux

I haven't seen this, but I'm not running the same scenes you are.  At
what point are you getting the floating point exception. During program
initialization? Parsing? Rendering? At the same spot in the parse/render
those times it does happen? Did you get your executable from povray.org
or an IRTC CD? A Linux distribution? Compiled it yourself? As for why
it's not repeatable, I suspect some random element, of which we offer a
wide variety.  I assume you're using some sort of randomness (rand(),
various procedural textures, jittering, whatever) in the scene.  Try
removing some of the randomness and see if you can repeat it.  Also, see
if you can repeat it with a smaller image of the same scene (it helps
speed up the testing).  If you're not in the mood to go through that,
send me your scene, and I'll see what I can do.  Just for comparison, if
you could tell me what CPU you're using and what Linux distribution,
that would help me make sure I'm as close to your setup as possible. 
Also, if you run allscene.sh without significant error (it's not quite
perfect; there are a few scenes that will fail without minor tweaking,
but nothing like core dumps), that suggests it's something in the scene.

-Mark Gordon


Post a reply to this message

From: Simon Lemieux
Subject: Re: Floating exception
Date: 26 May 2000 00:05:03
Message: <392DF84D.50D18F1@yahoo.com>
> I haven't seen this, but I'm not running the same scenes you are.  At
> what point are you getting the floating point exception. 

During program initialization...  It's the only thing Povray outputs to the
screen...

> Did you get your executable from povray.org
> or an IRTC CD? A Linux distribution?

Got it on povray.org...  It was already compiled (I think?), I don't remember...

> As for why
> it's not repeatable, I suspect some random element, of which we offer a
> wide variety.  I assume you're using some sort of randomness (rand(),
> various procedural textures, jittering, whatever) in the scene.

Nope, there is no random...  And it's not a very difficult scene, I got some
image_maps, some bump_maps, boxes, cylinders, few lights, that's all... no
special effects...

> If you could tell me what CPU you're using and what Linux distribution,
> that would help me make sure I'm as close to your setup as possible.

I have a Celeron 433... I had overclocked it to 527 and povray was crashing
really hard...  but only povray, now my CPU is at 501 and it works fine... the
"Floating Exception" also happen at 433 anyway...  Maybe I fried my CPU :(

In the background I have 2 other renders of povray, 2 animations, both have been
rendering for at least 2 weeks and aren't finished until a few more !!  But they
never had the Floating Exception...

Thanks,
	Simon Lemieux


Post a reply to this message

From: Alan Kong
Subject: Re: Floating exception
Date: 26 May 2000 19:46:57
Message: <933uiscdnufgig61osljjnsm9tvs74v1rd@4ax.com>
On Fri, 26 May 2000 00:06:37 -0400 Simon Lemieux
<lem### [at] yahoocom> wrote:

>Nope, there is no random...  And it's not a very difficult scene, I got some
>image_maps, some bump_maps, boxes, cylinders, few lights, that's all... no
>special effects...

  Simon, before you send the scene to Mark please pare it down to the
minimum scene necessary to reproduce the error. Makes it easier to
troubleshoot. Thanks.

-- 
Alan - ako### [at] povrayorg - a k o n g <at> p o v r a y <dot> o r g
http://www.povray.org - Home of the Persistence of Vision Ray Tracer


Post a reply to this message

From: Simon Lemieux
Subject: Re: Floating exception
Date: 27 May 2000 17:44:18
Message: <3930420C.CFA707F7@yahoo.com>
Serge LAROCQUE wrote:
> 
> > In the background I have 2 other renders of povray, 2 animations, both have been
> > rendering for at least 2 weeks and aren't finished until a few more !!  But they
> > never had the Floating Exception...
> 
> 2 weeks eh? Are those animations complex or did you assign low priority to those
> processes?

They are very complex and I did give them lower priority (i run them with nice
+19!)
They got lots of reflection, refraction, antialiasing, etc...


Post a reply to this message

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