Issue 7528 - OLE Defect with ooowriter/ooomath
Summary: OLE Defect with ooowriter/ooomath
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.0.0
Hardware: PC Windows XP
: P2 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords: oooqa
: 5043 (view as issue list)
Depends on:
Blocks:
 
Reported: 2002-09-05 18:04 UTC by Unknown
Modified: 2003-09-08 16:56 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
A sxw document containing broken ooomath OLE Objects (39.76 KB, application/octet-stream)
2002-09-16 16:34 UTC, Unknown
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2002-09-05 18:04:13 UTC
When you enter many formulas in a ooowriter document, some (actually most) of 
the ooomath objects become broken. Instead of the entered formulas the icon 
for broken links is shown.
This defect has also ocurred in build 641.
Comment 1 prgmgr 2002-09-06 02:59:15 UTC
Kevin, thanks for taking the time to post this issue.

Could you please attach all the files we need to reproduce this issue.

Thanks.
Comment 2 Unknown 2002-09-16 16:34:16 UTC
Created attachment 2857 [details]
A sxw document containing broken ooomath OLE Objects
Comment 3 Unknown 2002-09-16 16:41:28 UTC
The ooomath objects in the attached document were created by 
entering the math language directly into the document, selecting the 
line and pressing create>object>formula in the menu
Comment 4 prgmgr 2002-09-17 03:14:21 UTC
Kevin, thanks for the attachment.

I see 3 equations have a bad OLE link for me.
Is this the same behaviour for you?

Can you consistently reproduce this problem?

Duplicated on Win NT 4.0 SP6a, OOo 1.0.1.

I see 3 equations with an "puzzle piece" icon and the 
text "SvOutPlaceObject".
Comment 5 Unknown 2002-09-18 14:15:45 UTC
Thats the same picture for me.
I can not consistently reproduce the problem because I did not yet
figure out what the reason for the broken OLE Links is.
It seems to happen randomly when working with many math objects. It is
unclear why certain objects are concerned and others are not. 
But clear is, that the problem happens during the editing of the
document. A correctly entered and showed formula stays correct after
saving and reloading the document. The same applies for broken objects
so  I suppose it is not a problem in the saving process. 
You can actually produce big files with many formulas if you save the
document everytime after entering a new formula and check all existing
formulas before saving. 
Comment 6 prgmgr 2002-09-22 07:09:44 UTC
*** Issue 5043 has been marked as a duplicate of this issue. ***
Comment 7 prgmgr 2002-10-22 00:32:14 UTC
Okay, here's the problem.

The 3 objects that show up as broken links were never saved properly 
in the file.

Normally the object should contain a directory and the appropiate XML 
files.  In your test file, they end up being flat files.

So we know why the file is broken, but that still leaves us with the 
problem of trying to reproduce this scenario that caused this bad 
file to be made.

Kevin, do you have any additional comments?  Unfortunately, if there 
is no consistent way to reproduce this problem, I'll have to close it 
as works for me.

To the developers, is there debug info in the XML file assembly?  I 
assumed no, but I never really tried hard to look at the entire zip 
file or take a look at the XML file specs.
Comment 8 Unknown 2003-02-10 12:09:46 UTC
Please look at the issue 11007 as well, I had almost the same 
probleme. Gabor
Comment 9 eric.savary 2003-04-13 00:53:47 UTC
ES->MRU: the file may be broken (comments of PM) but it shouldn't 
crash when teasing a little bit the broken OLE
in 644m8

->
VCL644MI! Region::Region(class Region const &) + 86 bytes
VCL644MI! Window::GetPaintRegion(void) + 114 bytes
GO644MI! B2dIAOManager::UpdateDisplay(void) + 77 bytes
DL644MI! SdrDragView::BrkAction(void) + 22 bytes
DL644MI! SdrCreateView::BrkAction(void) + 8 bytes
DL644MI! SdrMarkView::UnmarkAllObj(class SdrPageView *) + 19 bytes
DL644MI! SdrView::UnmarkAll(void) + 173 bytes
SW644MI! SwFEShell::SelectObj(class Point const &,unsigned char,class 
SdrObject *) + 415 bytes
SW644MI! SwWrtShell::UnSelectFrm(void) + 33 bytes
SW644MI! SwEditWin::MouseButtonDown(class MouseEvent const &) + 3121 
bytes
VCL644MI! ImplHandleMouseEvent(class Window *,unsigned short,unsigned 
char,long,long,unsigned long,unsigned short,unsigned short) + 3245 
bytes
VCL644MI! ImplWindowFrameProc(void *,class SalFrame *,unsigned 
short,void const *) + 229 bytes
VCL644MI! SalFrameWndProc(struct HWND__ *,unsigned int,unsigned 
int,long,int &) + 3455 bytes
VCL644MI! SalFrameWndProc(struct HWND__ *,unsigned int,unsigned 
int,long,int &) + 1095 bytes
VCL644MI! SalFrameWndProcW(struct HWND__ *,unsigned int,unsigned 
int,long) + 43 bytes
USER32! 77e02e98()
VCL644MI! SalInstance::Yield(unsigned char) + 128 bytes
VCL644MI! Application::Yield(void) + 60 bytes
VCL644MI! Application::Execute(void) + 34 bytes
SOFFICE! desktop::Desktop::Main(void) + 3025 bytes
Comment 10 eric.savary 2003-04-13 00:54:17 UTC
Reassigned to MRU
Comment 11 michael.ruess 2003-04-16 12:44:57 UTC
The crash will be fixed in OO 1.1 Beta2 (checked it with internal
workspace sw011).
The issue regarding the corrupted OLE objects (here: formulas) has
been adressed in OO 1.0.2. But the documents which are already
corrupted (like the attached) connot be displayed correctly anyway.
The objects which do not show in there are destoyed and not repairable.
Comment 12 michael.ruess 2003-04-16 12:45:43 UTC
Closed.