Issue 84536 - Crash/freeze setting pagestyle properties via Macro
Summary: Crash/freeze setting pagestyle properties via Macro
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: programming (show other issues)
Version: OOo 2.3
Hardware: All All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords: crash
: 85337 (view as issue list)
Depends on:
Blocks:
 
Reported: 2007-12-13 14:08 UTC by mux2005
Modified: 2013-08-07 14:42 UTC (History)
4 users (show)

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


Attachments
The included macro crashes (Win2000) or freezes (Linux) OOo (9.37 KB, application/vnd.sun.xml.writer)
2007-12-13 14:09 UTC, mux2005
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description mux2005 2007-12-13 14:08:24 UTC
The macro in the attached document (just click the "CRASH" button to execute it)
attempts to copy the page style "Standard" to a newly created page style "foo".
While working on this macro I discovered that when the setPropertyValues()
command is issued 3 times, OOo crashes (Windows 2000) or freezes (Linux).
Comment 1 mux2005 2007-12-13 14:09:24 UTC
Created attachment 50292 [details]
The included macro crashes (Win2000) or freezes (Linux) OOo
Comment 2 michael.ruess 2007-12-13 15:19:12 UTC
MRU->OS: just execute the macro via the button in the attached document.
Comment 3 Oliver Specht 2007-12-14 10:26:13 UTC
Rassigned to ama
stack: 
 	sw680mi.dll!BigPtrArray::Index2Block()  + 0xa3 bytes	C++
 	sw680mi.dll!BigPtrArray::operator[]()  + 0x3a bytes	C++
 	sw680mi.dll!SwNodes::RemoveNode()  + 0x1d bytes	C++
 	sw680mi.dll!SwNodes::DelNodes()  + 0x109 bytes	C++
 	sw680mi.dll!SwDoc::DeleteSection()  + 0xff bytes	C++
>	sw680mi.dll!DelHFFormat(SwClient * pToRemove=0x00efe38c, SwFrmFmt *
pFmt=0x06fc4000)  Line 403	C++
 	sw680mi.dll!SwFmtFooter::~SwFmtFooter()  Line 727 + 0x2e bytes	C++
 	sw680mi.dll!SwUndoPageDesc::SwUndoPageDesc()  + 0x284 bytes	C++
 	sw680mi.dll!SwDoc::ChgPageDesc(unsigned short i=2, const SwPageDesc &
rChged={...})  Line 291 + 0x36 bytes	C++
 	sw680mi.dll!SwDocStyleSheet::SetFollow(const String & rStr={...})  Line 1052	C++
 	sw680mi.dll!lcl_SetStyleProperty(const SfxItemPropertyMap * pMap=0x098e95a8,
SfxItemPropertySet & rPropSet={...}, const com::sun::star::uno::Any &
rValue={...}, SwStyleBase_Impl & rBase={...}, SfxStyleSheetBasePool *
pBasePool=0x0a3bb438, SwDoc * pDoc=0x0a41e938, SfxStyleFamily
eFamily=SFX_STYLE_FAMILY_PAGE)  Line 2002	C++
Comment 4 andreas.martens 2007-12-18 10:37:43 UTC
Fixed in CWS sw8u10bf04
docstyles.cxx
Comment 5 andreas.martens 2008-01-07 13:09:07 UTC
Ready for QA.
Comment 6 michael.ruess 2008-01-09 14:34:38 UTC
Verified fix in CWS sw8u10bf04.
Comment 7 michael.ruess 2008-01-18 15:16:50 UTC
*** Issue 85337 has been marked as a duplicate of this issue. ***
Comment 8 michael.ruess 2008-02-12 14:14:21 UTC
Checked the fix in OO 2.4 dev build OOH680m7 and SRC680m245.