POV-Ray : Newsgroups : povray.beta-test : seg fault in "pov::Determine_Apparent_Colour" Server Time
29 Jul 2024 08:10:37 EDT (-0400)
  seg fault in "pov::Determine_Apparent_Colour" (Message 1 to 3 of 3)  
From: Daniel Fenner
Subject: seg fault in "pov::Determine_Apparent_Colour"
Date: 22 Feb 2004 12:05:38
Message: <4038e161@news.povray.org>
Hi everyone,

I tried to render some of my old scenes with v3.6b1 (Linux).
(Mandrake 9.1; 2x500Mhz Intel; 576MB Ram)
One of these scenes caused PovRay to terminate with a Segmentation fault:

.
.
  0:00:00 Displaying
Using 16 bit TrueColor visual

  0:00:04 Rendering line 123 of 768Segmentation fault

Starting it in gdb produces the following output:

.
.
Program received signal SIGSEGV, Segmentation fault.
0x0808f1ba in pov::Determine_Apparent_Colour(pov::istk_entry*, float*,
pov::Ray_Struct*, double) ()

Notice that the line number in which the error occures varies ...

In order to simplify the scene I cut off every non-essential part.
Unfortunally the scene includes a big mesh without which the problem
disappears.
I posted the scene in povray.beta-test.binaries.

The archiv can simply be un-tar-ed with

tar -xzf test.tar.gz

and then

cd test
povray test.ini

will (hopefully) reproduce the problem...

Can anyone confirm this?

 Daniel


Post a reply to this message

From: Nicolas Calimet
Subject: Re: seg fault in "pov::Determine_Apparent_Colour"
Date: 23 Feb 2004 08:03:31
Message: <4039fa23$1@news.povray.org>
> I tried to render some of my old scenes with v3.6b1 (Linux).
> (Mandrake 9.1; 2x500Mhz Intel; 576MB Ram)

	I also get a segfault with povlinux-3.6.beta.1 using your ini file:

   0:00:00 Displaying
Using 16 bit TrueColor visual

   0:00:02 Rendering line 92 of 768Segmentation fault


	However, this problem seems not to exist anymore in the current
developpment version.  So the problem has either been fixed already for
the future beta2, or that my own compile does not reflect that of the
beta1 due to possible system differences.

	- NC


Post a reply to this message

From: Christoph Hormann
Subject: Re: seg fault in "pov::Determine_Apparent_Colour"
Date: 23 Feb 2004 08:44:03
Message: <klcpg1-p9g.ln1@triton.imagico.de>
Nicolas Calimet wrote:
> 
>     However, this problem seems not to exist anymore in the current
> developpment version.  So the problem has either been fixed already for
> the future beta2, or that my own compile does not reflect that of the
> beta1 due to possible system differences.

Note such a problem might also be due to faulty optimizations of the 
compiler in some cases.  It is always a good idea to try a completely 
unoptimized version is such a case.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 11 Jan. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

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