[Bf-committers] Re: sequencer crash

Ton Roosendaal ton at blender.org
Fri Mar 10 11:26:02 CET 2006


Hi,

>> source/blender/imbuf/intern/openexr/openexr_api.cpp

or webcvs:

http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/ 
imbuf/intern/openexr/openexr_api.cpp?rev=1.7&cvsroot=bf- 
blender&content-type=text/vnd.viewcvs-markup

-Ton-


On 10 Mar, 2006, at 0:10, Branan Riley wrote:

> I'm new at the blender code, but I know c++. I can't find the file  
> that it's in for the life of me, so if someone could check if  
> InputFile::setFrameBuffer() has "FrameBuffer X" as it's argument, or  
> "FrameBuffer& X" If it's the first, it's a c-style pass-by-value, so  
> it's actually creating a new copy of the class/structure when it's  
> called, hence the destructor call. "FrameBuffer& X" is a  
> pass-by-reference, which is really like passing a pointer (that's what  
> it does internally), except it's accessed with the normal operators,  
> not the pointer operators.
>  
> On 3/9/06, Ton Roosendaal <ton at blender.org> wrote: Hi,
>>
>> > Hi Toni,
>> >
>> >> with an exr sequence, i dont know what happens
>> >
>> > looks more like an openexr-crash than a sequencer-crash to me.
>> >
>> > Especially:
>> >
>> >> #15 0x084b7bf3 in ~FrameBuffer (this=0xbfccce20) at
>> >> ImfFrameBuffer.h:120
>> >> #16 0x084b6db1 in imb_load_openexr (mem=0xb49bc000 "v/1\001\002",
>> >>     size=1601687, flags=1)
>> >>     at source/blender/imbuf/intern/openexr/openexr_api.cpp:656
>> >
>> > These lines are suspicious. Why does the code call the
>> > FrameBuffer-destructor on load (haven't dived into openexr-support,
>> > maybe
>> > it's ok).
>>
>> I have no idea either... not a c++ coder here. C++ seems to have a
>> magical way of freeing memory.
>> Could you check the imb_load_openexr() call please? Maybe something
>> stupid happens there...
>>
>> -Ton-
>>
>> >
>> > Greetings,
>> > Peter
>> >
>> > _______________________________________________
>> > Bf-committers mailing list
>> > Bf-committers at projects.blender.org
>> > http://projects.blender.org/mailman/listinfo/bf-committers
>> >
>> >
>> ---------------------------------------------------------------------- 
>> --
>> --
>> Ton Roosendaal  Blender Foundation ton at blender.org
>> http://www.blender.org
>>
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at projects.blender.org
>> http://projects.blender.org/mailman/listinfo/bf-committers
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>
------------------------------------------------------------------------ 
--
Ton Roosendaal  Blender Foundation ton at blender.org  
http://www.blender.org



More information about the Bf-committers mailing list