POV-Ray : Newsgroups : povray.unofficial.patches : uberpov beta9b throws assertion Server Time
28 Mar 2024 19:01:47 EDT (-0400)
  uberpov beta9b throws assertion (Message 1 to 3 of 3)  
From: James Holsenback
Subject: uberpov beta9b throws assertion
Date: 5 Feb 2015 00:04:03
Message: <54d2f9c3@news.povray.org>
uberpov: /usr/include/boost/smart_ptr/shared_ptr.hpp:418: T* 
boost::shared_ptr<T>::operator->() const [with T = pov::BasicPattern]: 
Assertion `px != 0' failed.
/home/ash/scripts/render: line 2:  8705 Aborted                 uberpov 
Work Options[Some] Options[M16BY9] Options[Pause]

Interesting that it refers to my render script because it happened when 
I got over zealous with commenting out something in a material definition:

#declare Band_=
material {
	texture {  // uv_mapping
		//granite  <--- fat fingers
		poly_wave 2
		lambda 6
		turbulence 0.1
		scale 4
		warp { toroidal }
		texture_map {
			[0.0 Band2]
			[0.1250/5 Band1]
			[0.1250/5 Band1]
			[0.5 Band2]
			[0.5 Band1]
			[1.0 Band1]
			}
		}
	interior { ior 1.5 }
	}


Post a reply to this message

From: clipka
Subject: Re: uberpov beta9b throws assertion
Date: 5 Feb 2015 02:18:09
Message: <54d31931@news.povray.org>
Am 05.02.2015 um 06:04 schrieb James Holsenback:
> uberpov: /usr/include/boost/smart_ptr/shared_ptr.hpp:418: T*
> boost::shared_ptr<T>::operator->() const [with T = pov::BasicPattern]:
> Assertion `px != 0' failed.
> /home/ash/scripts/render: line 2:  8705 Aborted                 uberpov
> Work Options[Some] Options[M16BY9] Options[Pause]
>
> Interesting that it refers to my render script because it happened when
> I got over zealous with commenting out something in a material definition:

technically it's not refering to your render script, but to internal 
data types ;)

> #declare Band_=
> material {
>      texture {  // uv_mapping
>          //granite  <--- fat fingers
>          poly_wave 2
>          lambda 6
>          turbulence 0.1

I guess the parser doesn't like these in plain patterns for rather 
obvious reasons. But it shouldn't crash, that's for sure. I'll need to 
have a look at it.


Post a reply to this message

From: clipka
Subject: Re: uberpov beta9b throws assertion
Date: 10 Feb 2015 04:00:38
Message: <54d9c8b6$1@news.povray.org>
Am 05.02.2015 um 06:04 schrieb James Holsenback:
> uberpov: /usr/include/boost/smart_ptr/shared_ptr.hpp:418: T*
> boost::shared_ptr<T>::operator->() const [with T = pov::BasicPattern]:
> Assertion `px != 0' failed.
> /home/ash/scripts/render: line 2:  8705 Aborted                 uberpov
> Work Options[Some] Options[M16BY9] Options[Pause]
>
> Interesting that it refers to my render script because it happened when
> I got over zealous with commenting out something in a material definition:
>
> #declare Band_=
> material {
>      texture {  // uv_mapping
>          //granite  <--- fat fingers
>          poly_wave 2
>          lambda 6
>          turbulence 0.1
>          scale 4
>          warp { toroidal }
>          texture_map {
>              [0.0 Band2]
>              [0.1250/5 Band1]
>              [0.1250/5 Band1]
>              [0.5 Band2]
>              [0.5 Band1]
>              [1.0 Band1]
>              }
>          }
>      interior { ior 1.5 }
>      }

This is actually not an UberPOV-specific issue at all; it's carried over 
from official POV-Ray.


Post a reply to this message

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