<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#c22">Comment # 22</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:xiscofauli@libreoffice.org" title="Xisco Faulí <xiscofauli@libreoffice.org>"> <span class="fn">Xisco Faulí</span></a>
</span></b>
        <pre>(In reply to Julien Nabet from <a href="show_bug.cgi?id=107023#c21">comment #21</a>)
<span class="quote">> (In reply to Xisco Faulí from <a href="show_bug.cgi?id=107023#c20">comment #20</a>)
> > > 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.

> Xisco: could you give another try with a build including
> <a href="https://cgit.freedesktop.org/libreoffice/core/commit/">https://cgit.freedesktop.org/libreoffice/core/commit/</a>
> ?id=ba9b44270b56dfc6c416a55686d855a5b3c3c866
> ?
> 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)</span >

Hi Julien,

it's still crashing in

Version: 5.5.0.0.alpha0+
Build ID: 7662b11cad6105d56fb9acc9c431c89d3b68dc89
CPU threads: 1; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2017-05-20_10:09:09
Locale: es-ES (es_ES); Calc: group</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>