Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Wed, Feb 23, 2011 at 12:36:14PM +0000, Caolán McNamara wrote:
On Wed, 2011-02-23 at 09:46 +0100, Francois Tigeot wrote:
For now, I'm focussing on sc/qa/unit.

Because your log shows "OK (10)" before it falls over and dies, I
believe that the tests themselves are passing, and you are dying on
exit.

I tried running the crashing command in gdb, following your explanations
from the january thread
http://lists.freedesktop.org/archives/libreoffice/2011-January/005531.html

I first tried to use build. cppunittester ran for a few moments and stopped;
it just sat there doing nothing.
It didn't use any cpu and gdb was in "wait" state:

Reading symbols from
/home/ftigeot/Projects/LibreOffice/bootstrap/solver/330/unxdflyx3.pro/bin/cppunit/cppunittester...done.
(gdb) run
Starting program:
/home/ftigeot/Projects/LibreOffice/bootstrap/solver/330/unxdflyx3.pro/bin/cppunit/cppunittester 
../../unxdflyx3.pro/lib/libqa_unit.so -headless -invisible 
-env:UNO_SERVICES=file:///home/ftigeot/Projects/LibreOffice/bootstrap/clone/calc/sc/qa/unit/../../unxdflyx3.pro/misc/qa_unit/services.rdb
 
-env:UNO_TYPES=file:///home/ftigeot/Projects/LibreOffice/bootstrap/clone/calc/sc/qa/unit/../../unxdflyx3.pro/misc/qa_unit/types.rdb\
 
file:///home/ftigeot/Projects/LibreOffice/bootstrap/clone/calc/sc/qa/unit/../../unxdflyx3.pro/misc/qa_unit/udkapi.rdb
 
-env:OOO_BASE_DIR=file:///home/ftigeot/Projects/LibreOffice/bootstrap/clone/calc/sc/qa/unit/../../unxdflyx3.pro/misc/qa_unit
 
-env:BRAND_BASE_DIR=file:///home/ftigeot/Projects/LibreOffice/bootstrap/clone/calc/sc/qa/unit/../../unxdflyx3.pro/misc/qa_unit
 
-env:UNO_USER_PACKAGES_CACHE=file:///home/ftigeot/Projects/LibreOffice/bootstrap/clone/calc/sc/qa/unit/../../unxdflyx3.pro/misc/qa_unit


Next, I ran the command by hand and it was better:

$ export 
LD_LIBRARY_PATH="/usr/pkg/lib:/home/ftigeot/Projects/LibreOffice/bootstrap/sc/unxdflyx3.pro/lib:/home/ftigeot/Projects/LibreOffice/bootstrap/solver/330/unxdflyx3.pro/lib"
$ gdb --args 
/home/ftigeot/Projects/LibreOffice/bootstrap/solver/330/unxdflyx3.pro/bin/cppunit/cppunittester 
../../unxdflyx3.pro/lib/libqa_unit.so -headless -invisible 
-env:UNO_SERVICES=file:///home/ftigeot/Projects/LibreOffice/bootstrap/clone/calc/sc/qa/unit/../../unxdflyx3.pro/misc/qa_unit/services.rdb
 
-env:UNO_TYPES=file:///home/ftigeot/Projects/LibreOffice/bootstrap/clone/calc/sc/qa/unit/../../unxdflyx3.pro/misc/qa_unit/types.rdb\
 
file:///home/ftigeot/Projects/LibreOffice/bootstrap/clone/calc/sc/qa/unit/../../unxdflyx3.pro/misc/qa_unit/udkapi.rdb
 
-env:OOO_BASE_DIR=file:///home/ftigeot/Projects/LibreOffice/bootstrap/clone/calc/sc/qa/unit/../../unxdflyx3.pro/misc/qa_unit
 
-env:BRAND_BASE_DIR=file:///home/ftigeot/Projects/LibreOffice/bootstrap/clone/calc/sc/qa/unit/../../unxdflyx3.pro/misc/qa_unit
 
-env:UNO_USER_PACKAGES_CACHE=file:///home/ftigeot/Projects/LibreOffice/bootstrap/clone/calc/sc/qa/unit/../../unxdflyx3.pro/misc/qa_unit
Error: File /home/ftigeot/Projects/LibreOffice/bootstrap/clone/libs-core/ucb/source/core/ucb.cxx, 
Line 926: UniversalContentBroker::getContentProviderData - caught RuntimeException!
Error: File /home/ftigeot/Projects/LibreOffice/bootstrap/clone/libs-core/ucb/source/core/ucb.cxx, 
Line 796: UniversalContentBroker::configureUcb(): No configuration
Error: File 
/home/ftigeot/Projects/LibreOffice/bootstrap/solver/330/unxdflyx3.pro/inc/tools/resid.hxx, Line 72: 
ResId without ResMgr created terminate called after throwing an instance of 
'com::sun::star::uno::RuntimeException'

Program received signal SIGABRT, Aborted.
0x0000000800f6f158 in lwp_kill () at lwp_kill.S:2
2       lwp_kill.S: No such file or directory.
        in lwp_kill.S
Current language:  auto
The current source language is "auto; currently asm".
(gdb) bt
#0  0x0000000800f6f158 in lwp_kill () at lwp_kill.S:2
#1  0x0000000800e03a65 in _thr_send_sig (thread=<value optimized out>, sig=0) at 
/usr/src/lib/libthread_xu/thread/thr_kern.c:99
#2  0x0000000800dfdde9 in _raise (sig=6) at /usr/src/lib/libthread_xu/thread/thr_syscalls.c:440
#3  0x0000000800feabde in abort () at /usr/src/lib/libc/../libc/stdlib/abort.c:63
#4  0x0000000800b9bfec in __gnu_cxx::__verbose_terminate_handler ()
    at 
/usr/src/gnu/lib/gcc41/libstdc++/../../../usr.bin/cc41/cc_tools/../../../../contrib/gcc-4.1/libstdc++-v3/libsupc++/vterminate.cc:97
#5  0x0000000800ba047f in __cxxabiv1::__terminate (handler=0xffffffff)
    at 
/usr/src/gnu/lib/gcc41/libstdc++/../../../usr.bin/cc41/cc_tools/../../../../contrib/gcc-4.1/libstdc++-v3/libsupc++/eh_terminate.cc:43
#6  0x0000000800ba04b5 in std::terminate ()
        at 
/usr/src/gnu/lib/gcc41/libstdc++/../../../usr.bin/cc41/cc_tools/../../../../contrib/gcc-4.1/libstdc++-v3/libsupc++/eh_terminate.cc:53
#7  0x0000000800ba0424 in __cxa_throw (obj=<value optimized out>, tinfo=<value optimized out>, 
dest=<value optimized out>)
        at 
/usr/src/gnu/lib/gcc41/libstdc++/../../../usr.bin/cc41/cc_tools/../../../../contrib/gcc-4.1/libstdc++-v3/libsupc++/eh_throw.cc:77
#8  0x00000008029fa65b in SfxApplication::InitLabelResMgr (this=0x80c24f518, 
_pLabelPrefix=0x802d26325 "ooo", _bException=true)
    at /home/ftigeot/Projects/LibreOffice/bootstrap/clone/libs-core/sfx2/source/appl/appmain.cxx:182
#9  0x00000008029eb051 in SfxApplication (this=0x80c24f518)
        at /home/ftigeot/Projects/LibreOffice/bootstrap/clone/libs-core/sfx2/source/appl/app.cxx:368
#10 0x00000008029eb11d in SfxApplication::GetOrCreate ()
        at /home/ftigeot/Projects/LibreOffice/bootstrap/clone/libs-core/sfx2/source/appl/app.cxx:297
#11 0x00000008029ecb5b in SfxGetpApp () at ../../inc/sfx2/app.hxx:329
#12 0x0000000802a4977f in SfxModule::Construct_Impl (this=0x80bcda210)
        at 
/home/ftigeot/Projects/LibreOffice/bootstrap/clone/libs-core/sfx2/source/appl/module.cxx:144
#13 0x0000000802a49bd4 in SfxModule (this=0x80bcda210, pMgrP=0x0, bDummyP=0 '\000', 
pFactoryP=0x80c25bbc8)
        at 
/home/ftigeot/Projects/LibreOffice/bootstrap/clone/libs-core/sfx2/source/appl/module.cxx:131
#14 0x000000080157f331 in ScModule (this=0x80bcda210, pFact=0x80c25bbc8)
        at /home/ftigeot/Projects/LibreOffice/bootstrap/clone/calc/sc/source/ui/app/scmod.cxx:158
#15 0x00000008015779fc in ScDLL::Init () at 
/home/ftigeot/Projects/LibreOffice/bootstrap/clone/calc/sc/source/ui/app/scdll.cxx:151
#16 0x0000000801544fef in Test (this=0x80133b390) at 
/home/ftigeot/Projects/LibreOffice/bootstrap/clone/calc/sc/qa/unit/ucalc.cxx:298
#17 0x0000000801553ee6 in CppUnit::ConcretTestFixtureFactory<(anonymous 
namespace)::Test>::makeFixture (this=0x7fffffffc790)
        at 
/home/ftigeot/Projects/LibreOffice/bootstrap/solver/330/unxdflyx3.pro/inc/cppunit/extensions/TestFixtureFactory.h:41
#18 0x00000008006a3c24 in CppUnit::TestSuiteBuilderContextBase::makeTestFixture() const ()
        from 
/home/ftigeot/Projects/LibreOffice/bootstrap/solver/330/unxdflyx3.pro/lib/libcppunit-1.12.so.1
#19 0x000000080154afcb in CppUnit::TestSuiteBuilderContext<(anonymous 
namespace)::Test>::makeFixture (this=0x7fffffffc4e0)
        at 
/home/ftigeot/Projects/LibreOffice/bootstrap/solver/330/unxdflyx3.pro/inc/cppunit/extensions/TestSuiteBuilderContext.h:118
#20 0x000000080154b0d0 in (anonymous namespace)::Test::addTestsToSuite (baseContext=...)
        at /home/ftigeot/Projects/LibreOffice/bootstrap/clone/calc/sc/qa/unit/ucalc.cxx:251
#21 0x000000080154c03f in (anonymous namespace)::Test::suite ()
        at /home/ftigeot/Projects/LibreOffice/bootstrap/clone/calc/sc/qa/unit/ucalc.cxx:261
#22 0x000000080154c0ff in CppUnit::TestSuiteFactory<(anonymous namespace)::Test>::makeTest 
(this=0x802221848)
    at 
/home/ftigeot/Projects/LibreOffice/bootstrap/solver/330/unxdflyx3.pro/inc/cppunit/extensions/TestSuiteFactory.h:20
#23 0x0000000800694e9d in CppUnit::TestFactoryRegistry::addTestToSuite(CppUnit::TestSuite*) ()
        from 
/home/ftigeot/Projects/LibreOffice/bootstrap/solver/330/unxdflyx3.pro/lib/libcppunit-1.12.so.1
#24 0x0000000800694f35 in CppUnit::TestFactoryRegistry::makeTest() ()
        from 
/home/ftigeot/Projects/LibreOffice/bootstrap/solver/330/unxdflyx3.pro/lib/libcppunit-1.12.so.1
#25 0x0000000000402d04 in sal_main ()
        at 
/home/ftigeot/Projects/LibreOffice/bootstrap/clone/ure/sal/cppunittester/cppunittester.cxx:85
#26 0x000000000040308a in main (argc=9, argv=0x7fffffffcbe8)
        at 
/home/ftigeot/Projects/LibreOffice/bootstrap/clone/ure/sal/cppunittester/cppunittester.cxx:52
(gdb) 

-- 
Francois Tigeot

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.