Issue 54893 - MLK: possible memory leak in SvStream::SetBufferSize
Summary: MLK: possible memory leak in SvStream::SetBufferSize
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: 680m129
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-21 10:20 UTC by thomas.lange
Modified: 2017-05-20 10:48 UTC (History)
2 users (show)

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


Attachments
Document with Basic macro (7.16 KB, application/octet-stream)
2005-09-21 10:21 UTC, thomas.lange
no flags Details
Sample MailMerge document (6.12 KB, application/octet-stream)
2005-09-21 10:22 UTC, thomas.lange
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description thomas.lange 2005-09-21 10:20:46 UTC
Found in SRC680 m129 (master) during MailMerge via API:

===========================================================
STACK INFO:

Count: 7
Bytes: 28672

Alloc Module: tl680mi.dll
Alloc Function: SvStream__SetBufferSize

Call Stack:
MSVCR71.dll!_doserrno+0x7C342F92
MSVCR71.dll!_doserrno+0x7C342FA9
MSVCR71.dll!operator new+0x7C35C7C0
tl680mi.dll!SvStream__SetBufferSize+0x2BDA3C
utl680mi.dll!utl__UcbStreamHelper__CreateStream+0x11A8C00
sfx680mi.dll!SfxMedium__GetMedium_Impl+0x4834B68
sfx680mi.dll!SfxMedium__GetStorage+0x483608B
sw680mi.dll!SwIoSystem__GetFileFilter+0x7A4BBF9
sw680mi.dll!SwNewDBMgr__MergeMailFiles+0x79779B9
sw680mi.dll!SwNewDBMgr__MergeNew+0x79793B1
sw680mi.dll!SwXMailMerge__execute+0x7ABC622
msci_uno.dll!bridges__cpp_uno__shared__UnoInterfaceProxy__getCppI+0x4D82333
msci_uno.dll!bridges__cpp_uno__shared__UnoInterfaceProxy__getCppI+0x4D82673
msci_uno.dll!bridges__cpp_uno__shared__UnoInterfaceProxy__dispatch+0x4D82A52
reflection.uno.dll!stoc_corefl__IdlInterfaceMethodImpl__invoke+0xA9A6AE5
sb680mi.dll!SbUnoObject__Notify+0x4A96030
svl680mi.dll!SfxBroadcaster__Broadcast+0x133F070
sb680mi.dll!SbxVariable__Broadcast+0x4AB8F98
sb680mi.dll!SbxValue__SbxValue+0x4AC0E11
sb680mi.dll!SbxVariable__SbxVariable+0x4AB8CAB
sb680mi.dll!SbxMethod__SbxMethod+0x4A9CF62
sb680mi.dll!SbiRuntime__FindElement+0x4A9E8FA
sb680mi.dll!SbiRuntime__StepELEM+0x4A9EB35
sb680mi.dll!SbiRuntime__Step+0x4A9C43C
sb680mi.dll!SbModule__Run+0x4AB40E7
sb680mi.dll!SbModule__Notify+0x4AB4671
svl680mi.dll!SfxBroadcaster__Broadcast+0x133F070
sb680mi.dll!SbMethod__Broadcast+0x4AB454A
sb680mi.dll!SbxValue__Get+0x4AC1C4A
basctl680mi.dll!BasicIDE__RunMethod+0x9DD4914

===========================================================
To reproduce open save attached documents, open MailMerge2.sxw and edit the
pathes appropriately then start the macro from within the Basic IDE.
(Since the stacks were obtained from 7 successive calls it may be nececessary to
start the macro more than once if per chance the respective code is not always
called.)
Comment 1 thomas.lange 2005-09-21 10:21:50 UTC
Created attachment 29754 [details]
Document with Basic macro
Comment 2 thomas.lange 2005-09-21 10:22:24 UTC
Created attachment 29755 [details]
Sample MailMerge document
Comment 3 thomas.lange 2005-09-21 10:23:36 UTC
TL->MAV: Please have a look. Thanks!
Comment 4 thomas.lange 2005-10-13 12:11:59 UTC
Adding myself to CC list.
Comment 5 mikhail.voytenko 2006-03-02 18:17:31 UTC
Setting the target.
Comment 6 mikhail.voytenko 2006-07-17 16:59:23 UTC
Changing the target.
Comment 7 Mathias_Bauer 2007-12-04 16:17:22 UTC
according to release status meeting -> target 3.x
Comment 8 Marcus 2017-05-20 10:48:09 UTC
Reset assigne to the default "issues@openoffice.apache.org".