Apache OpenOffice (AOO) Bugzilla – Issue 84092
basic ide: inspection of object crashes oo - memory leak
Last modified: 2017-05-20 10:45:04 UTC
Hi, open a spreadsheet document, set a breakpoint at "msgbox" run macro and try to inspect "oCursor" ... OO 2.3 (Vista) crashes with a memory leak ... (on my notebook it consumes 1,5MB memory before crashing ...) no problems if you *use* the "oCursor" object before inspection for example: oCursor.GotoEndOfUsedArea() Oliver REM ***** BASIC ***** OPTION EXPLICIT Sub Main Dim oSheet as Object Dim oCursor as Object oSheet = ThisComponent.getSheets().getByIndex(0) oCursor = oSheet.createCursor() ' oCursor.GotoEndOfUsedArea() Wait(50) MsgBox "Set a BreakPoint at MsgBox, Enter >oCursor< into the watch field" & Chr(13) & "Try to open the [+] oCursor - OO will freeze -> memory leak " End Sub
Can confirm -> to new
-> P3 as this is a very special problem that surely does not affect a significant number of customers, -> OOo 3.x
confirmed with oo 3.1 and win xp
I cannot reproduce it. I use a debug build of AOO420m1(Build:9800) - Rev. 1614365 on Windows 7. It lasts some seconds till the + expands, but it does and shows the properties. The cursor has initially the whole sheet as cell range, here $Sheet1.$A$1:$Amj$1048576. That might be a problem.
> seconds till the + expands aoo401 crashes, aoo420dev seems to work, but if i close aoo after running the macro, i get a recovery dialog at next start (win 7 64)
Reset the assignee to the default "issues@openoffice.apache.org".