<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-01-16 11:55 GMT+01:00 Miklos Vajna <span dir="ltr"><<a href="mailto:vmiklos@collabora.co.uk" target="_blank">vmiklos@collabora.co.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Tomáš,<br>
<span class=""><br>
On Fri, Jan 06, 2017 at 10:56:04AM +0100, Tomáš Chvátal <<a href="mailto:tomas.chvatal@gmail.com">tomas.chvatal@gmail.com</a>> wrote:<br>
> Ah now i get it. Well it happens always on the same test:<br>
><br>
> [  649s] trying to instantiate implementation<br>
> "com.sun.star.wizards.agenda.<wbr>CallWizard"<br>
> [  649s] unknown:0:(anonymous namespace)::Test::test<br>
> [  649s] uncaught exception of type std::bad_alloc<br>
> [  649s] - std::bad_alloc<br>
<br>
</span>Here is how I would continue debugging this. Add this after the<br>
SAL_DEBUG() that prints the service name:<br>
<br>
if (i.first == "com.sun.star.wizards.agenda.<wbr>CallWizard")<br>
    SAL_DEBUG("foo");<br>
<br>
Then in gdb you can put a breakpoint on the SAL_DEBUG("foo"); line,<br>
before the test attempts to instantiate<br>
com.sun.star.wizards.agenda.<wbr>CallWizard. When you hit the breakpoint, do<br>
"catch throw" and "continue". Hopefully that'll show us where<br>
std::bad_alloc is thrown.<br>
<br></blockquote><div>Hi, got to it and attaching the trace of the point. Seems like if I just break there and then catch the bad_alloc it stops on the right place finaly :)<br><br>Cheers</div><div><br></div><div>Tom</div><div> </div></div></div></div>