<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - [NSTimer(NSTimer) scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:] with multiple invocations"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=112605">112605</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[NSTimer(NSTimer) scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:] with multiple invocations
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.0.0.0.alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Mac OS X (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>telesto@surfxs.nl
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>