Apache OpenOffice (AOO) Bugzilla – Issue 106226
Crash/freeze/leak on createEnumeration()
Last modified: 2017-05-20 10:45:08 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.
Created attachment 65561 [details] Press button and kiss your system goodbye
Reassigned to JSK
Assign to new default-assignee
Reassigned to TBO.
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
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...
see #c6
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.
Reset the assignee to the default "issues@openoffice.apache.org".