POV-Ray : Newsgroups : povray.unofficial.patches : Free all NULL pointers now form MegaPov0.4. Server Time
2 Nov 2024 07:24:05 EDT (-0400)
  Free all NULL pointers now form MegaPov0.4. (Message 1 to 8 of 8)  
From: mr art
Subject: Free all NULL pointers now form MegaPov0.4.
Date: 30 Jan 2000 14:07:52
Message: <38948C18.EB3ED3F3@gci.net>
I hate to say it, but, the running the
one sample scene "test_blinn_and_pp.pov"
causes an error:
Unknown Error 17
Attempt to free NULL pointer (file: C:\pov\mypov\source\Povray.c Line
1914).

And it repeats this error message until the program freezes.

I am using Win98SE PII 400 w/ 128 meg.
-- 
Mr. Art

"Often the appearance of reality is more important 
than the reality of the appearance."
Bill DeWitt 2000


Post a reply to this message

From: mr art
Subject: Re: Free all NULL pointers now form MegaPov0.4.
Date: 30 Jan 2000 14:12:03
Message: <38948D13.F9F6906D@gci.net>
Started to trouble shoot the problem by not using the
first nonstandard feature. I commented out the line 
with  post_process {focal_blur{ 5, 10, 6}} in the
global_settings group. It worked fine. This should help
the bug search.

"mr.art" wrote:
> 
> I hate to say it, but, the running the
> one sample scene "test_blinn_and_pp.pov"
> causes an error:
> Unknown Error 17
> Attempt to free NULL pointer (file: C:\pov\mypov\source\Povray.c Line
> 1914).
> 
> And it repeats this error message until the program freezes.
> 
> I am using Win98SE PII 400 w/ 128 meg.
> --
> Mr. Art
> 
> "Often the appearance of reality is more important
> than the reality of the appearance."
> Bill DeWitt 2000

-- 
Mr. Art


Post a reply to this message

From: Nieminen Juha
Subject: Re: Free all NULL pointers now form MegaPov0.4.
Date: 30 Jan 2000 14:16:06
Message: <38948df6@news.povray.org>
Wouldn't it be a good idea to run the program through a utility which
checks memory usage validity etc? It may catch several bugs.
  I think there's a utility called purify, but I think it works only with
C++. I also think that it's commercial and costs a lot.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Mark Gordon
Subject: Re: Free all NULL pointers now form MegaPov0.4.
Date: 30 Jan 2000 16:44:12
Message: <3894B149.554CF554@mailbag.com>
Nieminen Juha wrote:
> 
>   Wouldn't it be a good idea to run the program through a utility which
> checks memory usage validity etc? It may catch several bugs.
>   I think there's a utility called purify, but I think it works only with
> C++. I also think that it's commercial and costs a lot.

A variety of free tools exist for Unix.  Electric Fence, Checker, mpr,
etc.  I'll look into this.

-Mark Gordon


Post a reply to this message

From: smellenbergh
Subject: Re: Free all NULL pointers now form MegaPov0.4.
Date: 30 Jan 2000 17:57:18
Message: <1e58vdr.6nj56116q6hgaN%smellenbergh@skynet.be>
mr.art <mr.### [at] gcinet> wrote:

> I hate to say it, but, the running the
> one sample scene "test_blinn_and_pp.pov"
> causes an error:
> Unknown Error 17
> Attempt to free NULL pointer (file: C:\pov\mypov\source\Povray.c Line
> 1914).
Make sure you output an image if you use this scene (tga,png,..).
Once you do this, it will render, it needs an image to post process!
We know because we had the same problem :-)

Smellenbergh

-- 
e-mail:sme### [at] skynetbe

http://users.skynet.be/smellenbergh


Post a reply to this message

From: mr art
Subject: Re: Free all NULL pointers now form MegaPov0.4.
Date: 30 Jan 2000 18:57:19
Message: <3894CFF3.B1514825@gci.net>
That's it! Thanks!

smellenbergh wrote:
> 
> mr.art <mr.### [at] gcinet> wrote:
> 
> > I hate to say it, but, the running the
> > one sample scene "test_blinn_and_pp.pov"
> > causes an error:
> > Unknown Error 17
> > Attempt to free NULL pointer (file: C:\pov\mypov\source\Povray.c Line
> > 1914).
> Make sure you output an image if you use this scene (tga,png,..).
> Once you do this, it will render, it needs an image to post process!
> We know because we had the same problem :-)
> 
> Smellenbergh
> 
> --
> e-mail:sme### [at] skynetbe
> 
> http://users.skynet.be/smellenbergh

-- 
Mr. Art

"Often the appearance of reality is more important 
than the reality of the appearance."
Bill DeWitt 2000


Post a reply to this message

From: Mark Wagner
Subject: Re: Free all NULL pointers now form MegaPov0.4.
Date: 31 Jan 2000 00:32:24
Message: <38951e68@news.povray.org>
Nieminen Juha wrote in message <38948df6@news.povray.org>...
>  Wouldn't it be a good idea to run the program through a utility which
>checks memory usage validity etc? It may catch several bugs.
>  I think there's a utility called purify, but I think it works only with
>C++. I also think that it's commercial and costs a lot.


POV-Ray does this internally.  To turn it on, uncomment the definitions of
"MEM_TAG" and "MEM_TRACE" in the config.h file before compiling the program.
Note: this does slow down rendering noticeably.

Mark


Post a reply to this message

From: Thomas Willhalm
Subject: Re: Free all NULL pointers now form MegaPov0.4.
Date: 31 Jan 2000 05:22:51
Message: <qqmya96czgj.fsf@schlatt.fmi.uni-konstanz.de>
Nieminen Juha <war### [at] punarastascstutfi> writes:

>   Wouldn't it be a good idea to run the program through a utility which
> checks memory usage validity etc? It may catch several bugs.
>   I think there's a utility called purify, but I think it works only with
> C++. I also think that it's commercial and costs a lot.

It works fine with C code too. I have used it once with the megapatch and
got several dozens of errors "uninitialized memory read". Since Nathan
replied that it doesn't matter since the value isn't used anyway, I was
discouraged to search for other errors.

Thomas


-- 
http://thomas.willhalm.de/ (includes pgp key)


Post a reply to this message

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