[Libreoffice-bugs] [Bug 111561] IOHIDDeviceClass::setElementDictIntValue() leaks memory

2017-08-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=111561 --- Comment #14 from Alex Thurgood --- That points to : - (void) startListening: (id) sender { (void)sender; if ([self isListeningToRemote]) return; at lines 147-149 in HIDRemoteControlDevice.m -- You

[Libreoffice-bugs] [Bug 111561] IOHIDDeviceClass::setElementDictIntValue() leaks memory

2017-08-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=111561 --- Comment #13 from Alex Thurgood --- See also lines 109-115 of RemoteControlContainer.m : - (void) startListening: (id) sender { #ifdef DEBUG NSLog(@"Apple Remote: start listening to events... "); #endif

[Libreoffice-bugs] [Bug 111561] IOHIDDeviceClass::setElementDictIntValue() leaks memory

2017-08-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=111561 --- Comment #12 from Alex Thurgood --- Trace of calls leading to leak : 9 libAppleRemotelo.dylib -[HIDRemoteControlDevice(IOKitMethods) initializeCookies]

[Libreoffice-bugs] [Bug 111561] IOHIDDeviceClass::setElementDictIntValue() leaks memory

2017-08-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=111561 --- Comment #11 from Alex Thurgood --- Created attachment 135642 --> https://bugs.documentfoundation.org/attachment.cgi?id=135642=edit Leak cycle graph for CFArray management I am enclosing a leak cycle graph for the

[Libreoffice-bugs] [Bug 111561] IOHIDDeviceClass::setElementDictIntValue() leaks memory

2017-08-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=111561 --- Comment #10 from Alex Thurgood --- It seems that the problems are indeed linked to AppleRemote handling code : success = (*handle)->copyMatchingElements(handle, NULL, (CFArrayRef*)); line 423 of

[Libreoffice-bugs] [Bug 111561] IOHIDDeviceClass::setElementDictIntValue() leaks memory

2017-08-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=111561 --- Comment #8 from Alex Thurgood --- (In reply to Julien Nabet from comment #6) > BTW, would it be possible to have a bt of something similar to know where > it's called in LO? I'll have a look. -- You are

[Libreoffice-bugs] [Bug 111561] IOHIDDeviceClass::setElementDictIntValue() leaks memory

2017-08-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=111561 --- Comment #7 from Alex Thurgood --- Perhaps this is linked to my input devices on this machine, I honestly don't know, as IOHIDDeviceClass is supposed to relate to USB and other connected hardware devices ? Whether

[Libreoffice-bugs] [Bug 111561] IOHIDDeviceClass::setElementDictIntValue() leaks memory

2017-08-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=111561 --- Comment #6 from Julien Nabet --- I don't know what can be done here since it's Apple code. Moreover, I'm not sure there's a leak in this part of code. Perhaps it just shows that fonts are loaded in memory when

[Libreoffice-bugs] [Bug 111561] IOHIDDeviceClass::setElementDictIntValue() leaks memory

2017-08-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=111561 Alex Thurgood changed: What|Removed |Added CC|

[Libreoffice-bugs] [Bug 111561] IOHIDDeviceClass::setElementDictIntValue() leaks memory

2017-08-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=111561 --- Comment #4 from Alex Thurgood --- and here : CFTypeRef IOHIDDeviceClass::createElement(CFDataRef data, IOHIDElementStruct * element, uint32_t index, CFTypeRef parentElement, CFMutableDictionaryRef elementCache, bool

[Libreoffice-bugs] [Bug 111561] IOHIDDeviceClass::setElementDictIntValue() leaks memory

2017-08-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=111561 --- Comment #3 from Alex Thurgood --- From https://github.com/st3fan/osx-10.9/blob/master/IOHIDFamily-503.1.13/IOHIDLib/IOHIDDeviceClass.cpp it appears to be this section of code: void

[Libreoffice-bugs] [Bug 111561] IOHIDDeviceClass::setElementDictIntValue() leaks memory

2017-08-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=111561 --- Comment #2 from Alex Thurgood --- >From what I understand, this relates to : https://opensource.apple.com/source/IOHIDFamily/IOHIDFamily-700/IOHIDLib/IOHIDDeviceClass.cpp.auto.html which is Apple's code. -- You

[Libreoffice-bugs] [Bug 111561] IOHIDDeviceClass::setElementDictIntValue() leaks memory

2017-08-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=111561 --- Comment #1 from Alex Thurgood --- Created attachment 135350 --> https://bugs.documentfoundation.org/attachment.cgi?id=135350=edit Screenshot of Instruments.app showing memory leaks A screenshot of the number of