with a dbgutil build I get this on autosave:

warn:legacy.osl:32088:1:/data/opt/libreoffice/master/sw/source/core/graphic/ndgrf.cxx:810:
 <SwGrfNode::_GetStreamForEmbedGrf(..)> - embedded graphic file not found!
warn:legacy.osl:32088:1:/data/opt/libreoffice/master/sw/source/core/graphic/ndgrf.cxx:475:
 Grafik kann nicht eingeswapt werden
warn:legacy.osl:32088:1:/data/opt/libreoffice/master/sw/source/core/graphic/ndgrf.cxx:810:
 <SwGrfNode::_GetStreamForEmbedGrf(..)> - embedded graphic file not found!
warn:legacy.osl:32088:1:/data/opt/libreoffice/master/sw/source/core/graphic/ndgrf.cxx:475:
 Grafik kann nicht eingeswapt werden

Breakpoint 1, SwGrfNode::_GetStreamForEmbedGrf (this=0x9042af0, _refPics=..., 
_aStrmName="200004AD0000475F000033B367F3281F.svm")
    at /data/opt/libreoffice/master/sw/source/core/graphic/ndgrf.cxx:810
810                 OSL_FAIL( "<SwGrfNode::_GetStreamForEmbedGrf(..)> - 
embedded graphic file not found!" );
(gdb) l
805                 uno::Reference < io::XStream > refStrm = 
_refPics->openStreamElement( _aStrmName, embed::ElementModes::READ );
806                 pStrm = utl::UcbStreamHelper::CreateStream( refStrm );
807             }
808             else
809             {
810                 OSL_FAIL( "<SwGrfNode::_GetStreamForEmbedGrf(..)> - 
embedded graphic file not found!" );
811             }
812         }
813     
814         return pStrm;
(gdb) p _aStrmName
$1 = "200004AD0000475F000033B367F3281F.svm"

#0  SwGrfNode::_GetStreamForEmbedGrf (this=0x9042af0, _refPics=..., 
_aStrmName="200004AD0000475F000033B367F3281F.svm")
    at /data/opt/libreoffice/master/sw/source/core/graphic/ndgrf.cxx:810
#1  0xad85ae45 in SwGrfNode::SwapIn (this=0x9042af0, bWaitForData=0 '\000') at 
/data/opt/libreoffice/master/sw/source/core/graphic/ndgrf.cxx:452
#2  0xad72a7f2 in SwNoTxtFrm::PaintPicture (this=0x90525b8, pOut=0x8b18c0c, 
rGrfArea=...)
    at /data/opt/libreoffice/master/sw/source/core/doc/notxtfrm.cxx:869
#3  0xad728ccc in SwNoTxtFrm::Paint (this=0x90525b8, rRect=...) at 
/data/opt/libreoffice/master/sw/source/core/doc/notxtfrm.cxx:319
#4  0xad8deee1 in SwLayoutFrm::Paint (this=0x9052448, rRect=...) at 
/data/opt/libreoffice/master/sw/source/core/layout/paintfrm.cxx:3255
#5  0xad8e154e in SwFlyFrm::Paint (this=0x9052448, rRect=...) at 
/data/opt/libreoffice/master/sw/source/core/layout/paintfrm.cxx:3928
#6  0xad7bd326 in SwVirtFlyDrawObj::wrap_DoPaintObject (this=0x9052520) at 
/data/opt/libreoffice/master/sw/source/core/draw/dflyobj.cxx:533
#7  0xad7bc869 in 
drawinglayer::primitive2d::SwVirtFlyDrawObjPrimitive::get2DDecomposition 
(this=0x9400198, rViewInformation=...)
    at /data/opt/libreoffice/master/sw/source/core/draw/dflyobj.cxx:274
#8  0xb5c77067 in 
drawinglayer::processor2d::VclPixelProcessor2D::processBasePrimitive2D(drawinglayer::primitive2d::BasePrimitive2D
 const&) ()
   from /data/opt/OOInstall/program/libmergedlo.so
#9  0xb5c64d8c in 
drawinglayer::processor2d::BaseProcessor2D::process(com::sun::star::uno::Sequence<com::sun::star::uno::Reference<com::sun::star::graphic::XPrimitive2D>
 > const&) () from /data/opt/OOInstall/program/libmergedlo.so
#10 0xb6654af5 in 
sdr::contact::ObjectContactOfPageView::DoProcessDisplay(sdr::contact::DisplayInfo&)
 ()
   from /data/opt/OOInstall/program/libmergedlo.so
#11 0xb6654c63 in 
sdr::contact::ObjectContactOfPageView::ProcessDisplay(sdr::contact::DisplayInfo&)
 ()
   from /data/opt/OOInstall/program/libmergedlo.so
#12 0xb667408c in SdrPageWindow::RedrawLayer(unsigned char const*, 
sdr::contact::ViewObjectContactRedirector*) const ()
   from /data/opt/OOInstall/program/libmergedlo.so
#13 0xb6715a94 in SdrPageView::DrawLayer(unsigned char, OutputDevice*, 
sdr::contact::ViewObjectContactRedirector*) const ()
   from /data/opt/OOInstall/program/libmergedlo.so
#14 0xadbb469f in SwViewImp::PaintLayer (this=0x9058548, _nLayerID=1 '\001', 
pPrintData=0x0, _pPageBackgrdColor=0xbfc465b4, _bIsPageRightToLeft=
    false, pRedirector=0xbfc465d0) at 
/data/opt/libreoffice/master/sw/source/core/view/vdraw.cxx:148
#15 0xad8de187 in SwRootFrm::Paint (this=0x9059920, rRect=..., pPrintData=0x0)
    at /data/opt/libreoffice/master/sw/source/core/layout/paintfrm.cxx:2992
#16 0xadbbd0e0 in ViewShell::Paint (this=0x9058390, rRect=...) at 
/data/opt/libreoffice/master/sw/source/core/view/viewsh.cxx:1678
#17 0xad6201da in SwCrsrShell::Paint (this=0x9058390, rRect=...) at 
/data/opt/libreoffice/master/sw/source/core/crsr/crsrsh.cxx:1165
#18 0xadd9fcbf in SwEditWin::Paint (this=0x903d7b8, rRect=...) at 
/data/opt/libreoffice/master/sw/source/ui/docvw/edtwin2.cxx:534

Seems the image ID got corrupted: some change in the SVM stream perhaps:

(gdb) p GetGrfObj().GetUniqueID()
$6 = "200004AD0000475F000033B 367F3281F"
vs.
Pictures/200004AD0000475F000033B3 81B9C98F.svm

I guess [ spaces added to separate the image checksum at end of id ].

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/157249

Title:
  [Upstream] [ooo-build] images deleted from file after auto-save occurs

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/157249/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to