[Libreoffice-bugs] [Bug 112605] New: [NSTimer(NSTimer) scheduledTimerWithTimeInterval:target: selector:userInfo:repeats:] with multiple invocations

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Sep 24 08:04:23 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=112605

            Bug ID: 112605
           Summary: [NSTimer(NSTimer)
                    scheduledTimerWithTimeInterval:target:selector:userInf
                    o:repeats:] with multiple invocations
           Product: LibreOffice
           Version: 6.0.0.0.alpha0+ Master
          Hardware: All
                OS: Mac OS X (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: telesto at surfxs.nl

Description:
[NSTimer(NSTimer)
scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:] with multiple
invocations 

and 
[NSCFTimer initWithFireDate:interval:target:selector:userInfo:repeats:]

are leaking memory on multiple invocations. 

Steps to Reproduce:
1. Start Instruments.app
2. Choose Memory Leak profile tool
3. Select LibreOffice.app in instdir as target process
4. Click on the record button, LODev is started by the profiling tool
5. Wait for the StartCenter to load.
6. Click on the new Writer document icon to open a blank Writer document.
7. Open the Format -> Character dialog
8. Close it again
9. Stop recording.
10. Analyse the profile trace.


Actual Results:  
[NSTimer(NSTimer)
scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:] with multiple
invocations 

and 
[NSCFTimer initWithFireDate:interval:target:selector:userInfo:repeats:]

are leaking memory on multiple invocations. 

Expected Results:
Probably no leak


Reproducible: Always

User Profile Reset: No

Additional Info:
Version: 6.0.0.0.alpha0+
Build ID: 09995c09f78e245f717bf0560680b832f2f73967
CPU threads: 4; OS: Mac OS X 10.12.6; UI render: default; 
Locale: en-US (en_US.UTF-8); Calc: group

3 Foundation -[NSCFTimer
initWithFireDate:interval:target:selector:userInfo:repeats:]
4 Foundation +[NSTimer(NSTimer)
scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:]
5 libvcllo.dylib ImplSalStartTimer(unsigned long)
/Users/demo/lode/dev/core/vcl/osx/saltimer.cxx:107
6 libvcllo.dylib AquaSalTimer::Start(unsigned long)
/Users/demo/lode/dev/core/vcl/osx/saltimer.cxx:164


User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101
Firefox/52.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170924/d8aede08/attachment.html>


More information about the Libreoffice-bugs mailing list