<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Crash in: SalFrame::SetCallback(vcl::Window *,bool (*)(vcl::Window *,SalEvent,void const *))"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107023#c21">Comment # 21</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Crash in: SalFrame::SetCallback(vcl::Window *,bool (*)(vcl::Window *,SalEvent,void const *))"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107023">bug 107023</a>
              from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
        <pre>(In reply to Xisco FaulĂ­ from <a href="show_bug.cgi?id=107023#c20">comment #20</a>)
<span class="quote">> > Xisco - when you say 'many' times - are you talking several thousand ? ;-)
> > if so, something of a corner-case methinks. Will trigger a new build on this
> > machine to see what's up there though I guess.

> So, the first time I open sample3 document, I have ~45 gdi objects, and if I
> copy paste the OLE object once, I have ~95, so it needs to be copied 200
> times approximately. Indeed, it sound a bit like a corner-case, however, I
> think there might be other objects that create more GDI objects every time
> they're copied/pasted, and thus, easier to reproduce.</span >

Xisco: could you give another try with a build including
<a href="https://cgit.freedesktop.org/libreoffice/core/commit/?id=ba9b44270b56dfc6c416a55686d855a5b3c3c866">https://cgit.freedesktop.org/libreoffice/core/commit/?id=ba9b44270b56dfc6c416a55686d855a5b3c3c866</a>
?
Indeed, searching in Opengrok about VirtualDevice, I stumbled upon this case.

(as advised by Markus, I'll use with std::unique_ptr at this place later)</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>