POV-Ray : Newsgroups : povray.unofficial.patches : Bug in MegaPov? Server Time
2 Sep 2024 18:20:05 EDT (-0400)
  Bug in MegaPov? (Message 1 to 6 of 6)  
From: Luciano Pennini
Subject: Bug in MegaPov?
Date: 10 Dec 1999 10:21:32
Message: <38511742.6DA891FD@writeme.com>
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".
    I'm running WinNt 4 sp5 on a Celeron 300A, 128Mb ram.
    I hope that this is of some help.

    Best Regards
    Luciano

P.S. Remove the <remove this> from my email address before replying.


Post a reply to this message

From: Ken
Subject: Re: Bug in MegaPov?
Date: 10 Dec 1999 10:53:45
Message: <385121E5.F537E381@pacbell.net>
Luciano Pennini 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".
>     I'm running WinNt 4 sp5 on a Celeron 300A, 128Mb ram.
>     I hope that this is of some help.
> 
>     Best Regards
>     Luciano

I can verify this to some extent. I received the following page fault rendering
the scene in question. Unfortunately I cannot get the program to fault for every
render and it seem to happen sporadically.

MEGAPOV caused an invalid page fault in
module MEGAPOV.EXE at 015f:0043bbda.
Registers:
EAX=00003822 CS=015f EIP=0043bbda EFLGS=00010206
EBX=02f4ee88 SS=0167 ESP=02f4dda0 EBP=02f4de9c
ECX=3ff00000 DS=0167 ESI=00919148 FS=48e7
EDX=00000001 ES=0167 EDI=00917508 GS=0000
Bytes at CS:EIP:
dc 91 c0 00 00 00 df e0 f6 c4 41 75 08 dd d8 dd 
Stack dump:
02f4ee88 00919288 02f4eec0 00000000 00000000
00000000 00000000 00000000 00919248 00000000
00000000 00000000 00000000 00919148 00000000
00000001 

p-200 mmx
Win 98
128 ram

-- 
Ken Tyler -  1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: TonyB
Subject: Re: Bug in MegaPov?
Date: 10 Dec 1999 12:12:12
Message: <3851346c@news.povray.org>
Mine also crashes on media. As you would suppose, I went directly to trying
to render my Arda scene and it crashes when starting the render of the type
3 media. I have not tried it with other types.


Post a reply to this message

From: Chris Huff
Subject: Re: Bug in MegaPov?
Date: 10 Dec 1999 15:21:34
Message: <chrishuff_99-DF9780.15215910121999@news.povray.org>
This might be related to the media bug I found. CodeWarrior caught the 
error and refused to compile it, but other compilers might not have.

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

From: Nathan Kopp
Subject: Re: Bug in MegaPov?
Date: 10 Dec 1999 21:57:25
Message: <3851bd95@news.povray.org>
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


Post a reply to this message

From: Matthew Corey Brown - XenoArch
Subject: Re: Bug in MegaPov?
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.