To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=55409
                  Issue #:|55409
                  Summary:|crash on OLE2 object load / convert ...
                Component:|Word processor
                  Version:|680m129
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|open-import
              Assigned to:|cmc
              Reported by:|mmeeks





------- Additional comments from [EMAIL PROTECTED] Mon Oct  3 10:06:52 -0700 
2005 -------
Caolan - any idea where this belongs ?

The attached document crashes on load when you use
Tools->Options->Load/Save->Microsoft-> and select all the 'Convert on Load'
switches.

This occurs because the SotStorage is destroyed (in error) and then used again:

Destroyed from:

#0  0x4173fd63 in ~SotStorage (this=0x89c3ff8) at
/opt/OpenOffice/src680-m129/sot/source/sdstor/storage.cxx:759
#1  0x40afc014 in SvRefBase::QueryDelete (this=0x89c402c) at
/opt/OpenOffice/src680-m129/tools/source/ref/ref.cxx:57
#2  0x41709498 in SotObject::QueryDelete (this=0x89c401c) at
/opt/OpenOffice/src680-m129/sot/source/base/object.cxx:196
#3  0x40af8b4a in SvRefBase::ReleaseReference (this=0x89c402c) at ref.hxx:403
#4  0x4171187e in SotStorageRef::operator= (this=0x89a1160, [EMAIL PROTECTED]) 
at
storage.hxx:283
#5  0x45226a24 in SwReader::Read (this=0x8b50ec8, [EMAIL PROTECTED]) at
/opt/OpenOffice/src680-m129/sw/source/filter/basflt/shellio.cxx:192
#6  0x45438e21 in SwDocShell::ConvertFrom (this=0x82dd980, [EMAIL PROTECTED])
at /opt/OpenOffice/src680-m129/sw/source/ui/app/docsh.cxx:427

#7  0x43cbf57a in SfxObjectShell::DoLoad () from ./libsfx680li.so
#8  0x43d09ab9 in SfxBaseModel::load () from ./libsfx680li.so
#9  0x46bf348d in OCommonEmbeddedObject::CreateDocFromMediaDescr_Impl () from
./libembobj.so
#10 0x46bf49d8 in OCommonEmbeddedObject::setPersistentEntry () from 
./libembobj.so
#11 0x46c01b77 in
OOoEmbeddedObjectFactory::createInstanceInitFromMediaDescriptor () from
./libembobj.so
#12 0x46bfea12 in
UNOEmbeddedObjectCreator::createInstanceInitFromMediaDescriptor () from
./libembobj.so
#13 0x40bc4044 in comphelper::EmbeddedObjectContainer::InsertEmbeddedObject ()
from ./libcomphelp4gcc3.so
#14 0x46263e74 in SvxMSDffManager::CheckForConvertToSOObj () from 
./libsvx680li.so
#15 0x462644e3 in SvxMSDffManager::CreateSdrOLEFromStorage () from 
./libsvx680li.so
#16 0x45362979 in SwMSDffManager::ImportOLE (this=0x8a99a98, nOLEId=65536,
[EMAIL PROTECTED], [EMAIL PROTECTED], _nCalledByGroup=0)
    at /opt/OpenOffice/src680-m129/sw/source/filter/ww8/ww8par.cxx:370
#17 0x46256877 in SvxMSDffManager::ImportGraphic () from ./libsvx680li.so
#18 0x46258548 in SvxMSDffManager::ImportShape () from ./libsvx680li.so
#19 0x462573d0 in SvxMSDffManager::ImportObj () from ./libsvx680li.so
#20 0x462612dc in SvxMSDffManager::GetShape () from ./libsvx680li.so
#21 0x453588dc in SwWW8ImplReader::Read_GrafLayer (this=0x8a06a60,
nGrafAnchorCp=0) at
/opt/OpenOffice/src680-m129/sw/source/filter/ww8/ww8graf.cxx:2637
#22 0x4536aba2 in SwWW8ImplReader::ReadChar (this=0x8a06a60, nPosCp=0, nCpOfs=0)
at /opt/OpenOffice/src680-m129/sw/source/filter/ww8/ww8par.cxx:2787
#23 0x4536a649 in SwWW8ImplReader::ReadChars (this=0x8a06a60, [EMAIL PROTECTED],
nNextAttr=1, nTextEnd=7473, nCpOfs=0)
    at /opt/OpenOffice/src680-m129/sw/source/filter/ww8/ww8par.cxx:2636
#24 0x4536b7da in SwWW8ImplReader::ReadText (this=0x8a06a60, nStartCp=0,
nTextLen=7473, nType=0)
    at /opt/OpenOffice/src680-m129/sw/source/filter/ww8/ww8par.cxx:3071

#25 0x453700b1 in SwWW8ImplReader::CoreLoad (this=0x8a06a60, pGloss=0x0,
[EMAIL PROTECTED])
    at /opt/OpenOffice/src680-m129/sw/source/filter/ww8/ww8par.cxx:3914
#26 0x45371ff4 in SwWW8ImplReader::LoadThroughDecryption (this=0x8a06a60,
[EMAIL PROTECTED], pGloss=0x0)
    at /opt/OpenOffice/src680-m129/sw/source/filter/ww8/ww8par.cxx:4369
#27 0x45372d55 in SwWW8ImplReader::LoadDoc (this=0x8a06a60, [EMAIL PROTECTED],
pGloss=0x0)
    at /opt/OpenOffice/src680-m129/sw/source/filter/ww8/ww8par.cxx:4648
#28 0x45372f4e in WW8Reader::Read (this=0x89a1140, [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED])
    at /opt/OpenOffice/src680-m129/sw/source/filter/ww8/ww8par.cxx:4710
#29 0x45226eb2 in SwReader::Read (this=0x89c5cb8, [EMAIL PROTECTED]) at
/opt/OpenOffice/src680-m129/sw/source/filter/basflt/shellio.cxx:300
#30 0x45438e21 in SwDocShell::ConvertFrom (this=0x89a4f88, [EMAIL PROTECTED])
at /opt/OpenOffice/src680-m129/sw/source/ui/app/docsh.cxx:427
#31 0x43cbf57a in SfxObjectShell::DoLoad () from ./libsfx680li.so
#32 0x43d09ab9 in SfxBaseModel::load () from ./libsfx680li.so
#33 0x43d3be04 in SfxFrameLoader_Impl::load () from ./libsfx680li.so
#34 0x4429b227 in framework::LoadEnv::impl_loadContent () from ./libfwk680li.so
#35 0x44297c0f in framework::LoadEnv::startLoading () from ./libfwk680li.so
#36 0x44296f77 in framework::LoadEnv::loadComponentFromURL () from 
./libfwk680li.so
#37 0x441739e7 in framework::Desktop::loadComponentFromURL () from 
./libfwk680li.so
#38 0x08080d3a in desktop::DispatchWatcher::executeDispatchRequests ()
#39 0x08078413 in desktop::OfficeIPCThread::ExecuteCmdLineRequests ()
#40 0x0806f7dc in desktop::Desktop::OpenClients ()
#41 0x0806e46a in desktop::Desktop::OpenClients_Impl ()
#42 0x0806e414 in desktop::Desktop::LinkStubOpenClients_Impl ()
#43 0x40352c6f in ImplHandleUserEvent () from ./libvcl680li.so
#44 0x4035379f in ImplWindowFrameProc () from ./libvcl680li.so
#45 0x42400317 in SalDisplay::DispatchInternalEvent () from 
./libvclplug_gen680li.so
#46 0x41e9d4be in GtkXLib::userEventFn () from ./libvclplug_gtk680li.so
#47 0x42330221 in g_idle_dispatch () from /opt/gnome/lib/libglib-2.0.so.0
#48 0x42331e87 in g_main_context_dispatch () from 
/opt/gnome/lib/libglib-2.0.so.0
#49 0x423345c7 in g_main_context_iterate () from /opt/gnome/lib/libglib-2.0.so.0
#50 0x423346c3 in g_main_context_iteration () from 
/opt/gnome/lib/libglib-2.0.so.0
#51 0x41e9d670 in GtkXLib::Yield () from ./libvclplug_gtk680li.so
#52 0x4240485f in X11SalInstance::Yield () from ./libvclplug_gen680li.so
#53 0x401735c2 in Application::Yield () from ./libvcl680li.so
#54 0x401734d9 in Application::Execute () from ./libvcl680li.so
#55 0x0806d818 in desktop::Desktop::Main ()
#56 0x40178f93 in SVMain () from ./libvcl680li.so
#57 0x08067111 in sal_main ()

Subsequently used from (post crash):

(gdb) p pStg
$1 = (class SotStorage *) 0x89c3ff8
(gdb) bt
#0  0x40af8c8a in SvRefBase::AddRef (this=0x4a1133c2) at ref.hxx:396
#1  0x41710ec9 in SotStorageRef (this=0xbfffb1f0, pObjP=0x89c3ff8) at
storage.hxx:283
#2  0x453704b9 in SwWW8ImplReader::CoreLoad (this=0x8a06a60, pGloss=0x0,
[EMAIL PROTECTED])
    at /opt/OpenOffice/src680-m129/sw/source/filter/ww8/ww8par.cxx:3995
#3  0x45371ff4 in SwWW8ImplReader::LoadThroughDecryption (this=0x8a06a60,
[EMAIL PROTECTED], pGloss=0x0)
    at /opt/OpenOffice/src680-m129/sw/source/filter/ww8/ww8par.cxx:4369
#4  0x45372d55 in SwWW8ImplReader::LoadDoc (this=0x8a06a60, [EMAIL PROTECTED],
pGloss=0x0)
    at /opt/OpenOffice/src680-m129/sw/source/filter/ww8/ww8par.cxx:4648
#5  0x45372f4e in WW8Reader::Read (this=0x89a1140, [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED])
    at /opt/OpenOffice/src680-m129/sw/source/filter/ww8/ww8par.cxx:4710
#6  0x45226eb2 in SwReader::Read (this=0x89c5cb8, [EMAIL PROTECTED]) at
/opt/OpenOffice/src680-m129/sw/source/filter/basflt/shellio.cxx:300
#7  0x45438e21 in SwDocShell::ConvertFrom (this=0x89a4f88, [EMAIL PROTECTED])
at /opt/OpenOffice/src680-m129/sw/source/ui/app/docsh.cxx:427
#8  0x43cbf57a in SfxObjectShell::DoLoad () from ./libsfx680li.so
#9  0x43d09ab9 in SfxBaseModel::load () from ./libsfx680li.so
#10 0x43d3be04 in SfxFrameLoader_Impl::load () from ./libsfx680li.so
#11 0x4429b227 in framework::LoadEnv::impl_loadContent () from ./libfwk680li.so
#12 0x44297c0f in framework::LoadEnv::startLoading () from ./libfwk680li.so
#13 0x44296f77 in framework::LoadEnv::loadComponentFromURL () from 
./libfwk680li.so
#14 0x441739e7 in framework::Desktop::loadComponentFromURL () from 
./libfwk680li.so
#15 0x08080d3a in desktop::DispatchWatcher::executeDispatchRequests ()
#16 0x08078413 in desktop::OfficeIPCThread::ExecuteCmdLineRequests ()
#17 0x0806f7dc in desktop::Desktop::OpenClients ()
#18 0x0806e46a in desktop::Desktop::OpenClients_Impl ()
#19 0x0806e414 in desktop::Desktop::LinkStubOpenClients_Impl ()
#20 0x40352c6f in ImplHandleUserEvent () from ./libvcl680li.so
#21 0x4035379f in ImplWindowFrameProc () from ./libvcl680li.so
#22 0x42400317 in SalDisplay::DispatchInternalEvent () from 
./libvclplug_gen680li.so
#23 0x41e9d4be in GtkXLib::userEventFn () from ./libvclplug_gtk680li.so
#24 0x42330221 in g_idle_dispatch () from /opt/gnome/lib/libglib-2.0.so.0
#25 0x42331e87 in g_main_context_dispatch () from 
/opt/gnome/lib/libglib-2.0.so.0
#26 0x423345c7 in g_main_context_iterate () from /opt/gnome/lib/libglib-2.0.so.0
#27 0x423346c3 in g_main_context_iteration () from 
/opt/gnome/lib/libglib-2.0.so.0
#28 0x41e9d670 in GtkXLib::Yield () from ./libvclplug_gtk680li.so
#29 0x4240485f in X11SalInstance::Yield () from ./libvclplug_gen680li.so
#30 0x401735c2 in Application::Yield () from ./libvcl680li.so
#31 0x401734d9 in Application::Execute () from ./libvcl680li.so
#32 0x0806d818 in desktop::Desktop::Main ()
#33 0x40178f93 in SVMain () from ./libvcl680li.so
#34 0x08067111 in sal_main ()
#35 0x080670ac in main ()
(gdb) 

Better initial trace (symbol-wise) is:

(gdb) bt
#0  0x4173fd63 in ~SotStorage (this=0x89c3ff8) at
/opt/OpenOffice/src680-m129/sot/source/sdstor/storage.cxx:759
#1  0x40afc014 in SvRefBase::QueryDelete (this=0x89c402c) at
/opt/OpenOffice/src680-m129/tools/source/ref/ref.cxx:57
#2  0x41709498 in SotObject::QueryDelete (this=0x89c401c) at
/opt/OpenOffice/src680-m129/sot/source/base/object.cxx:196
#3  0x40af8b4a in SvRefBase::ReleaseReference (this=0x89c402c) at ref.hxx:403
#4  0x4171187e in SotStorageRef::operator= (this=0x89a1160, [EMAIL PROTECTED]) 
at
storage.hxx:283
#5  0x45226a24 in SwReader::Read (this=0x8b50ec8, [EMAIL PROTECTED]) at
/opt/OpenOffice/src680-m129/sw/source/filter/basflt/shellio.cxx:192
#6  0x45438e21 in SwDocShell::ConvertFrom (this=0x82dd980, [EMAIL PROTECTED])
at /opt/OpenOffice/src680-m129/sw/source/ui/app/docsh.cxx:427
#7  0x43cbf57a in SfxObjectShell::DoLoad () from ./libsfx680li.so
#8  0x43d09ab9 in SfxBaseModel::load () from ./libsfx680li.so
#9  0x46bf348d in OCommonEmbeddedObject::CreateDocFromMediaDescr_Impl () from
./libembobj.so
#10 0x46bf49d8 in OCommonEmbeddedObject::setPersistentEntry () from 
./libembobj.so
#11 0x46c01b77 in
OOoEmbeddedObjectFactory::createInstanceInitFromMediaDescriptor () from
./libembobj.so
#12 0x46bfea12 in
UNOEmbeddedObjectCreator::createInstanceInitFromMediaDescriptor () from
./libembobj.so
#13 0x40bc4044 in comphelper::EmbeddedObjectContainer::InsertEmbeddedObject ()
from ./libcomphelp4gcc3.so
#14 0x46263e74 in SvxMSDffManager::CheckForConvertToSOObj () from 
./libsvx680li.so
#15 0x462644e3 in SvxMSDffManager::CreateSdrOLEFromStorage () from 
./libsvx680li.so
#16 0x45362979 in SwMSDffManager::ImportOLE (this=0x8a99a98, nOLEId=65536,
[EMAIL PROTECTED], [EMAIL PROTECTED], _nCalledByGroup=0)
    at /opt/OpenOffice/src680-m129/sw/source/filter/ww8/ww8par.cxx:370
#17 0x46256877 in SvxMSDffManager::ImportGraphic () from ./libsvx680li.so
#18 0x46258548 in SvxMSDffManager::ImportShape () from ./libsvx680li.so
#19 0x462573d0 in SvxMSDffManager::ImportObj () from ./libsvx680li.so
#20 0x462612dc in SvxMSDffManager::GetShape () from ./libsvx680li.so

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to