To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=81024
                 Issue #|81024
                 Summary|fix memory leaks on Aqua ( Carbon ) version
               Component|porting
                 Version|680m225
                Platform|Macintosh
                     URL|
              OS/Version|Mac OS X
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|MacOSX
             Assigned to|macport
             Reported by|ericb





------- Additional comments from [EMAIL PROTECTED] Sat Aug 25 11:04:44 +0000 
2007 -------
They are several leaks on Aqua ( Carbon ) version, and we must fix them.

I think I found other problems in dtrans. If possible, NSCFArray and the string
""  leaks will have to be fixed in this issue. ( no idea what "XTUM" means  -
probably question of MUTX issue )

Two logs: 

ordinateur-de-eric-b:~/Desktop/SRC680_m225/vcl ericb$ leaks soffice.bin
Process 12454: 37073 nodes malloced for 23237 KB
Process 12454: 8 leaks for 1328 total leaked bytes.
Leak: 0x078acc00  size=1024     string ''
Leak: 0x072a3d20  size=64
        0x064ecc48 0x00000001 0x1130dda8 0x071ee16c     H.N.......0.l...
        0x00000000 0x072a3d60 0x00000000 0x072a3d34     ....`=*.....4=*.
        0x00000000 0x00000000 0x00000000 0x00000000     ................
        0x00000000 0x00000000 0x00000000 0x00000000     ................
Leak: 0x072a3d60  size=64       string 'XTUM'
Leak: 0x07204a80  size=48       string 'XTUM'
Leak: 0x07204950  size=48       string 'XTUM'
Leak: 0x072046f0  size=48       string 'XTUM'
Leak: 0x1b7c5f20  size=16       instance of 'NSCFArray'
        0x07201730 0x00010486 0x00000008 0x1b7c6630     0. .........0f|.
Leak: 0x1b7c6b20  size=16       instance of 'NSCFArray'
        0x07201730 0x00010486 0x00000008 0x1b7c6d00     0. ..........m|.

And more precisely, using export MallocStackLogging=1 *before* tu run gdb, 
gives: 

Leak: 0x1f7d0b00  size=16       instance of 'NSCFArray'
        0x07201730 0x00010486 0x00000005 0x1f7d0ca0     0. ...........}.
        Call stack: [thread 0]: | 0x2 | start | start | main | SVMain() |
ImplSVMainHook(unsigned char*) | RunApplicationEventLoop | _AcquireNextEvent |
ReceiveNextEventCommon | RunCurrentEventLoopInMode | CFRunLoopRunInMode |
CFRunLoopRunSpecific | TimerVector |
MainRunLoopForThreadedApps(__EventLoopTimer*, void*) | ImplSVMain() |
desktop::Desktop::Main() | Application::Execute() | Application::Yield(bool) |
AquaSalInstance::Yield(bool, bool) | SendEventToEventTarget |
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*,
HandlerCallRec*) | DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*,
HandlerCallRec*) | ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*,
OpaqueEventRef*, void*) | SendEventToEventTargetWithOptions |
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*,
HandlerCallRec*) | DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*,
HandlerCallRec*) | HandleOOoSalTimerEvent(OpaqueEventHandlerCallRef*,
OpaqueEventRef*, void*) | SalTimer::CallCallback() |
Timer::ImplTimerCallbackProc() | Timer::Timeout() | Link::Call(void*) const |
component_writeInfo | component_writeInfo |
svt::ToolboxController::bindListener() |
SvxSearchItem::QueryValue(com::sun::star::uno::Any&, unsigned char) const |
SfxDispatcher::QueryState(unsigned short, com::sun::star::uno::Any&) |
SfxShell::GetSlotState(unsigned short, SfxInterface const*, SfxItemSet*) |
SwRedlineAcceptDlg::SwRedlineAcceptDlg[not-in-charge](Dialog*, unsigned char) |
SwView::IsPasteAllowed() |
TransferableDataHelper::CreateFromSystemClipboard(Window*) |
aqua::AquaClipboard::getContents() |
OSXTransferable::OSXTransferable[in-charge](com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>,
com::sun::star::uno::Reference<com::sun::star::datatransfer::XMimeContentTypeFactory>,
boost::shared_ptr<DataFlavorMapper>) | OSXTransferable::initClipboardItemList()
| OSXTransferable::addClipboardItemFlavors(void*) | PasteboardCopyItemFlavors |
CoreGetCachedItemFlavorsAndTranslations(OpaquePasteboardRef*, void*, __CFArray
const**, __CFDictionary const**) | __CFArrayInit | _CFRuntimeCreateInstance

I'll attach patch(es) asap

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to