libreoffice-5-0 failure in [ CUT ] libreofficekit_tiledrendering
Lionel Elie Mamane
lionel at mamane.lu
Wed Jun 3 05:54:45 PDT 2015
On Wed, Jun 03, 2015 at 10:11:55AM +0200, Miklos Vajna wrote:
> On Tue, Jun 02, 2015 at 03:23:27PM +0200, Lionel Elie Mamane <lionel at mamane.lu> wrote:
>> FWIW, the libreoffice-5-0 reproducibly fails the
>> libreofficekit_tiledrendering unittest with a segfault for me, while
>> master passes it. I use the same autogen.input for both.
> What are those autogen.input options? Can you follow the instructions of
> the failed test and get a backtrace?
Both are attached. To me the backtrace looks unrelated to "tile
rendering", but then this is the only failing thing in a
make check -k
--
Lionel
-------------- next part --------------
--enable-hardlink-deliver
--prefix=/home/master/src/libreoffice/usr-master
--with-linked-git=/home/master/src/libreoffice/repos
--with-external-tar=/home/master/src/libreoffice/repos/src
--enable-debug
--enable-dbgutil
--enable-crashdump
--enable-dependency-tracking
--with-system-libs
--with-system-headers
--with-build-version=(LEM development build)
--with-lang=fr de nl en-GB
##--without-system-jars
# LibreOffice build system is b0rken wrt to the Debian system lpsolve.
# The Debian LibreOffice package patches it, but just give up here.
--without-system-lpsolve
# system one conflicts with --enable-dbgutil
--without-system-libcmis
--without-system-cppunit
--without-system-orcus
--without-system-graphite
--without-system-mysql-cppconn
--without-system-libgltf
# end of: system one conflicts with --enable-dbgutil
--enable-ext-mariadb-connector
#--without-system-mariadb
--enable-extension-integration
# major headache; unused now on Unix anyway, I think
##--without-system-nss
--enable-evolution2
--enable-lockdown
--enable-tdeab
--enable-ext-watch-window
--enable-ext-wiki-publisher
--enable-ext-validator
--enable-ext-typo
--enable-ext-numbertext
--enable-ext-ct2n
--enable-ext-nlpsolver
--enable-ext-diagram
--enable-ext-google-docs
--enable-ext-hunart
--enable-ext-barcode
--enable-ext-languagetool
--enable-python=system
--with-help
--enable-gstreamer-1-0
--disable-gstreamer-0-10
## build fails. Too old/new in Debian?
--without-system-glm
--without-system-coinmp
# not packaged in Debian yet
# too old in Debian
--without-system-libwps
-------------- next part --------------
[ CUT ] libreofficekit_tiledrendering
Bootstrapping exception 'missing whitespace before attribute in file:///home/master/src/libreoffice/workdirs/libreoffice-5-0/workdir/unittest/user/extensions/bundled/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/common_.rdb'
Segmentation fault (core dumped)
It looks like /home/master/src/libreoffice/workdirs/libreoffice-5-0/workdir/LinkTarget/Executable/cppunittester generated a core file at /home/master/src/libreoffice/workdirs/libreoffice-5-0/workdir/CppunitTest/libreofficekit_tiledrendering.test.core/core
Backtraces:
[New LWP 20265]
[New LWP 20266]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/home/master/src/libreoffice/workdirs/libreoffice-5-0/workdir/LinkTarget/Execut'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00002afb97b7b0bd in Application::GetSolarMutex () at /home/master/src/libreoffice/workdirs/libreoffice-5-0/vcl/source/app/svapp.cxx:399
399 return *(pSVData->mpDefInst->GetYieldMutex());
Thread 2 (Thread 0x2afb919a0700 (LWP 20266)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
No locals.
#1 0x00002afb9031c261 in rtl_cache_wsupdate_wait (seconds=seconds at entry=10) at /home/master/src/libreoffice/workdirs/libreoffice-5-0/sal/rtl/alloc_cache.cxx:1361
now = {
tv_sec = 1433335809,
tv_usec = 608181
}
wakeup = {
tv_sec = 1433335819,
tv_nsec = 608181000
}
#2 0x00002afb9031c45f in rtl_cache_wsupdate_all (arg=0xa) at /home/master/src/libreoffice/workdirs/libreoffice-5-0/sal/rtl/alloc_cache.cxx:1509
seconds = 10
#3 0x00002afb913830a4 in start_thread (arg=0x2afb919a0700) at pthread_create.c:309
__res = <optimized out>
pd = 0x2afb919a0700
now = <optimized out>
unwind_buf = {
cancel_jmp_buf = {{
jmp_buf = {47259967948544, 2451338464716412314, 0, 47259941044320, 0, 47259967948544, 8643468075639526810, 8643468889427432858},
mask_was_saved = 0
}},
priv = {
pad = {0x0, 0x0, 0x0, 0x0},
data = {
prev = 0x0,
cleanup = 0x0,
canceltype = 0
}
}
}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#4 0x00002afb90eb404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.
Thread 1 (Thread 0x2afb8fe1eb80 (LWP 20265)):
#0 0x00002afb97b7b0bd in Application::GetSolarMutex () at /home/master/src/libreoffice/workdirs/libreoffice-5-0/vcl/source/app/svapp.cxx:399
pSVData = 0x2afb984b3ac0 <rtl::Static<ImplSVData, (anonymous namespace)::private_aImplSVData>::get()::instance>
#1 0x00002afb97b8159f in ImplGetDefaultWindow () at /home/master/src/libreoffice/workdirs/libreoffice-5-0/vcl/source/app/svdata.cxx:131
pSVData = 0x2afb984b3ac0 <rtl::Static<ImplSVData, (anonymous namespace)::private_aImplSVData>::get()::instance>
#2 0x00002afb97b7c84d in Application::PostUserEvent (rLink=..., pCaller=pCaller at entry=0x0, bReferenceLink=bReferenceLink at entry=false) at /home/master/src/libreoffice/workdirs/libreoffice-5-0/vcl/source/app/svapp.cxx:918
pSVEvent = 0x1fa6e40
__PRETTY_FUNCTION__ = "static ImplSVEvent* Application::PostUserEvent(const Link<>&, void*, bool)"
pDefWindow = <optimized out>
#3 0x00002afb97b7b08c in Application::Quit () at /home/master/src/libreoffice/workdirs/libreoffice-5-0/vcl/source/app/svapp.cxx:393
No locals.
#4 0x00002afb91e53794 in lo_destroy (pThis=0x1f9dec0) at /home/master/src/libreoffice/workdirs/libreoffice-5-0/desktop/source/lib/init.cxx:1063
pLib = 0x1f9dec0
#5 0x00002afb91e536a0 in libreofficekit_hook_2 (install_path=install_path at entry=0x1f3c3a8 "/home/master/src/libreoffice/workdirs/libreoffice-5-0/instdir/program", user_profile_path=user_profile_path at entry=0x0) at /home/master/src/libreoffice/workdirs/libreoffice-5-0/desktop/source/lib/init.cxx:1038
No locals.
#6 0x00002afb91baa757 in lok_init_2 (install_path=install_path at entry=0x1f3c3a8 "/home/master/src/libreoffice/workdirs/libreoffice-5-0/instdir/program", user_profile_path=user_profile_path at entry=0x0) at /home/master/src/libreoffice/workdirs/libreoffice-5-0/include/LibreOfficeKit/LibreOfficeKitInit.h:235
imp_lib = 0x1f3cab0 "\340\312\363\001"
dlhandle = 0x1f3cb80
pSym = <optimized out>
pSym2 = 0x2afb91e535ca <libreofficekit_hook_2(char const*, char const*)>
partial_length = 70
#7 0x00002afb91bac381 in lok::lok_cpp_init (pInstallPath=0x1f3c3a8 "/home/master/src/libreoffice/workdirs/libreoffice-5-0/instdir/program", pUserProfilePath=pUserProfilePath at entry=0x0) at /home/master/src/libreoffice/workdirs/libreoffice-5-0/include/LibreOfficeKit/LibreOfficeKit.hxx:289
pThis = <optimized out>
#8 0x00002afb91baaa7d in TiledRenderingTest::runAllTests (this=0x1f3c2a0) at /home/master/src/libreoffice/workdirs/libreoffice-5-0/libreofficekit/qa/unit/tiledrendering.cxx:88
pWorkdirRoot = 0x7ffffb5466f9 "/home/master/src/libreoffice/workdirs/libreoffice-5-0/workdir"
aWorkdirRootPath = "/home/master/src/libreoffice/workdirs/libreoffice-5-0/workdir"
aWorkdirRootURL = "file:///home/master/src/libreoffice/workdirs/libreoffice-5-0/workdir/"
sUserInstallURL = "file:///home/master/src/libreoffice/workdirs/libreoffice-5-0/workdir//unittest"
pOffice = boost::scoped_ptr {
mpThis = 0x5f6e6f6d675f5f00
}
#9 0x00002afb91baf80c in CppUnit::TestCaller<TiledRenderingTest>::runTest (this=0x1f3c430) at /home/master/src/libreoffice/workdirs/libreoffice-5-0/workdir/UnpackedTarball/cppunit/include/cppunit/TestCaller.h:166
No locals.
#10 0x00002afb900a1204 in CppUnit::TestCaseMethodFunctor::operator() (this=0x7ffffb53b760) at TestCase.cpp:32
No locals.
#11 0x00002afb9008aeb6 in CppUnit::DefaultProtector::protect (this=0x1f391c0, functor=..., context=...) at DefaultProtector.cpp:15
No locals.
#12 0x00002afb90099171 in CppUnit::ProtectorChain::ProtectFunctor::operator() (this=0x1f3c0d0) at ProtectorChain.cpp:20
No locals.
#13 0x00002afb9009901d in CppUnit::ProtectorChain::protect (this=0x1f38ee0, functor=..., context=...) at ProtectorChain.cpp:77
functors = std::__debug::deque with 1 elements = {0x1f3c0d0}
outermostFunctor = @0x1f3c0d0: {
_vptr.Functor = 0x2afb902f5270 <vtable for CppUnit::ProtectorChain::ProtectFunctor+16>
}
succeed = false
#14 0x00002afb900afada in CppUnit::TestResult::protect (this=0x7ffffb53bd70, functor=..., test=0x1f3c430, shortDescription="") at TestResult.cpp:181
context = {
m_test = 0x1f3c430,
m_result = 0x7ffffb53bd70,
m_shortDescription = ""
}
#15 0x00002afb900a0c6e in CppUnit::TestCase::run (this=0x1f3c430, result=0x7ffffb53bd70) at TestCase.cpp:92
No locals.
#16 0x00002afb900a1a86 in CppUnit::TestComposite::doRunChildTests (this=0x1f3c1c0, controller=0x7ffffb53bd70) at TestComposite.cpp:64
index = 0
childCount = 1
#17 0x00002afb900a1908 in CppUnit::TestComposite::run (this=0x1f3c1c0, result=0x7ffffb53bd70) at TestComposite.cpp:23
No locals.
#18 0x00002afb900a1a86 in CppUnit::TestComposite::doRunChildTests (this=0x1f3c100, controller=0x7ffffb53bd70) at TestComposite.cpp:64
index = 0
childCount = 1
#19 0x00002afb900a1908 in CppUnit::TestComposite::run (this=0x1f3c100, result=0x7ffffb53bd70) at TestComposite.cpp:23
No locals.
#20 0x00002afb900b6718 in CppUnit::TestRunner::WrappingSuite::run (this=0x1f3c080, result=0x7ffffb53bd70) at TestRunner.cpp:47
No locals.
#21 0x00002afb900af7e6 in CppUnit::TestResult::runTest (this=0x7ffffb53bd70, test=0x1f3c080) at TestResult.cpp:148
No locals.
#22 0x00002afb900b697a in CppUnit::TestRunner::run (this=0x7ffffb53ba40, controller=..., testPath="") at TestRunner.cpp:96
path = {
_vptr.TestPath = 0x2afb902f5ec0 <vtable for CppUnit::TestPath+16>,
m_tests = std::__debug::deque with 1 elements = {0x1f3c080}
}
testToRun = 0x1f3c080
#23 0x0000000000407883 in (anonymous namespace)::ProtectedFixtureFunctor::run (this=this at entry=0x7ffffb53bd00) at /home/master/src/libreoffice/workdirs/libreoffice-5-0/sal/cppunittester/cppunittester.cxx:276
collector = {
<CppUnit::TestSuccessListener> = {
<CppUnit::TestListener> = {
_vptr.TestListener = 0x2afb902f63a0 <vtable for CppUnit::TestResultCollector+16>
},
<CppUnit::SynchronizedObject> = {
_vptr.SynchronizedObject = 0x2afb902f6438 <vtable for CppUnit::TestResultCollector+168>,
m_syncObject = 0x1f3a0c0
},
members of CppUnit::TestSuccessListener:
m_success = true
},
members of CppUnit::TestResultCollector:
m_tests = std::__debug::deque with 1 elements = {0x1f3c430},
m_failures = std::__debug::deque with 0 elements,
m_testErrors = 0
}
logger = {
<CppUnit::TestListener> = {
_vptr.TestListener = 0x61d078 <vtable for (anonymous namespace)::LogFailuresAsTheyHappen+16>
}, <No data fields>}
eye = {
<CppUnit::TestListener> = {
_vptr.TestListener = 0x61d0d0 <vtable for (anonymous namespace)::EyecatcherListener+16>
},
<boost::noncopyable_::noncopyable> = {<No data fields>}, <No data fields>}
lib = "libtest_libreofficekit_tiledrendering.so"
runner = {
_vptr.TestRunner = 0x2afb902f6598 <vtable for CppUnit::TestRunner+16>,
m_suite = 0x1f3c080
}
pVal = 0x0
outputter = {
<CppUnit::Outputter> = {
_vptr.Outputter = 0x0
},
members of CppUnit::CompilerOutputter:
m_result = 0x0,
m_stream = @0x7ffffb53bb20,
m_locationFormat = "H\211\305d\213\004%\030\000\000\000\205\300\017\205\246\000\000\000d\213\004%L\000\000\000\205\300tJdD\211$%L\000\000\000H\213t$\030H\205\366tWH\205\355tZH\213E\000\017\266V\004H\003F\b\203\342\017\200\372\n\017\204\264\000\000\000\213\025\254.!\000\205\322u\003H\211\003H\203\304 []A\\\303\017\037@\000\350;k\000\000\353\257f\017\037\204\000\000\000\000\000E1\300\351(\377\377\377\017\037\204\000\000\000\000\000\061\300\353\302\017\037@\000\061\300\353\246H\215\r[\307\000\000H\215\065@\307\000\000H\215=/\351\000\000\272O\000\000\000\350\365{\000\000L\211\310\353\202\061\300d\207\004%\034\000\000\000\203\370\002\017\205"...,
m_wrapColumn = 5
}
manager = {
_vptr.PlugInManager = 0x2afb902f5030 <vtable for CppUnit::PlugInManager+16>,
m_plugIns = std::__debug::deque with 1 elements = {{
m_fileName = "/home/master/src/libreoffice/workdirs/libreoffice-5-0/workdir/LinkTarget/CppunitTest/libtest_libreofficekit_tiledrendering.so",
m_manager = 0x1f392d0,
m_interface = 0x2afb91db38b8 <cppunitTestPlugIn::plugIn>
}}
}
success = <optimized out>
#24 0x00000000004080c9 in sal_main () at /home/master/src/libreoffice/workdirs/libreoffice-5-0/sal/cppunittester/cppunittester.cxx:379
testlib = "/home/master/src/libreoffice/workdirs/libreoffice-5-0/workdir/LinkTarget/CppunitTest/libtest_libreofficekit_tiledrendering.so"
tests = {
<CppUnit::Functor> = {
_vptr.Functor = 0x61d050 <vtable for (anonymous namespace)::ProtectedFixtureFunctor+16>
},
<boost::noncopyable_::noncopyable> = {<No data fields>},
members of (anonymous namespace)::ProtectedFixtureFunctor:
testlib = "/home/master/src/libreoffice/workdirs/libreoffice-5-0/workdir/LinkTarget/CppunitTest/libtest_libreofficekit_tiledrendering.so",
args = "/home/master/src/libreoffice/workdirs/libreoffice-5-0/workdir/LinkTarget/CppunitTest/libtest_libreofficekit_tiledrendering.so --headless",
protectors = std::__debug::vector of length 0, capacity 0,
result = @0x7ffffb53bd70
}
protectors = std::__debug::vector of length 0, capacity 0
result = {
<CppUnit::SynchronizedObject> = {
_vptr.SynchronizedObject = 0x2afb902f6178 <vtable for CppUnit::TestResult+16>,
m_syncObject = 0x1f38c60
},
members of CppUnit::TestResult:
m_listeners = std::__debug::deque with 3 elements = {0x7ffffb53bb00, 0x7ffffb53b9b0, 0x7ffffb53b9c0},
m_protectorChain = 0x1f38ee0,
m_stop = false
}
args = "/home/master/src/libreoffice/workdirs/libreoffice-5-0/workdir/LinkTarget/CppunitTest/libtest_libreofficekit_tiledrendering.so --headless"
index = 2
ok = false
#25 0x0000000000407cc1 in main (argc=6, argv=0x7ffffb53c098) at /home/master/src/libreoffice/workdirs/libreoffice-5-0/sal/cppunittester/cppunittester.cxx:297
ret = <optimized out>
Error: a unit test failed, please do one of:
export DEBUGCPPUNIT=TRUE # for exception catching
export CPPUNITTRACE="gdb --args" # for interactive debugging on Linux
export VALGRIND=memcheck # for memory checking
and retry using: make CppunitTest_libreofficekit_tiledrendering
/home/master/src/libreoffice/workdirs/libreoffice-5-0/solenv/gbuild/CppunitTest.mk:87: recipe for target '/home/master/src/libreoffice/workdirs/libreoffice-5-0/workdir/CppunitTest/libreofficekit_tiledrendering.test' failed
make[1]: *** [/home/master/src/libreoffice/workdirs/libreoffice-5-0/workdir/CppunitTest/libreofficekit_tiledrendering.test] Error 1
Makefile:148: recipe for target 'CppunitTest_libreofficekit_tiledrendering' failed
make: *** [CppunitTest_libreofficekit_tiledrendering] Error 2
More information about the LibreOffice
mailing list