From: Kevin Ellis
Subject: MegaPOV/POVMan bug?
Date: 3 May 2001 14:35:39
Message: <3af1a4fb@news.povray.org>
Hi
I found this whilst making some modifications to Gilles' makegrass macro but
it's hard to put into words, so I'll give an example.. If you have
#declare fname1="reedsmsh1.inc" // mesh include file
#declare objectPatch=#include fname1
then all works fine. But, if fname1 hasn't been defined then POV gives the
expected error message "string expression expected but undeclared identifier
'fname' found instead' but POV then crashes with the following error message
MEGAPOV07 caused an invalid page fault in
module MEGAPOV07.EXE at 0167:004d733e.
Registers:
EAX=00800078 CS=0167 EIP=004d733e EFLGS=00010206
EBX=00000a2f SS=016f ESP=0211fbd4 EBP=0211fbf4
ECX=00000000 DS=016f ESI=00000003 FS=658f
EDX=009295cc ES=016f EDI=000000ff GS=0000
Bytes at CS:EIP:
89 79 04 8b 4c 13 04 8b 7c 13 08 03 5d f8 89 79
Stack dump:
ffffffff 009295d0 00000001 00000000 008007c8 00000a2f ffffff00 00000031
0211fe30 004d1892 0090000c 0000003f 009295d0 00444c07 009295d0 0092802c
I've tried this in windows versions of both MegaPOV 0.7 and POVMan 0.71.4.
I'm running Windows 98 SE on a P133 with 32mb ram. Can anyone confirm this?
Kev
--
http://perso.libertysurf.co.uk/kevin.ellis
From: Kevin Ellis
Subject: Re: MegaPOV/POVMan bug?
Date: 3 May 2001 14:54:06
Message: <3af1a94e@news.povray.org>
Hi, well it seems that it isn't quite that simple. I'm trying to cut my
scenefile down to see what the culprit is, hopefully have the proper reson
soon.
Kev
--
http://perso.libertysurf.co.uk/kevin.ellis
From: Kevin Ellis
Subject: Re: MegaPOV/POVMan bug? - I've got it
Date: 3 May 2001 15:14:45
Message: <3af1ae25@news.povray.org>
Hi
Well it seems to happen only if you have two files set up like this:
// Start of crash.pov
#include "crash.inc"
#declare object=#include fname
// End of crash.pov
// Start of crash.inc
#macro Crash(fname)
#end
// End of crash.inc
I've checked with the official POV and it works fine. I hope this helps, it
took me a lot of hunting to find it. :)
Kev
--
http://perso.libertysurf.co.uk/kevin.ellis