Crash while rendering animation - was working recently, as late as 11th Oct 2009

View: New views
6 Messages — Rating Filter:   Alert me  

Crash while rendering animation - was working recently, as late as 11th Oct 2009

by Daniel Scott Matthews :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have a scene that uses a bit of scripting to convert the TimeSource
time to integers Hours and Minutes to feed to a ManualTimeSource for
the SolarPosition and then  LuxRenderSunLight and LuxRenderSkyLight, I
also feed the data to a PolyText object so that each frame is
time-of-day stamped.

i.e I am animating the the transition of the sun across a house model
for a given day on a specific date, in a specific place, an animated
sun study.

When I preview frames in LuxRender all is well, but when I try to run
an animation render I get a crash the moment I click on "No" to the
question about seeing each frame as they are rendered.

It was working fine until recently as you can see here
http://k-3d.org/blogs/dsmatthews/2009/10/11/rendering-animations-frames-with-luxrender/

see attached for debugging data.

Let me know if you need my scene file.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

K3D_Crash_Report.txt.tar.gz (9K) Download Attachment

Re: Crash while rendering animation - was working recently, as late as 11th Oct 2009

by Daniel Scott Matthews :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Oct 21, 2009 at 4:23 PM, Daniel Scott Matthews
<dsmatthews@...> wrote:

> I have a scene that uses a bit of scripting to convert the TimeSource
> time to integers Hours and Minutes to feed to a ManualTimeSource for
> the SolarPosition and then  LuxRenderSunLight and LuxRenderSkyLight, I
> also feed the data to a PolyText object so that each frame is
> time-of-day stamped.
>
> i.e I am animating the the transition of the sun across a house model
> for a given day on a specific date, in a specific place, an animated
> sun study.
>
> When I preview frames in LuxRender all is well, but when I try to run
> an animation render I get a crash the moment I click on "No" to the
> question about seeing each frame as they are rendered.
>
> It was working fine until recently as you can see here
> http://k-3d.org/blogs/dsmatthews/2009/10/11/rendering-animations-frames-with-luxrender/
>
> see attached for debugging data.
>
> Let me know if you need my scene file.
>

Some example frames can be seen here,
http://k-3d.org/blogs/dsmatthews/2009/10/21/architectural-sun-study-using-animated-sun-position-with-luxrender-first-test-frames/

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Crash while rendering animation - was working recently, as late as 11th Oct 2009

by Timothy M. Shead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Daniel Scott Matthews wrote:

> I have a scene that uses a bit of scripting to convert the TimeSource
> time to integers Hours and Minutes to feed to a ManualTimeSource for
> the SolarPosition and then  LuxRenderSunLight and LuxRenderSkyLight, I
> also feed the data to a PolyText object so that each frame is
> time-of-day stamped.
>
> i.e I am animating the the transition of the sun across a house model
> for a given day on a specific date, in a specific place, an animated
> sun study.
>
> When I preview frames in LuxRender all is well, but when I try to run
> an animation render I get a crash the moment I click on "No" to the
> question about seeing each frame as they are rendered.
>
> It was working fine until recently as you can see here
> http://k-3d.org/blogs/dsmatthews/2009/10/11/rendering-animations-frames-with-luxrender/
>
> see attached for debugging data.
>
> Let me know if you need my scene file.
Yes, send me the scene.

Cheers,
Tim


[tshead.vcf]

begin:vcard
fn:Timothy Shead
n:Shead;Timothy
org:www.k-3d.org
email;internet:tshead@...
title:Founder
x-mozilla-html:FALSE
version:2.1
end:vcard



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Crash while rendering animation - was working recently, as late as 11th Oct 2009

by Daniel Scott Matthews :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Oct 21, 2009 at 11:54 PM, Timothy M. Shead <tshead@...> wrote:

> Daniel Scott Matthews wrote:
>>
>> I have a scene that uses a bit of scripting to convert the TimeSource
>> time to integers Hours and Minutes to feed to a ManualTimeSource for
>> the SolarPosition and then  LuxRenderSunLight and LuxRenderSkyLight, I
>> also feed the data to a PolyText object so that each frame is
>> time-of-day stamped.
>>
>> i.e I am animating the the transition of the sun across a house model
>> for a given day on a specific date, in a specific place, an animated
>> sun study.
>>
>> When I preview frames in LuxRender all is well, but when I try to run
>> an animation render I get a crash the moment I click on "No" to the
>> question about seeing each frame as they are rendered.
>>
>> It was working fine until recently as you can see here
>>
>> http://k-3d.org/blogs/dsmatthews/2009/10/11/rendering-animations-frames-with-luxrender/
>>
>> see attached for debugging data.
>>
>> Let me know if you need my scene file.
>
> Yes, send me the scene.
>

Done!  I just noticed that I fixed the problem, while I was collecting
the scene, and the 3ds file it reads, into a new folder for archiving.

Do we have a path name with incompatible characters issue in boost?

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Crash while rendering animation - was working recently, as late as 11th Oct 2009

by Timothy M. Shead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Daniel Scott Matthews wrote:

>>> When I preview frames in LuxRender all is well, but when I try to run
>>> an animation render I get a crash the moment I click on "No" to the
>>> question about seeing each frame as they are rendered.

> Done!  I just noticed that I fixed the problem, while I was collecting
> the scene, and the 3ds file it reads, into a new folder for archiving.
>
> Do we have a path name with incompatible characters issue in boost?

I think that some other, unrelated problem must be trashing the stack.
Unfortunately, I can't seem to reproduce it here.  Your original
backtrace shows an attempt to dereference a NULL pointer:

> k3d: /usr/include/boost/scoped_ptr.hpp:94: T* boost::scoped_ptr<T>::operator->() const [with T = posdata]: Assertion `ptr != 0' failed.
>
> Program received signal SIGABRT, Aborted.
> [Switching to Thread 0x2b825cd9a250 (LWP 3832)]
> 0x00002b825aca2fb5 in raise () from /lib/libc.so.6
> (gdb) bt
> #0  0x00002b825aca2fb5 in raise () from /lib/libc.so.6
> #1  0x00002b825aca4bc3 in abort () from /lib/libc.so.6
> #2  0x00002b825ac9bf09 in __assert_fail () from /lib/libc.so.6
> #3  0x00002b82788bbf49 in boost::scoped_ptr<posdata>::operator-> (this=0x33c2b88) at /usr/include/boost/scoped_ptr.hpp:94
> #4  0x00002b82788c2e73 in module::solar::position::computed_data (this=0x33c2550) at /home/daniel/projects/k3d/modules/solar/position.cpp:143
... what's mysterious is that in modules/solar/position.cpp line 143,
it's (supposedly) impossible for that pointer to be NULL.  Not sure what
to suggest, you might see if you can get the problem to come back.

Cheers,
Tim

[tshead.vcf]

begin:vcard
fn:Timothy Shead
n:Shead;Timothy
org:www.k-3d.org
email;internet:tshead@...
title:Founder
x-mozilla-html:FALSE
version:2.1
end:vcard



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Crash while rendering animation - was working recently, as late as 11th Oct 2009

by Daniel Scott Matthews :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Oct 22, 2009 at 1:27 PM, Timothy M. Shead <tshead@...> wrote:

> Daniel Scott Matthews wrote:
>
>>>> When I preview frames in LuxRender all is well, but when I try to run
>>>> an animation render I get a crash the moment I click on "No" to the
>>>> question about seeing each frame as they are rendered.
>
>> Done!  I just noticed that I fixed the problem, while I was collecting
>> the scene, and the 3ds file it reads, into a new folder for archiving.
>>
>> Do we have a path name with incompatible characters issue in boost?
>
> I think that some other, unrelated problem must be trashing the stack.
> Unfortunately, I can't seem to reproduce it here.  Your original backtrace
> shows an attempt to dereference a NULL pointer:
>
>> k3d: /usr/include/boost/scoped_ptr.hpp:94: T*
>> boost::scoped_ptr<T>::operator->() const [with T = posdata]: Assertion `ptr
>> != 0' failed.
>>
>> Program received signal SIGABRT, Aborted.
>> [Switching to Thread 0x2b825cd9a250 (LWP 3832)]
>> 0x00002b825aca2fb5 in raise () from /lib/libc.so.6
>> (gdb) bt
>> #0  0x00002b825aca2fb5 in raise () from /lib/libc.so.6
>> #1  0x00002b825aca4bc3 in abort () from /lib/libc.so.6
>> #2  0x00002b825ac9bf09 in __assert_fail () from /lib/libc.so.6
>> #3  0x00002b82788bbf49 in boost::scoped_ptr<posdata>::operator->
>> (this=0x33c2b88) at /usr/include/boost/scoped_ptr.hpp:94
>> #4  0x00002b82788c2e73 in module::solar::position::computed_data
>> (this=0x33c2550) at /home/daniel/projects/k3d/modules/solar/position.cpp:143
>
> ... what's mysterious is that in modules/solar/position.cpp line 143, it's
> (supposedly) impossible for that pointer to be NULL.  Not sure what to
> suggest, you might see if you can get the problem to come back.
>

I am trying to get the same setup to crash now, but so far it is OK. I
have recompiled since the crashes, I noticed a lot of modules needed
rebuilding, what changed in the last round of updates that could
matter?

My second test render is running fine, frames are being fed out to
LuxRender at random, which, I realise now, is not a bad thing as you
get an idea of how the entire sequence is working very quickly, but if
you expected or needed sequential frames for a particular reason then
it would be better if it was controlable.

Anyway enjoy the sun study scene, I will do a better one that does not
use an imported mesh that we can have as a sample file. Do you think
some of those python hacks would be better hard coded, the type
conversions etc.?

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development