POV-Ray : Newsgroups : povray.unofficial.patches : MegaPov 1.2 crash to desktop Server Time
16 May 2024 12:02:00 EDT (-0400)
  MegaPov 1.2 crash to desktop (Message 11 to 20 of 28)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 8 Messages >>>
From: Nicolas Calimet
Subject: Re: MegaPov 1.2 crash to desktop
Date: 11 Jul 2005 07:29:11
Message: <42d25807$1@news.povray.org>
> I can confirm this - it happens in the release version as well as with a 
> MinGW build, it however does not happen on Linux.

	Such a different behavior of Linux vs other platforms may well be the
sign of uninitialized variables (in particular pointers).  Linux seems to be
sometimes quite permissive in this respect, i.e. it does not necessarily make
the program segfault when dereferencing an invalid pointer.

	Of course that's not much of an help either...

	- NC


Post a reply to this message

From: Christoph Hormann
Subject: Re: MegaPov 1.2 crash to desktop
Date: 11 Jul 2005 08:20:02
Message: <dato3q$cpo$1@chho.imagico.de>
Nicolas Calimet wrote:
> 
>     Such a different behavior of Linux vs other platforms may well be the
> sign of uninitialized variables (in particular pointers).  Linux seems 
> to be
> sometimes quite permissive in this respect, i.e. it does not necessarily 
> make
> the program segfault when dereferencing an invalid pointer.

Actually we have most likely found the problem and it *should* crash as 
it is right now - the good old using-a-pointer-after-it-was-freed bug.

It only causes problems in scenes using Mechsim.

Christoph

-- 
POV-Ray tutorials, include files, Landscape of the week:
http://www.tu-bs.de/~y0013390/ (Last updated 01 Jul. 2005)
MegaPOV with mechanics simulation: http://megapov.inetart.net/


Post a reply to this message

From: Gilles Tran
Subject: Re: MegaPov 1.2 crash to desktop
Date: 11 Jul 2005 12:36:24
Message: <42d2a008@news.povray.org>

dato3q$cpo$1@chho.imagico.de...
>
> It only causes problems in scenes using Mechsim.

FWIW, I just had a bad series of crashes (Megapov 1.2 Windows version, XP 
SP2, "POV-Ray has a problem and must be closed" message) on scenes not 
involving Mechsim (making HDR images using LightSys).
Some of them are reproducible (one at least was linked to a #debug stream) 
while others aren't (the renders works fine for a while for 3-4 runs and 
then crash POV). I haven't created a test scene but a slightly modified 
version of hdr_environment.pov (with view=3, radiosity commented off 
and -w300 -h150 +fh -ohdr_env.hdr in the command line) crashes either at the 
beginning of the render or at the end.

G.


Post a reply to this message

From: Christoph Hormann
Subject: Re: MegaPov 1.2 crash to desktop
Date: 11 Jul 2005 12:55:01
Message: <dau7vr$ppk$1@chho.imagico.de>
Gilles Tran wrote:
> 
> FWIW, I just had a bad series of crashes (Megapov 1.2 Windows version, XP 
> SP2, "POV-Ray has a problem and must be closed" message) on scenes not 
> involving Mechsim (making HDR images using LightSys).
> Some of them are reproducible (one at least was linked to a #debug stream) 
> while others aren't (the renders works fine for a while for 3-4 runs and 
> then crash POV). I haven't created a test scene but a slightly modified 
> version of hdr_environment.pov (with view=3, radiosity commented off 
> and -w300 -h150 +fh -ohdr_env.hdr in the command line) crashes either at the 
> beginning of the render or at the end.

Could you check if this is related to HDR output?  I made some 
modifications in the HDR code for version 1.2 so there might be new 
problems related to this.

Note that any problem that only occurs in a second or later render will 
of course not be observable in the Unix version.

Christoph

-- 
POV-Ray tutorials, include files, Landscape of the week:
http://www.tu-bs.de/~y0013390/ (Last updated 01 Jul. 2005)
MegaPOV with mechanics simulation: http://megapov.inetart.net/


Post a reply to this message

From: Gilles Tran
Subject: Re: MegaPov 1.2 crash to desktop
Date: 11 Jul 2005 13:21:04
Message: <42d2aa80@news.povray.org>

dau7vr$ppk$1@chho.imagico.de...


> Could you check if this is related to HDR output?  I made some 
> modifications in the HDR code for version 1.2 so there might be new 
> problems related to this.

It's hard to say. I removed the HDR output but then it has become so erratic 
that it now crashes almost every time even on a 1-line scene.

G.


Post a reply to this message

From: Christoph Hormann
Subject: Re: MegaPov 1.2 crash to desktop
Date: 11 Jul 2005 13:45:02
Message: <daub21$qff$1@chho.imagico.de>
Gilles Tran wrote:
> 
> It's hard to say. I removed the HDR output but then it has become so erratic 
> that it now crashes almost every time even on a 1-line scene.

Even on a freshly started instance of MegaPOV on scenes not using any 
patches?

Note if there is a problem with one of the patches it is well possible 
that any render started after once rendering a scene using that patch 
shows unusual results.  To check always try with a newly started MegaPOV 
session.

Christoph

-- 
POV-Ray tutorials, include files, Landscape of the week:
http://www.tu-bs.de/~y0013390/ (Last updated 01 Jul. 2005)
MegaPOV with mechanics simulation: http://megapov.inetart.net/


Post a reply to this message

From: Kyle
Subject: Re: MegaPov 1.2 crash to desktop
Date: 11 Jul 2005 21:05:22
Message: <m256d15rf9vj43g8tmcaapbm3sj0kd1j6g@4ax.com>
On Sun, 10 Jul 2005 12:28:08 +0200, Christoph Hormann
<chr### [at] gmxde> wrote:

>The source is available - just not yet packaged for Windows.  You can
>download the Unix source package and merge it with the 1.1 Windows
>source if you want to work on it.
>
>Christoph


Ok, I was able to get a debug version compiled in VS 2003 using your
suggestions and a modified version of the solution file from POV-Ray
3.6.  Now, of course, I'm having difficulty getting any render to
fail!  

I tried the suggestion from Gilles Tran further down in the thread,
using hdr_environment.pov with custom settings, but it did not crash
for me, even in the release version.  Maybe the environment was
already trashed, from prior crashes, as you suggested.  Anyway, if I
make any headway, I'll post back.

FYI, the scenes I have had issues with are rather simple scenes that
use HDRI lighting and are output to a bitmap, in case this helps.


Kyle


Post a reply to this message

From: Gilles Tran
Subject: Re: MegaPov 1.2 crash to desktop
Date: 12 Jul 2005 04:37:09
Message: <42d38135$1@news.povray.org>

daub21$qff$1@chho.imagico.de...

> Even on a freshly started instance of MegaPOV on scenes not using any 
> patches?

Well, since it crashes each time, isn't launching it again a freshly started 
instance (I couldn't see any suspicious thing in the task lists)? Anyway, I 
rebooted the computer, rendered my 1-line file (light_source {0  color rgb 
1}) with no problem, then loaded a modified hdr_environment.pov with +fh and 
now it crashes again every time. More tests are needed, because I don't know 
whether it was +fh or the scene file itself that started the problem.

G.


Post a reply to this message

From: Christoph Hormann
Subject: Re: MegaPov 1.2 crash to desktop
Date: 12 Jul 2005 15:00:01
Message: <db13ve$plo$1@chho.imagico.de>
Gilles Tran wrote:
> [...] hdr_environment.pov (with view=3, radiosity commented off
> and -w300 -h150 +fh -ohdr_env.hdr in the command line) crashes either at the 
> beginning of the render or at the end.

Note i tested this exact setup on Windows with the build from the 
website and it did not crash.

You should post the complete text output from the message screen so we 
can check if there might be options set in your configuration that are 
different but to me this at the moment seems a singular problem of you 
(if anyone else observes the same problem please speak up).

Christoph

-- 
POV-Ray tutorials, include files, Landscape of the week:
http://www.tu-bs.de/~y0013390/ (Last updated 01 Jul. 2005)
MegaPOV with mechanics simulation: http://megapov.inetart.net/


Post a reply to this message

From: Kyle
Subject: Re: MegaPov 1.2 crash to desktop
Date: 12 Jul 2005 20:46:31
Message: <9lo8d19gee550p2uj038rlg2h2lehp49tp@4ax.com>
On Tue, 12 Jul 2005 20:59:58 +0200, Christoph Hormann
<chr### [at] gmxde> wrote:

>(if anyone else observes the same problem please speak up).

Switching between a modified hdr_environment.pov file, a one-line
scene file and a basic scene file containing an image mapped height
field produced the attached error info.  I was dumping the message
text to a file, but when the crash happened, it was at the beginning
of a render of the height field scene and did not produce any message
text.  I have not reproduced this in the version I compiled to debug.
It took many switches between files before the error occurred.  Very
intermittent.


Kyle


Post a reply to this message


Attachments:
Download 'Error2.zip' (254 KB)

<<< Previous 10 Messages Goto Latest 10 Messages Next 8 Messages >>>

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