POV-Ray : Newsgroups : povray.unofficial.patches : Pb with MegaPov under Linux Server Time
1 Nov 2024 13:19:12 EDT (-0400)
  Pb with MegaPov under Linux (Message 1 to 3 of 3)  
From: Francois Dispot
Subject: Pb with MegaPov under Linux
Date: 8 Oct 2000 15:03:52
Message: <39E0C50E.C3031C1E@club-internet.fr>
While porting MegaPov 0.6 to PVM, I ran every possible scene in the
demos06.zip archive, and got a segmentation fault in the
photons/spherecyl.pov scene. It seems to come form an uninitialised
array in png_pov.c, line 1821.

Trying the same scene with megapov 0.5a, I got the same problem.
Could anybody confirm and/or explain this?

TIA.
-- 

      __  __ __  __  _
|  | /  \  /  / |_  /  |/
\/\/ \__/ /_ /_ |__ \_ |\


Post a reply to this message

From: Nicolas Calimet
Subject: Re: Pb with MegaPov under Linux
Date: 8 Oct 2000 16:39:13
Message: <39E0DD2D.D6E1651D@free.fr>
Francois Dispot wrote:
> 
> While porting MegaPov 0.6 to PVM, I ran every possible scene in the
> demos06.zip archive, and got a segmentation fault in the
> photons/spherecyl.pov scene. It seems to come form an uninitialised
> array in png_pov.c, line 1821.
> 
> Trying the same scene with megapov 0.5a, I got the same problem.
> Could anybody confirm and/or explain this?

	I tested this file with MegaPOV 0.5a and POV-Ray 3.1g (when all
the photon-related stuff is commented out).

	Linux RedHat 6.1 (2.2.12-20smp) :
	- MegaPOV crashed at the point described above.
	- POV works fine with official compile (static libpng ?) and
unofficial compile with dynamic libpng.

	SGI IRIX 6.5 :
	- both works (POV is unofficial compile)

	Digital UNIX V4.0F :
	- MegaPOV Floating exception when starting render (X display is open)
so it is again something different (I didn't trace that crash yet).
	- POV works (unofficial compile)

	Guess what ? Needs some works around ;-)


<french>
	BTW, ton boulot sur PvMegaPOV est super, mais je n'ai malheureusement
jamais pu installer PVM sur nos machines (suis pas root). Quid d'une version
MPI ? {hehehehe}
</french>


*** Nicolas Calimet
*** http://pov4grasp.free.fr


Post a reply to this message

From: Mark Wagner
Subject: Re: Pb with MegaPov under Linux
Date: 9 Oct 2000 00:59:51
Message: <39e150c7@news.povray.org>
Nicolas Calimet wrote in message <39E0DD2D.D6E1651D@free.fr>...
> Digital UNIX V4.0F :
> - MegaPOV Floating exception when starting render (X display is open)
>so it is again something different (I didn't trace that crash yet).
> - POV works (unofficial compile)


Try looking at the random number generator.  With some compilers, it
produces numbers outside the range of [0, 1)

Mark


Post a reply to this message

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