Issue 106226 - Crash/freeze/leak on createEnumeration()
Summary: Crash/freeze/leak on createEnumeration()
Status: REOPENED
Alias: None
Product: Writer
Classification: Application
Component: programming (show other issues)
Version: OOo 3.3
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-23 16:09 UTC by mux2005
Modified: 2017-05-20 10:45 UTC (History)
5 users (show)

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


Attachments
Press button and kiss your system goodbye (13.46 KB, application/vnd.oasis.opendocument.text)
2009-10-23 16:10 UTC, mux2005
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description mux2005 2009-10-23 16:09:33 UTC
If you click the button in the attached document, OOo will consume all CPU and
memory. Depending on your system you may need to do a hard reset. The problem
happens when the macro attempts to enumerate over the 1st paragraph to which the
folding mark line in the left margin is anchored. The problem only happens when
enumerating via the bookmark. If the enumeration is done via the
ThisComponent.Text object, the paragraph can safely be enumerated. The macro
code is as follows:

ThisComponent.Bookmarks.getByIndex(0).getAnchor().createEnumeration().nextElement().createEnumeration()

The issue has been confirmed under Windows and Linux.
Comment 1 mux2005 2009-10-23 16:10:41 UTC
Created attachment 65561 [details]
Press button and kiss your system goodbye
Comment 2 eric.savary 2009-10-23 16:36:32 UTC
Reassigned to JSK
Comment 3 hans_werner67 2011-03-28 11:56:26 UTC
Assign to new default-assignee
Comment 4 eric.savary 2011-04-11 07:20:57 UTC
Reassigned to TBO.
Comment 5 b.osi.ooo 2011-04-14 07:53:19 UTC
This issue is unconfirmed since a year, does it still not work with a recent OOo version: http://download.services.openoffice.org/files/extended/developer/
Else, please discuss in forum first: http://user.services.openoffice.org/en/forum/viewforum.php?f=20
closing
Comment 6 strob 2011-04-14 12:55:46 UTC
I've tested the behavior with DEV300m106 under Windows and the crash is still reproducable.

What sort of discussion at the forum is needed here? There is a small macro, producing a crash. Other solutions of how to workaround this crash are not part of this issue. If this issue is too unimportant to ever fix it, then please close it as WONTFIX.

IMO the issue should be reopened...
Comment 7 clutz 2011-04-19 07:47:46 UTC
see #c6
Comment 8 Michael Newman 2013-11-15 00:37:33 UTC
Running windows 8 build 4.0.1, could not replicate result. I clicked the button numerous times, and it didn’t take any outstanding amount of my machine’s resources.
Comment 9 Marcus 2017-05-20 10:45:08 UTC
Reset the assignee to the default "issues@openoffice.apache.org".