POV-Ray : Newsgroups : povray.unofficial.patches : Bug in MegaPov? : Re: Bug in MegaPov? Server Time
2 Sep 2024 16:20:48 EDT (-0400)
  Re: Bug in MegaPov?  
From: Matthew Corey Brown - XenoArch
Date: 12 Dec 1999 14:05:23
Message: <3853F1F1.52D81EA6@xenoarch.com>
Nathan Kopp wrote:
> 
> Luciano Pennini @writeme.com> <"lpennini<remove this> wrote...
> > Hello!
> >     I've just downloaded & installed MegaPov 0.1, and while I was
> > rendering some of the demos the program crashed.
> >     The crash can be reproduced, at least on this machine.  Render
> > media/minipatch test.pov (from the demos provided), and the program
> > crashes with "Exception: access violation 0xc0000005, Address:
> > 0x0043bbda".
> 
> Media method 3 will cause this crash.  This is the bug that Chris Huff
> pointed out.  Look for an update soon.
> 
> -Nathan

And for those with the source to fix the bug I think.. (since i
haven't tested it but it hasn't crashed yet, nathan this look
good?)

in line 474 of media.c change

IMEDIA *AA_Search_Media=Media_List;

to
IMEDIA *AA_Search_Media=*Media_List;

gcc gave me a 
../media.c: In function `Simulate_Media':
../media.c:474: warning: initialization from incompatible pointer type
but it compiled anyway heh.


BTW.. it gives alot of static followed by not static warnings
on tokenize.c

-- 
Matthew Corey Brown                                         XenoArch
mcb### [at] xenoarchcom                             http://www.xenoarch.com


Post a reply to this message

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