Libreoffice service fails in OBS (openSUSE)
Tomáš Chvátal
tomas.chvatal at gmail.com
Wed Jan 4 21:24:02 UTC 2017
2017-01-04 21:57 GMT+01:00 Michael Stahl <mstahl at redhat.com>:
> On 01/04/2017 09:46 PM, Tomáš Chvátal wrote:
> > Hello all,
> >
> > These tests fail for me bit weirdly because I can't make heads or tails
> > from what is happening thus any help appreciated:
> >
> > [ 8317s] make[1]: *** [/home/abuild/rpmbuild/BUILD/libreoffice-
> > 5.3.0.0.beta2/solenv/gbuild/CppunitTest.mk:101:
> > /home/abuild/rpmbuild/BUILD/libreoffice-
> > 5.3.0.0.beta2/workdir/CppunitTest/services.test] Error 1
> >
> > *snip lot of no obvious way...*
> > [ 8317s] no obvious way to instantiate implementation
> > "com.sun.star.svtools.RemoteFilePicker"
> > [ 8317s] unknown:0:(anonymous namespace)::Test::test
> > [ 8317s] uncaught exception of type std::bad_alloc
> > [ 8317s] - std::bad_alloc
> > [ 8317s]
> > [ 8317s] (anonymous namespace)::Test::test finished in: 7520ms
> > [ 8317s] ##Failure Location unknown## : Error
> > [ 8317s] Test name: (anonymous namespace)::Test::test[ 8291.272351]
> > serial8250: too much work for irq4
> > [ 8317s]
> > [ 8317s] uncaught exception of type std::bad_alloc
> > [ 8317s] - std::bad_alloc
> >
> > For the full logs with gdb please see attachment.
>
> > Thread 1 "cppunittester" received signal SIGSEGV, Segmentation fault.
> > 0x00007fffb36a62b4 in ?? ()
> > #0 0x00007fffb36a62b4 in ()
> > #1 0x0000000000000246 in ()
> > #2 0x00007fffb36a6160 in ()
> > #3 0x00007fffffff1710 in ()
> > #4 0x00007fffffff16b0 in ()
> > #5 0x00007fffc365360d in VM_Version::get_processor_features() () at
> /usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/server/libjvm.so
>
> that's the usual JVM start-up segfault and perfectly normal.
>
> you need to run it until the bad_alloc is thrown.
>
> Gotcha, how about following:
(gdb) bt
#0 0x00007ffff7657b00 in __cxa_throw () at /usr/lib64/libstdc++.so.6
#1 0x00007fffe05d902e in
ooo::vba::getXSomethingFromArgs<com::sun::star::frame::XModel>(com::sun::star::uno::Sequence<com::sun::star::uno::Any>
const&, int, bool) ()
at
/home/abuild/rpmbuild/BUILD/libreoffice-5.3.0.0.beta2/instdir/program/libvbahelperlo.so
#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
#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&) ()
at
/home/abuild/rpmbuild/BUILD/libreoffice-5.3.0.0.beta2/instdir/program/libvbaobjlo.so
#4 0x00007fffe01fd513 in ScVbaEventsHelper_get_implementation() () at
/home/abuild/rpmbuild/BUILD/libreoffice-5.3.0.0.beta2/instdir/program/libvbaobjlo.so
#5 0x00007ffff602fc5f in
cppuhelper::ServiceManager::Data::Implementation::createInstance(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>
const&, bool) ()
at
/home/abuild/rpmbuild/BUILD/libreoffice-5.3.0.0.beta2/instdir/program/libuno_cppuhelpergcc3.so.3
#6 0x00007ffff60333c2 in
cppuhelper::ServiceManager::createInstanceWithContext(rtl::OUString 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/libuno_cppuhelpergcc3.so.3
#7 0x00007fffe1617b26 in createInstance() () at
/home/abuild/rpmbuild/BUILD/libreoffice-5.3.0.0.beta2/workdir/LinkTarget/CppunitTest/libtest_services.so
#8 0x00007fffe161cd5a in test() () at
/home/abuild/rpmbuild/BUILD/libreoffice-5.3.0.0.beta2/workdir/LinkTarget/CppunitTest/libtest_services.so
#9 0x00007ffff7bc0bb2 in CppUnit::TestCaseMethodFunctor::operator()()
const () at /usr/lib64/libcppunit-1.13.so.0
#10 0x00007ffff64e1610 in protect() () at
/home/abuild/rpmbuild/BUILD/libreoffice-5.3.0.0.beta2/workdir/LinkTarget/Library/unoexceptionprotector.so
#11 0x00007ffff7bb76b0 in
CppUnit::DefaultProtector::protect(CppUnit::Functor const&,
CppUnit::ProtectorContext const&) () at /usr/lib64/libcppunit-1.13.so.0
#12 0x00007ffff7bbe0cd in CppUnit::ProtectorChain::protect(CppUnit::Functor
const&, CppUnit::ProtectorContext const&) () at
/usr/lib64/libcppunit-1.13.so.0
#13 0x00007ffff7bc675a in CppUnit::TestResult::protect(CppUnit::Functor
const&, CppUnit::Test*, std::string const&) () at
/usr/lib64/libcppunit-1.13.so.0
#14 0x00007ffff7bc08ba in CppUnit::TestCase::run(CppUnit::TestResult*) ()
at /usr/lib64/libcppunit-1.13.so.0
#15 0x00007ffff7bc0f03 in
CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) () at
/usr/lib64/libcppunit-1.13.so.0
#16 0x00007ffff7bc0e1e in CppUnit::TestComposite::run(CppUnit::TestResult*)
() at /usr/lib64/libcppunit-1.13.so.0
#17 0x00007ffff7bc0f03 in
CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) () at
/usr/lib64/libcppunit-1.13.so.0
#18 0x00007ffff7bc0e1e in CppUnit::TestComposite::run(CppUnit::TestResult*)
() at /usr/lib64/libcppunit-1.13.so.0
#19 0x00007ffff7bc6492 in CppUnit::TestResult::runTest(CppUnit::Test*) ()
at /usr/lib64/libcppunit-1.13.so.0
#20 0x00007ffff7bc876e in CppUnit::TestRunner::run(CppUnit::TestResult&,
std::string const&) () at /usr/lib64/libcppunit-1.13.so.0
#21 0x000000000040419a in run() ()
#22 0x0000000000404a0b in sal_main() ()
#23 0x000000000040343b in main() ()
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 :)
Cheers
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20170104/2dcc210c/attachment.html>
More information about the LibreOffice
mailing list