POV-Ray : Newsgroups : povray.general : #include Bug ? Server Time
11 Aug 2024 15:18:04 EDT (-0400)
  #include Bug ? (Message 1 to 10 of 10)  
From: Ken
Subject: #include Bug ?
Date: 9 Jul 1999 17:59:30
Message: <37867073.E3DBC386@pacbell.net>
Is this a bug ?

If you create a file named pov.inc and then add the line #include "pov.inc"
rendering the file pov.inc will crash the program with a fatal error. This
happens on all 5 versions of povwin I have installed on my system v3.01, v3.1b,
3.1dwatcom,
v3.1dmsvc6, and v3.1e. I am running win 98 on a p200mmx 128m ram.

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

From: Mike
Subject: Re: #include Bug ?
Date: 9 Jul 1999 21:55:46
Message: <3786A665.8AA09B5C@aol.com>
Are you including the same file you are rendering?   I would think that would set up
an
infinite loop of #include "pov.inc"

-Mike

Ken wrote:

> Is this a bug ?
>
> If you create a file named pov.inc and then add the line #include "pov.inc"
> rendering the file pov.inc will crash the program with a fatal error. This
> happens on all 5 versions of povwin I have installed on my system v3.01, v3.1b,
3.1dwatcom,
> v3.1dmsvc6, and v3.1e. I am running win 98 on a p200mmx 128m ram.
>
> --
> Ken Tyler
>
> mailto://tylereng@pacbell.net


Post a reply to this message

From: Chris Huff
Subject: Re: #include Bug ?
Date: 9 Jul 1999 21:59:37
Message: <3786AA1E.117BE67B@compuserve.com>
Yes, it would be an infinite loop, but I believe Ken is saying the
program should catch this problem instead of crashing, to which I agree.


Post a reply to this message

From: Ken
Subject: Re: #include Bug ?
Date: 9 Jul 1999 22:09:10
Message: <3786AAF9.BF0DD2FF@pacbell.net>
Chris Huff wrote:
> 
> Yes, it would be an infinite loop, but I believe Ken is saying the
> program should catch this problem instead of crashing, to which I agree.

That is what I was implying.

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

From: Ron Parker
Subject: Re: #include Bug ?
Date: 9 Jul 1999 22:43:51
Message: <3786b1ad.96401338@news.povray.org>
On Fri, 09 Jul 1999 14:58:11 -0700, Ken <tyl### [at] pacbellnet> wrote:

>
>Is this a bug ?
>
>If you create a file named pov.inc and then add the line #include "pov.inc"
>rendering the file pov.inc will crash the program with a fatal error. This
>happens on all 5 versions of povwin I have installed on my system v3.01, v3.1b,
3.1dwatcom,
>v3.1dmsvc6, and v3.1e. I am running win 98 on a p200mmx 128m ram.

I get "Error: too many nested include files" and a clean abort on
every version I've tried, including a win 3.1e, two different builds
of win 3.1g, and the current Windows and Linux superpatches.  This was
a bug in 3.1a and earlier, but it was fixed in 3.1b.

Does the file you're working with contain anything besides the single
line (#include "pov.inc")?


Post a reply to this message

From: Ken
Subject: Re: #include Bug ?
Date: 10 Jul 1999 00:15:01
Message: <3786C879.E92897C6@pacbell.net>
Ron Parker wrote:
> 
> On Fri, 09 Jul 1999 14:58:11 -0700, Ken <tyl### [at] pacbellnet> wrote:
> 
> >
> >Is this a bug ?
> >
> >If you create a file named pov.inc and then add the line #include "pov.inc"
> >rendering the file pov.inc will crash the program with a fatal error. This
> >happens on all 5 versions of povwin I have installed on my system v3.01, v3.1b,
3.1dwatcom,
> >v3.1dmsvc6, and v3.1e. I am running win 98 on a p200mmx 128m ram.
> 
> I get "Error: too many nested include files" and a clean abort on
> every version I've tried, including a win 3.1e, two different builds
> of win 3.1g, and the current Windows and Linux superpatches.  This was
> a bug in 3.1a and earlier, but it was fixed in 3.1b.
> 
> Does the file you're working with contain anything besides the single
> line (#include "pov.inc")?

  3.1e does indeed quit with a too many nested warning like you describe.
I have too many older versions laying around on my hard drive(s) :{

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

From: Mark Gordon
Subject: Re: #include Bug ?
Date: 10 Jul 1999 12:25:17
Message: <3787741F.BFF1BE9@mailbag.com>
Ken wrote:
> 
> I have too many older versions laying around on my hard drive(s) :{
> 

Tell me about it. ;-)

-- 
Mark Gordon
mtg### [at] povrayorg


Post a reply to this message

From: Ken
Subject: Re: #include Bug ?
Date: 10 Jul 1999 17:29:42
Message: <3787BAE8.DD71670F@pacbell.net>
Mark Gordon wrote:
> 
> Ken wrote:
> >
> > I have too many older versions laying around on my hard drive(s) :{
> >
> 
> Tell me about it. ;-)
> 
> --
> Mark Gordon
> mtg### [at] povrayorg

I just counted and found 12 different versions from dos v2.2 to povwin v3.1g.

Time to do a clean up me thinks.

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

From: Alan Kong
Subject: Re: #include Bug ?
Date: 11 Jul 1999 07:02:23
Message: <37896e81.360021835@news.povray.org>
On Sat, 10 Jul 1999 14:28:08 -0700, Ken <tyl### [at] pacbellnet> wrote:

>I just counted and found 12 different versions from dos v2.2 to povwin v3.1g.

  Ken, does that include patched versions like UVPov and the Superpatch? I
used to have Dieter Bayer's patched FTPOV (Faster Than POV-Ray) before he
incorporated his work into the official version. Twelve is a lot!

-- 
Alan
--------------------------------------------------------------------
http://www.povray.org - Home of the Persistence of Vision Ray Tracer
news.povray.org - where POV-Ray enthusiasts around the world can get
together to exchange ideas, information, and experiences with others
--------------------------------------------------------------------


Post a reply to this message

From: Ken
Subject: Re: #include Bug ?
Date: 11 Jul 1999 09:41:53
Message: <37889EC9.387E41BA@pacbell.net>
Alan Kong wrote:
> 
> On Sat, 10 Jul 1999 14:28:08 -0700, Ken <tyl### [at] pacbellnet> wrote:
> 
> >I just counted and found 12 different versions from dos v2.2 to povwin v3.1g.
> 
>   Ken, does that include patched versions like UVPov and the Superpatch? I
> used to have Dieter Bayer's patched FTPOV (Faster Than POV-Ray) before he
> incorporated his work into the official version. Twelve is a lot!
> 
> --
> Alan

Yes this including the different patched and official versions I have collected
over time. I am not counting archived versions though or the count would increase
from there :)

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

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