POV-Ray : Newsgroups : povray.beta-test : beta5 crashes with params.inc Server Time
4 Nov 2024 12:59:25 EST (-0500)
  beta5 crashes with params.inc (Message 1 to 6 of 6)  
From: Mick Hazelgrove
Subject: beta5 crashes with params.inc
Date: 8 Oct 2001 12:08:18
Message: <3bc1cf72@news.povray.org>
Hi

Beta 5 crashes when I attempt to use the params.inc example files

here's the info:

Win 98SE athalon 800 256 ram

PVENGINE caused a stack fault in module PVENGINE.EXE at 0187:0046dd9b.
Registers:
EAX=00000001 CS=0187 EIP=0046dd9b EFLGS=00010246
EBX=00000000 SS=018f ESP=02cc1b78 EBP=02cc23a0
ECX=00000000 DS=018f ESI=02cc23a0 FS=2157
EDX=02cc23c8 ES=018f EDI=02cc23c8 GS=0000
Bytes at CS:EIP:
e8 30 6d 00 00 8b 0d c0 1c 68 00 83 f9 3e 0f 84
Stack dump:
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

Mick


Post a reply to this message

From: Warp
Subject: Re: beta5 crashes with params.inc
Date: 8 Oct 2001 13:12:42
Message: <3bc1de89@news.povray.org>
Mick Hazelgrove <mic### [at] mhazelgrovefsnetcouk> wrote:
: PVENGINE caused a stack fault in module PVENGINE.EXE at 0187:0046dd9b.

  This stack fault thing is known. At least loops cause it and perhaps other
things.
  So everyone: If you get a "stack fault" like that, you don't need to report
it anymore.

  (I don't know what is the problem, but it might be an intel-compiler thing;
either it's misconfigured or buggy...)

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Mike Williams
Subject: Re: beta5 crashes with params.inc
Date: 8 Oct 2001 21:56:42
Message: <TsCPWBAOfew7EwUH@econym.demon.co.uk>
Wasn't it Warp who wrote:
>Mick Hazelgrove <mic### [at] mhazelgrovefsnetcouk> wrote:
>: PVENGINE caused a stack fault in module PVENGINE.EXE at 0187:0046dd9b.
>
>  This stack fault thing is known. At least loops cause it and perhaps other
>things.
>  So everyone: If you get a "stack fault" like that, you don't need to report
>it anymore.
>
>  (I don't know what is the problem, but it might be an intel-compiler thing;
>either it's misconfigured or buggy...)
>

I suspected that there might possibly be a miscompile when I noticed
that pvengine.exe is much larger than it has ever been before. The beta
4 pvengine.exe was 2.14Mb and the beta 5 one is 3.05 Mb.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: Bob H 
Subject: Re: beta5 crashes with params.inc
Date: 8 Oct 2001 22:35:36
Message: <3bc26278@news.povray.org>
"Mike Williams" <mik### [at] nospamplease> wrote in message
news:TsC### [at] econymdemoncouk...
> Wasn't it Warp who wrote:
> >
> >  (I don't know what is the problem, but it might be an intel-compiler
thing;
> >either it's misconfigured or buggy...)
>
> I suspected that there might possibly be a miscompile when I noticed
> that pvengine.exe is much larger than it has ever been before. The beta
> 4 pvengine.exe was 2.14Mb and the beta 5 one is 3.05 Mb.

It used to be over 4 MB so be thankful  :-)
As Chris Cason pointed out to me, it's due to the way it handles several
kinds of CPU.

Bob H.


Post a reply to this message

From: Ron Parker
Subject: Re: beta5 crashes with params.inc
Date: 8 Oct 2001 23:01:31
Message: <slrn9s4q4n.3el.ron.parker@fwi.com>
On 8 Oct 2001 13:12:42 -0400, Warp wrote:
>Mick Hazelgrove <mic### [at] mhazelgrovefsnetcouk> wrote:
>: PVENGINE caused a stack fault in module PVENGINE.EXE at 0187:0046dd9b.
>
>  This stack fault thing is known. At least loops cause it and perhaps other
>things.
>  So everyone: If you get a "stack fault" like that, you don't need to report
>it anymore.
>
>  (I don't know what is the problem, but it might be an intel-compiler thing;
>either it's misconfigured or buggy...)

It's a "stupid Ron" thing.  My fix to allow semicolons after declarations
instead allowed an infinite recursion to slip in in loops where the only
contents were declarations and other #-directives.  I guess this is why we
don't change the parser on a whim, huh?

Anyway, the fix is on deck.  I couldn't say when it'll be delivered.

-- 
#local R=rgb 99;#local P=R-R;#local F=pigment{gradient x}box{0,1pigment{gradient
y pigment_map{[.5F pigment_map{[.3R][.3F color_map{[.15red 99][.15P]}rotate z*45
translate x]}]#local H=pigment{gradient y color_map{[.5P][.5R]}scale 1/3}[.5F
pigment_map{[.3R][.3H][.7H][.7R]}]}}}camera{location.5-3*z}//only my opinions


Post a reply to this message

From: Warp
Subject: Re: beta5 crashes with params.inc
Date: 9 Oct 2001 08:33:04
Message: <3bc2ee80@news.povray.org>
Ron Parker <ron### [at] povrayorg> wrote:
: It's a "stupid Ron" thing.  My fix to allow semicolons after declarations
: instead allowed an infinite recursion to slip in in loops where the only
: contents were declarations and other #-directives.

  It's great to know that it wasn't a problem with the compiler after all.

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

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