POV-Ray : Newsgroups : povray.beta-test : Strange Crash Server Time
18 Apr 2024 06:14:32 EDT (-0400)
  Strange Crash (Message 1 to 6 of 6)  
From: Chambers
Subject: Strange Crash
Date: 21 Feb 2006 19:25:59
Message: <43fbaf97$1@news.povray.org>
The following scene:

----------------------------
#declare petal = sphere_sweep {
	linear_spline
	2,
	0, 0.001,
	z/3, 1/16
	pigment {color rgb 1}
}

object {petal}

camera {
	location 5*(y-z)
	look_at 0
}

----------------------------
crashes.  Well, on the third render, anyway :)

Here's what I do:
I start POV-Ray (pvengine-sse2.exe), and it loads the scene automatically.
I render the scene.
When it finishes, I rerender it.
I rerender it again time,
When I try to run a fourth render, POV-Ray crashes.

The crash occurs more often (that is, on the first render) if I create a 
union of several petal objects.
Removing the declaration, that is, the following code
----------------------------
sphere_sweep {
	linear_spline
	2,
	0, 0.001,
	z/3, 1/16
	pigment {color rgb 1}
}
----------------------------
does not produce this crash.

This one is really driving me crazy - any ideas?

...Chambers


Post a reply to this message

From: Lance Birch
Subject: Re: Strange Crash
Date: 22 Feb 2006 01:01:15
Message: <43fbfe2b@news.povray.org>
Interesting.  It doesn't crash for me but it "hangs" (uses 100% of one CPU)...

The hang was on the fifth render - but on the third and fourth renders I got:

    Possible Parse Error: An unknown error occured running a task!
    Fatal error in parser: Uncategorized error.
    Render failed

Lance.

thezone - thezone.firewave.com.au


Post a reply to this message

From: Bob Hughes
Subject: Re: Strange Crash
Date: 22 Feb 2006 02:46:11
Message: <43fc16c3$1@news.povray.org>
Looks like a memory leak going on. I could only get two renders before the 
third crashed (closed) POV. This with both the regular and sse2 executables.

Peak memory used: 65244  [after first]

Peak memory used: 1569361784  [after second]


Post a reply to this message

From: Bob Hughes
Subject: Re: Strange Crash
Date: 22 Feb 2006 02:55:01
Message: <43fc18d5@news.povray.org>
Curiously, I just realized peak memory reported is saying 2374668152 if 
another program is open at the same time. If POV is the only thing running 
it seems to always say 1569361784. First render reports the 65244 either 
way. And 3.6.1b shows it to be 128342 every time.

"Bob Hughes" <omniverse@charter%net> wrote in message 
news:43fc16c3$1@news.povray.org...
> Looks like a memory leak going on. I could only get two renders before the 
> third crashed (closed) POV. This with both the regular and sse2 
> executables.
>
> Peak memory used: 65244  [after first]
>
> Peak memory used: 1569361784  [after second]


Post a reply to this message

From: jva
Subject: Re: Strange Crash
Date: 25 Feb 2006 05:25:01
Message: <web.4400300e39d1b1131bd6cd0c0@news.povray.org>
It seems things get even more odd: I find that if the #declare is removed
and the same sphere_sweep is just rendered like that there is no increase
in memory consumption and I can go on rendering it seemingly forever.

There also isn't a problem when I enclose the bare sphere_sweep in an object
{ } block, so the problem must be in the #declare-ing.

(All this was done in beta 11.c sse2)

Jeroen van Ameijde.


Post a reply to this message

From: Chris Cason
Subject: Re: Strange Crash
Date: 26 Mar 2006 07:59:52
Message: <44269048$1@news.povray.org>
This is fixed, thanks for the report.

-- Chris


Post a reply to this message

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