Apache OpenOffice (AOO) Bugzilla – Issue 54893
MLK: possible memory leak in SvStream::SetBufferSize
Last modified: 2017-05-20 10:48:09 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.)
Created attachment 29754 [details] Document with Basic macro
Created attachment 29755 [details] Sample MailMerge document
TL->MAV: Please have a look. Thanks!
Adding myself to CC list.
Setting the target.
Changing the target.
according to release status meeting -> target 3.x
Reset assigne to the default "issues@openoffice.apache.org".