Issue 84092 - basic ide: inspection of object crashes oo - memory leak
Summary: basic ide: inspection of object crashes oo - memory leak
Status: ACCEPTED
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: OOo 2.3
Hardware: All Windows Vista
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-29 17:13 UTC by Oliver Brinzing
Modified: 2017-05-20 10:45 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Oliver Brinzing 2007-11-29 17:13:59 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
Comment 1 cno 2007-12-04 20:35:01 UTC
Can confirm -> to new
Comment 2 ab 2007-12-14 18:12:06 UTC
-> P3 as this is a very special problem that surely does 
not affect a significant number of customers, -> OOo 3.x
Comment 3 Oliver Brinzing 2009-05-19 12:40:56 UTC
confirmed with oo 3.1 and win xp
Comment 4 Regina Henschel 2014-10-12 10:45:33 UTC
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.
Comment 5 Oliver Brinzing 2014-10-12 14:08:10 UTC
> 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)
Comment 6 Marcus 2017-05-20 10:45:04 UTC
Reset the assignee to the default "issues@openoffice.apache.org".