POV-Ray : Newsgroups : povray.bugreports : Pigment function memory access violation Server Time
31 Oct 2024 10:24:14 EDT (-0400)
  Pigment function memory access violation (Message 1 to 5 of 5)  
From: Robert McGregor
Subject: Pigment function memory access violation
Date: 11 Mar 2011 08:00:03
Message: <web.4d7a1c419d0dbabd94d713cc0@news.povray.org>
I was just tweaking my multipass compositing macros a bit and wondered if I
could consolidate a couple of statements into one, from this:

#local p = pigment { image_map { png "MultiPass.png" gamma 1 map_type 0 once } }
#local fn = function { pigment { p } }

to this:

#local fn = function {
   pigment { image_map { png "MultiPass.png" gamma 1 map_type 0 once }
}

Nope. Memory access violation crash; but I love the (new?) crash dump uploader
Chris, very cool! I uploaded the dump file.

Cheers,
Rob

-------------------------------------------------
www.McGregorFineArt.com


Post a reply to this message

From: clipka
Subject: Re: Pigment function memory access violation
Date: 12 Mar 2011 03:22:38
Message: <4d7b2d4e$1@news.povray.org>
Am 11.03.2011 13:57, schrieb Robert McGregor:

> #local fn = function {
>     pigment { image_map { png "MultiPass.png" gamma 1 map_type 0 once }
> }

Is the missing closing brace a typo in the posting, or otherwise?


Post a reply to this message

From: Robert McGregor
Subject: Re: Pigment function memory access violation
Date: 12 Mar 2011 16:45:01
Message: <web.4d7be8893c9ce9f194d713cc0@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 11.03.2011 13:57, schrieb Robert McGregor:
>
> > #local fn = function {
> >     pigment { image_map { png "MultiPass.png" gamma 1 map_type 0 once }
> > }
>
> Is the missing closing brace a typo in the posting, or otherwise?

Ah, it is /not/ a typo, I simply missed a brace; so it does work as a single
line, excellent! I thought it should.

On the other hand, it /does/ crash every time without the closing brace, which
is still a bug.

-------------------------------------------------
www.McGregorFineArt.com


Post a reply to this message

From: clipka
Subject: Re: Pigment function memory access violation
Date: 13 Mar 2011 00:52:16
Message: <4d7c5b90$1@news.povray.org>
Am 12.03.2011 22:41, schrieb Robert McGregor:

> On the other hand, it /does/ crash every time without the closing brace, which
> is still a bug.

Indeed. Mind to file a bug report on bugs.povray.org?


Post a reply to this message

From: clipka
Subject: Re: Pigment function memory access violation
Date: 14 Mar 2011 10:11:43
Message: <4d7e221f$1@news.povray.org>
Am 12.03.2011 22:41, schrieb Robert McGregor:

> On the other hand, it /does/ crash every time without the closing brace, which
> is still a bug.

Thanks for filing the bug report at http://bugs.povray.org; the issue 
will be fixed with the next 3.7 release candidate, to report a parse 
error instead of crashing.


Post a reply to this message

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