https://bugs.freedesktop.org/show_bug.cgi?id=46340

Michael Meeks <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|[email protected] |[email protected]
                   |desktop.org                 |

--- Comment #5 from Michael Meeks <[email protected]> 2012-02-29 
06:03:24 PST ---
Argh - this comes from the (cretinous) UNO stream implementation nightmare that
hurts us in spades everywhere; the dispose we get comes from:

commit fd95f1ab6220c6a530fd2e4e727417f504a5db51
Author: Michael Stahl <[email protected]>
Date:   Fri Dec 2 23:43:23 2011 +0100

    refactor SdrModel::GetDocumentStream

    Remove 3 ~identical implementations of GetDocumentStream and the associated
    struct SdrDocumentStreamInfo.

and is a side-effect of the LifecycleProxy not having a long enough scope -
which itself is a problem since we can't make it any wider since the stream
pops out through an UNO property ... the trace is appended.

Michael - any chance you can have a look ? and/or I wonder where else this
bites us.

#0  OInputCompStream::dispose (this=0x958dfe8) at
/data/opt/libreoffice/master/package/source/xstor/ocompinstream.cxx:303
#1  0xae0ce7b3 in OStorage::InternalDispose (this=0x953e798, bNotifyImpl=1
'\001')
    at /data/opt/libreoffice/master/package/source/xstor/xstorage.cxx:2050
#2  0xae0cea21 in OStorage::dispose (this=0x953e798) at
/data/opt/libreoffice/master/package/source/xstor/xstorage.cxx:4599
#3  0xae0cecf9 in OStorage::~OStorage (this=0x953e798, __in_chrg=<optimized
out>)
    at /data/opt/libreoffice/master/package/source/xstor/xstorage.cxx:1983
#4  0xae0cee50 in OStorage::~OStorage (this=0x953e798, __in_chrg=<optimized
out>)
    at /data/opt/libreoffice/master/package/source/xstor/xstorage.cxx:2009
#5  0xb5b2a77d in cppu::OWeakObject::release() () from
/data/opt/OOInstall/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3
#6  0xae0b9c74 in OStorage::release (this=0x953e798) at
/data/opt/libreoffice/master/package/source/xstor/xstorage.cxx:2322
#7  0xb5be7e9c in
com::sun::star::uno::Reference<com::sun::star::embed::XStorage>::~Reference
(this=0x95ab044, __in_chrg=<optimized out>)
    at
/data/opt/libreoffice/master/solver/unxlngi6.pro/inc/com/sun/star/uno/Reference.hxx:117
#8  0xb5c272a5 in
_Destroy<com::sun::star::uno::Reference<com::sun::star::embed::XStorage> >
(__pointer=0x95ab044)
    at /usr/include/c++/4.6/bits/stl_construct.h:94
#9  __destroy<com::sun::star::uno::Reference<com::sun::star::embed::XStorage>*>
(__last=<optimized out>, __first=<optimized out>)
    at /usr/include/c++/4.6/bits/stl_construct.h:104
#10 _Destroy<com::sun::star::uno::Reference<com::sun::star::embed::XStorage>*>
(__last=<optimized out>, __first=<optimized out>)
    at /usr/include/c++/4.6/bits/stl_construct.h:127
#11 _Destroy<com::sun::star::uno::Reference<com::sun::star::embed::XStorage>*,
com::sun::star::uno::Reference<com::sun::star::embed::XStorage> >
    (__last=0x95ab048, __first=<optimized out>) at
/usr/include/c++/4.6/bits/stl_construct.h:153
#12 ~vector (this=0x94ea1f0, __in_chrg=<optimized out>) at
/usr/include/c++/4.6/bits/stl_vector.h:350
#13 ~Impl (this=0x94ea1f0, __in_chrg=<optimized out>) at
/data/opt/libreoffice/master/comphelper/source/misc/storagehelper.cxx:549
#14 checked_delete<comphelper::LifecycleProxy::Impl> (x=0x94ea1f0)
    at
/data/opt/libreoffice/master/solver/unxlngi6.pro/inc/boost/checked_delete.hpp:34
#15 ~scoped_ptr (this=0xbfffd8ac, __in_chrg=<optimized out>)
    at
/data/opt/libreoffice/master/solver/unxlngi6.pro/inc/boost/smart_ptr/scoped_ptr.hpp:80
#16 comphelper::LifecycleProxy::~LifecycleProxy (this=0xbfffd8ac,
__in_chrg=<optimized out>)
    at
/data/opt/libreoffice/master/comphelper/source/misc/storagehelper.cxx:553
#17 0xb6f01614 in SdrGrafObj::getInputStream (this=0x9351cc0) at
/data/opt/libreoffice/master/svx/source/svdraw/svdograf.cxx:1335

        // can be loaded from the original document stream later
        if( pGraphic->HasUserData() )
        {
            ::comphelper::LifecycleProxy proxy;
            xStream.set(
                pModel->GetDocumentStream(pGraphic->GetUserData(), proxy));
        }

#18 0xb6fa74fa in SvxGraphicObject::getPropertyValueImpl (this=0x8b2ee50,
rName="GraphicStream", pProperty=0x93513f8, rValue=empty uno::Any)
    at /data/opt/libreoffice/master/svx/source/unodraw/unoshap2.cxx:1697
#19 0xb6fb62c3 in SvxShape::_getPropertyValue (this=0x8b2ee50,
PropertyName="GraphicStream")
    at /data/opt/libreoffice/master/svx/source/unodraw/unoshape.cxx:1835
#20 0xaed7de5a in SdXShape::getPropertyValue (this=0x8a0fd90,
PropertyName="GraphicStream")
    at /data/opt/libreoffice/master/sd/source/ui/unoidl/unoobj.cxx:849
#21 0xb6fb64a0 in SvxShape::getPropertyValue (this=0x8b2ee50,
PropertyName="GraphicStream")
    at /data/opt/libreoffice/master/svx/source/unodraw/unoshape.cxx:1815
#22 0xaec055d6 in SdGRFFilter::SaveGraphic (xShape=...) at
/data/opt/libreoffice/master/sd/source/filter/grf/sdgrffilter.cxx:523
#23 0xaedbb1bd in sd::DrawViewShell::FuTemporary (this=0x933d268, rReq=...) at
/data/opt/libreoffice/master/sd/source/ui/view/drviews2.cxx:941
#24 0xaeddebe4 in SfxStubDrawViewShellFuTemporary (pShell=0x933d268, rReq=...)
    at
/data/opt/libreoffice/master/workdir/unxlngi6.pro/SdiTarget/sd/sdi/sdslots.hxx:1134

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to