POV-Ray : Newsgroups : povray.beta-test : Tiny function-script that crashes v3.5.beta.6.icl.win32 Server Time
30 Jul 2024 16:13:56 EDT (-0400)
  Tiny function-script that crashes v3.5.beta.6.icl.win32 (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: Tor Olav Kristensen
Subject: Tiny function-script that crashes v3.5.beta.6.icl.win32
Date: 22 Oct 2001 17:13:12
Message: <3BD48BAD.EB974804@hotmail.com>
Here it is:
(Crashes in Win98 on my 100 MHz Pentium.)

union {
  sphere { y, 1 }
//  sphere { z, 1 }                  // Uncomment these lines
//  pigment { color rgb <1, 1, 1,> } // to get rid of warnings
}

#local Fn = function(x) { x }

#debug ""

#declare Fn = function(x) { x }



The error message in window titled "Pvengine":

"This program has performed an illegal operation
and will be shut down."
...

The editor does not disappear before on clicks
on the "Close" button. (It is functioning OK
until one does.)


The details:

PVENGINE caused an invalid page fault in
module PVENGINE.EXE at 015f:0042bc1d.
Registers:
EAX=00000000 CS=015f EIP=0042bc1d EFLGS=00010246
EBX=00000000 SS=0167 ESP=0728f1f8 EBP=00000000
ECX=0000003a DS=0167 ESI=00cab884 FS=457f
EDX=00000031 ES=0167 EDI=00000031 GS=0000
Bytes at CS:EIP:
8a 37 8b cf 84 f6 74 08 41 40 8a 11 84 d2 75 f8 
Stack dump:
00cab458 006914e0 00cab360 00000000 00000000 00cab884 00000039 0047a00a
00000001 00492de8 0061b690 0068eae0 00ca48f0 0000066b 00000000 00000000


Post a reply to this message

From: Christoph Hormann
Subject: Re: Tiny function-script that crashes v3.5.beta.6.icl.win32
Date: 22 Oct 2001 17:29:49
Message: <3BD48FCD.F738ECDD@gmx.de>
Tor Olav Kristensen wrote:
> 
> Here it is:
> (Crashes in Win98 on my 100 MHz Pentium.)
> 
> union {
>   sphere { y, 1 }
> //  sphere { z, 1 }                  // Uncomment these lines
> //  pigment { color rgb <1, 1, 1,> } // to get rid of warnings
> }
> 
> #local Fn = function(x) { x }
> 
> #debug ""
> 
> #declare Fn = function(x) { x }
> 
> [...]

I think that's the same bug that made the waveform sample in the insert
menu crash.  An '#undef Fn' between should help.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Tor Olav Kristensen
Subject: Re: Tiny function-script that crashes v3.5.beta.6.icl.win32
Date: 22 Oct 2001 17:35:44
Message: <3BD490F4.B514D710@hotmail.com>
I'm not able to find that waveform sample.
Where is it ?

And where can I find the bug report for this ?

Tor Olav


Christoph Hormann wrote:
>...
> I think that's the same bug that made the waveform sample in the insert
> menu crash.  An '#undef Fn' between should help.


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Tiny function-script that crashes v3.5.beta.6.icl.win32
Date: 22 Oct 2001 17:51:06
Message: <3bd494ca@news.povray.org>
In article <3BD490F4.B514D710@hotmail.com> , Tor Olav Kristensen 
<tor### [at] hotmailcom>  wrote:

> I'm not able to find that waveform sample.
> Where is it ?
>
> And where can I find the bug report for this ?

It happens to be the same as:

> Crash after constant function
> http://news.povray.org/kc3hqtkgj93f82rpkj6puvlj8f5cs7nk0q@4ax.com

    Thorsten

____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg

I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Christoph Hormann
Subject: Re: Tiny function-script that crashes v3.5.beta.6.icl.win32
Date: 22 Oct 2001 18:01:40
Message: <3BD49742.9D2BF514@gmx.de>
Tor Olav Kristensen wrote:
> 
> I'm not able to find that waveform sample.
> Where is it ?

In the insert menu: Pattern-Texture Attributes/waveform attribute

source file: Attributes.pov

> 
> And where can I find the bug report for this ?
> 

In fact that bug already occurred in beta 5:  

Subject: Re: crashes when rendering insert menu
Date: Mon, 08 Oct 2001 09:08:47 +0200
From: Christoph Hormann <chr### [at] gmxde>
Newsgroups: povray.beta-test


-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Tor Olav Kristensen
Subject: Re: Tiny function-script that crashes v3.5.beta.6.icl.win32
Date: 22 Oct 2001 20:28:06
Message: <3BD4B95A.772FA9D7@hotmail.com>
Christoph Hormann wrote:
> 
> Tor Olav Kristensen wrote:
> >
> > I'm not able to find that waveform sample.
> > Where is it ?
> 
> In the insert menu: Pattern-Texture Attributes/waveform attribute
> 
> source file: Attributes.pov
> 
> >
> > And where can I find the bug report for this ?
> >
> 
> In fact that bug already occurred in beta 5:
> 
> Subject: Re: crashes when rendering insert menu
> Date: Mon, 08 Oct 2001 09:08:47 +0200
> From: Christoph Hormann <chr### [at] gmxde>
> Newsgroups: povray.beta-test

Hmmm...

Thorsten says that this bug is the same as one 


In that post he mentioned "POV3.5b2".
Subject: "number of parameters in functions"

Does this mean that your post, ABX's and mine is
all about the same bug ?

And that it appeared for the first time in beta 2 ?


Tor Olav


Post a reply to this message

From: Tor Olav Kristensen
Subject: Re: Tiny function-script that crashes v3.5.beta.6.icl.win32
Date: 22 Oct 2001 20:30:54
Message: <3BD4BA05.3BAD37E4@hotmail.com>
Thorsten Froehlich wrote:
> 
> In article <3BD490F4.B514D710@hotmail.com> , Tor Olav Kristensen
> <tor### [at] hotmailcom>  wrote:
> 
> > I'm not able to find that waveform sample.
> > Where is it ?
> >
> > And where can I find the bug report for this ?
> 
> It happens to be the same as:
> 
> > Crash after constant function
> > http://news.povray.org/kc3hqtkgj93f82rpkj6puvlj8f5cs7nk0q@4ax.com

Found it.

So it didn't crash because of the constant function,
but because of the redeclaration of the function ?

If so, then the "name" of the bug is a bit misleading,
isn't it ?


Tor Olav


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Tiny function-script that crashes v3.5.beta.6.icl.win32
Date: 23 Oct 2001 03:12:11
Message: <3bd5184b$1@news.povray.org>
In article <3BD4BA05.3BAD37E4@hotmail.com> , Tor Olav Kristensen 
<tor### [at] hotmailcom>  wrote:

> So it didn't crash because of the constant function,
> but because of the redeclaration of the function ?

Yes, after some analysis this seems to be the case.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From:
Subject: Re: Tiny function-script that crashes v3.5.beta.6.icl.win32
Date: 23 Oct 2001 03:24:18
Message: <ui6attopuncrllrq9uk5gvp4d0j34436ia@4ax.com>
On Mon, 22 Oct 2001 23:51:03 +0200, "Thorsten Froehlich"
<tho### [at] trfde> wrote:

> It happens to be the same as:
>
> > Crash after constant function
> > http://news.povray.org/kc3hqtkgj93f82rpkj6puvlj8f5cs7nk0q@4ax.com
>
>    Thorsten

I'm the author of this post but I tested this bug with beta 6 and it
works fine on the same machine (but I had to add three args within
last line)

ABX


Post a reply to this message

From: Christoph Hormann
Subject: Re: Tiny function-script that crashes v3.5.beta.6.icl.win32
Date: 23 Oct 2001 03:55:21
Message: <3BD52269.9B603A77@gmx.de>
Tor Olav Kristensen wrote:
> 
> Hmmm...
> 
> Thorsten says that this bug is the same as one

> 
> In that post he mentioned "POV3.5b2".
> Subject: "number of parameters in functions"
> 
> Does this mean that your post, ABX's and mine is
> all about the same bug ?
> 

Seems to be.  If this is the case it's also the same bug that behaved
differently with the Intel/MSVC compile and on the different machines.  

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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