<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-01-04 21:57 GMT+01:00 Michael Stahl <span dir="ltr"><<a href="mailto:mstahl@redhat.com" target="_blank">mstahl@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On 01/04/2017 09:46 PM, Tomáš Chvátal wrote:<br>
> Hello all,<br>
><br>
> These tests fail for me bit weirdly because I can't make heads or tails<br>
> from what is happening thus any help appreciated:<br>
><br>
> [ 8317s] make[1]: *** [/home/abuild/rpmbuild/BUILD/<wbr>libreoffice-<br>
> 5.3.0.0.beta2/solenv/gbuild/<wbr>CppunitTest.mk:101:<br>
> /home/abuild/rpmbuild/BUILD/<wbr>libreoffice-<br>
> 5.3.0.0.beta2/workdir/<wbr>CppunitTest/services.test] Error 1<br>
><br>
> *snip lot of no obvious way...*<br>
> [ 8317s] no obvious way to instantiate implementation<br>
> "com.sun.star.svtools.<wbr>RemoteFilePicker"<br>
> [ 8317s] unknown:0:(anonymous namespace)::Test::test<br>
> [ 8317s] uncaught exception of type std::bad_alloc<br>
> [ 8317s] - std::bad_alloc<br>
> [ 8317s]<br>
> [ 8317s] (anonymous namespace)::Test::test finished in: 7520ms<br>
> [ 8317s] ##Failure Location unknown## : Error<br>
> [ 8317s] Test name: (anonymous namespace)::Test::test[ 8291.272351]<br>
> serial8250: too much work for irq4<br>
> [ 8317s]<br>
> [ 8317s] uncaught exception of type std::bad_alloc<br>
> [ 8317s] - std::bad_alloc<br>
><br>
> For the full logs with gdb please see attachment.<br>
<br>
</span>> Thread 1 "cppunittester" received signal SIGSEGV, Segmentation fault.<br>
> 0x00007fffb36a62b4 in ?? ()<br>
> #0  0x00007fffb36a62b4 in  ()<br>
> #1  0x0000000000000246 in  ()<br>
> #2  0x00007fffb36a6160 in  ()<br>
> #3  0x00007fffffff1710 in  ()<br>
> #4  0x00007fffffff16b0 in  ()<br>
> #5  0x00007fffc365360d in VM_Version::get_processor_<wbr>features() () at /usr/lib64/jvm/java-1.8.0-<wbr>openjdk-1.8.0/jre/lib/amd64/<wbr>server/libjvm.so<br>
<br>
that's the usual JVM start-up segfault and perfectly normal.<br>
<br>
you need to run it until the bad_alloc is thrown.<br><br></blockquote><div>Gotcha, how about following:</div><div><br></div><div>(gdb) bt</div><div>#0  0x00007ffff7657b00 in __cxa_throw () at /usr/lib64/libstdc++.so.6</div><div>#1  0x00007fffe05d902e in ooo::vba::getXSomethingFromArgs<com::sun::star::frame::XModel>(com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&, int, bool) ()</div><div>    at /home/abuild/rpmbuild/BUILD/libreoffice-5.3.0.0.beta2/instdir/program/libvbahelperlo.so</div><div>#2  0x00007fffe05e3734 in VbaEventsHelperBase::VbaEventsHelperBase(com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&) () at /home/abuild/rpmbuild/BUILD/libreoffice-5.3.0.0.beta2/instdir/program/libvbahelperlo.so</div><div>#3  0x00007fffe01fcfed in ScVbaEventsHelper::ScVbaEventsHelper(com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&) ()</div><div>    at /home/abuild/rpmbuild/BUILD/libreoffice-5.3.0.0.beta2/instdir/program/libvbaobjlo.so</div><div>#4  0x00007fffe01fd513 in ScVbaEventsHelper_get_implementation() () at /home/abuild/rpmbuild/BUILD/libreoffice-5.3.0.0.beta2/instdir/program/libvbaobjlo.so</div><div>#5  0x00007ffff602fc5f in cppuhelper::ServiceManager::Data::Implementation::createInstance(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, bool) ()</div><div>    at /home/abuild/rpmbuild/BUILD/libreoffice-5.3.0.0.beta2/instdir/program/libuno_cppuhelpergcc3.so.3</div><div>#6  0x00007ffff60333c2 in cppuhelper::ServiceManager::createInstanceWithContext(rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&) ()</div><div>    at /home/abuild/rpmbuild/BUILD/libreoffice-5.3.0.0.beta2/instdir/program/libuno_cppuhelpergcc3.so.3</div><div>#7  0x00007fffe1617b26 in createInstance() () at /home/abuild/rpmbuild/BUILD/libreoffice-5.3.0.0.beta2/workdir/LinkTarget/CppunitTest/libtest_services.so</div><div>#8  0x00007fffe161cd5a in test() () at /home/abuild/rpmbuild/BUILD/libreoffice-5.3.0.0.beta2/workdir/LinkTarget/CppunitTest/libtest_services.so</div><div>#9  0x00007ffff7bc0bb2 in CppUnit::TestCaseMethodFunctor::operator()() const () at /usr/lib64/libcppunit-1.13.so.0</div><div>#10 0x00007ffff64e1610 in protect() () at /home/abuild/rpmbuild/BUILD/libreoffice-5.3.0.0.beta2/workdir/LinkTarget/Library/unoexceptionprotector.so</div><div>#11 0x00007ffff7bb76b0 in CppUnit::DefaultProtector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) () at /usr/lib64/libcppunit-1.13.so.0</div><div>#12 0x00007ffff7bbe0cd in CppUnit::ProtectorChain::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) () at /usr/lib64/libcppunit-1.13.so.0</div><div>#13 0x00007ffff7bc675a in CppUnit::TestResult::protect(CppUnit::Functor const&, CppUnit::Test*, std::string const&) () at /usr/lib64/libcppunit-1.13.so.0</div><div>#14 0x00007ffff7bc08ba in CppUnit::TestCase::run(CppUnit::TestResult*) () at /usr/lib64/libcppunit-1.13.so.0</div><div>#15 0x00007ffff7bc0f03 in CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) () at /usr/lib64/libcppunit-1.13.so.0</div><div>#16 0x00007ffff7bc0e1e in CppUnit::TestComposite::run(CppUnit::TestResult*) () at /usr/lib64/libcppunit-1.13.so.0</div><div>#17 0x00007ffff7bc0f03 in CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) () at /usr/lib64/libcppunit-1.13.so.0</div><div>#18 0x00007ffff7bc0e1e in CppUnit::TestComposite::run(CppUnit::TestResult*) () at /usr/lib64/libcppunit-1.13.so.0</div><div>#19 0x00007ffff7bc6492 in CppUnit::TestResult::runTest(CppUnit::Test*) () at /usr/lib64/libcppunit-1.13.so.0</div><div>#20 0x00007ffff7bc876e in CppUnit::TestRunner::run(CppUnit::TestResult&, std::string const&) () at /usr/lib64/libcppunit-1.13.so.0</div><div>#21 0x000000000040419a in run() ()</div><div>#22 0x0000000000404a0b in sal_main() ()</div><div>#23 0x000000000040343b in main() ()</div><div><br></div><div>It looks way more reasonable than the java segfault that made me nervous so I will try to dig around it, anyway if someone figures it out I won't be exactly complaining :)</div><div><br></div><div>Cheers</div><div><br></div><div>Tom </div></div></div></div>