sc filter test failures

Riccardo Magliocchetti riccardo.magliocchetti at gmail.com
Mon May 28 13:49:56 PDT 2012


Hi Markus,

Il 28/05/2012 22:30, Markus Mohrhard ha scritto:
> Hey,
> 
> The problem is --disable-xmlsec. You should not specify this flag as
> long as you plan to build on a normal platform. Behind xmlsec are also
> all our password related libraries so you can't open password
> protected documents. This option makes only sense for platforms where
> we don't yet support them.

Cool thanks, building without that right now.

BTW screen(1) ate my terminal buffer and memcheck was actually reporting these:

==27901== Invalid read of size 4
==27901==    at 0x13B030C8: FcConfigFileExists (fccfg.c:1671)
==27901==    by 0x13B18A15: FcConfigParseAndLoad (fcxml.c:2459)
==27901==    by 0x13B18E77: FcConfigParseAndLoad (fcxml.c:2427)
==27901==    by 0x13B190FD: FcEndElement (fcxml.c:1624)
==27901==    by 0x156858E4: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==27901==    by 0x1568677D: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==27901==    by 0x156832E1: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==27901==    by 0x15684E6A: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==27901==    by 0x156886E1: XML_ParseBuffer (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==27901==    by 0x13B18B70: FcConfigParseAndLoad (fcxml.c:2541)
==27901==    by 0x13B0E156: FcInitLoadConfig (fcinit.c:67)
==27901==    by 0x13B0E245: FcInitLoadConfigAndFonts (fcinit.c:101)
==27901==    by 0x13B0E464: FcInit (fcinit.c:124)
==27901==    by 0x10360D24: FontCfgWrapper::FontCfgWrapper() (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libvcllo.so)
==27901==    by 0x10360DC4: FontCfgWrapper::get() (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libvcllo.so)
==27901==    by 0x1036FF93: psp::PrintFontManager::initialize() (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libvcllo.so)
==27901==    by 0x1036B606: psp::PrintFontManager::get() (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libvcllo.so)
==27901==    by 0x17C3BAFA: SvpSalGraphics::GetDevFontList(ImplDevFontList*) (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libvclplug_svplo.so)
==27901==    by 0x101B6EF8: OutputDevice::ImplInitFontList() const (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libvcllo.so)
==27901==    by 0x101C0979: OutputDevice::ImplNewFont() const (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libvcllo.so)
==27901==    by 0x101C31A4: OutputDevice::GetTextHeight() const (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libvcllo.so)
==27901==    by 0xC1CA851: ScGlobal::InitTextHeight(SfxItemPool*) (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libsclo.so)
==27901==    by 0xC40AF83: ScModule::ScModule(SfxObjectFactory*) (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libsclo.so)
==27901==    by 0xC404A5C: ScDLL::Init() (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libsclo.so)
==27901==    by 0xC683AB2: ScDocument_createInstance(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&, unsigned long) (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libsclo.so)
==27901==    by 0xCF67D7D: sfx2::SfxModelFactory::createInstanceWithArguments(com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&) (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libsfxlo.so)
==27901==    by 0xCF67B1A: sfx2::SfxModelFactory::createInstance() (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libsfxlo.so)
==27901==    by 0x6DC4611: (anonymous namespace)::ServiceManager::createInstanceWithContext(rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&) (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libuno_cppuhelpergcc3.so.3)
==27901==    by 0x6DBE383: (anonymous namespace)::ServiceManager::createInstance(rtl::OUString const&) (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libuno_cppuhelpergcc3.so.3)

==27901== Conditional jump or move depends on uninitialised value(s)
==27901==    at 0x13380510: inflateReset2 (inflate.c:157)
==27901==    by 0x13380605: inflateInit2_ (inflate.c:193)
==27901==    by 0x1BFA324B: ZipUtils::Inflater::Inflater(unsigned char) (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libpackage2.so)
==27901==    by 0x1BFA58E8: XUnbufferedStream::XUnbufferedStream(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&, SotMutexHolderRef, ZipEntry&, com::sun::star::uno::Reference<com::sun::star::io::XInputStream>, rtl::Reference<EncryptionData> const&, signed char, unsigned char, rtl::OUString const&, unsigned char) (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libpackage2.so)
==27901==    by 0x1BFA67B0: ZipFile::createUnbufferedStream(SotMutexHolderRef, ZipEntry&, rtl::Reference<EncryptionData> const&, signed char, unsigned char, rtl::OUString) (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libpackage2.so)
==27901==    by 0x1BFA9DEF: ZipFile::getDataStream(ZipEntry&, rtl::Reference<EncryptionData> const&, unsigned char, SotMutexHolderRef) (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libpackage2.so)
==27901==    by 0x1BFD9DFC: ZipPackageStream::getDataStream() (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libpackage2.so)
==27901==    by 0x1ADE03ED: OWriteStream_Impl::GetStream_Impl(int, unsigned char) (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libxstor.so)
==27901==    by 0x1ADE5BBE: OWriteStream_Impl::GetStream(int, unsigned char) (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libxstor.so)
==27901==    by 0x1AE0E4DD: OStorage::openStreamElement(rtl::OUString const&, int) (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libxstor.so)
==27901==    by 0xB5A17CE: oox::ZipStorage::implOpenInputStream(rtl::OUString const&) (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libooxlo.so)
==27901==    by 0xB59F6D3: oox::StorageBase::openInputStream(rtl::OUString const&) (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libooxlo.so)
==27901==    by 0xB59F613: oox::StorageBase::openInputStream(rtl::OUString const&) (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libooxlo.so)
==27901==    by 0xB3A10D3: oox::core::FilterBase::openInputStream(rtl::OUString const&) const (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libooxlo.so)
==27901==    by 0xB3AF4C9: oox::core::FragmentHandler::openFragmentStream() const (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libooxlo.so)
==27901==    by 0xB3B4299: oox::core::XmlFilterBase::importFragment(rtl::Reference<oox::core::FragmentHandler> const&) (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libooxlo.so)
==27901==    by 0xB3B9CC6: oox::core::XmlFilterBase::importRelations(rtl::OUString const&) (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libooxlo.so)
==27901==    by 0xB3B9E8E: oox::core::XmlFilterBase::getFragmentPathFromFirstType(rtl::OUString const&) (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libooxlo.so)
==27901==    by 0x1B2C676C: oox::xls::ExcelFilter::importDocument() (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libscfiltlo.so)
==27901==    by 0xB3A41FC: oox::core::FilterBase::filter(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libooxlo.so)
==27901==    by 0x1B2C6A85: oox::xls::ExcelFilter::filter(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libscfiltlo.so)
==27901==    by 0xCF0F726: SfxObjectShell::ImportFrom(SfxMedium&, bool) (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libsfxlo.so)
==27901==    by 0xCF0C34E: SfxObjectShell::DoLoad(SfxMedium*) (in /home/rm/src/libo2/solver/unxlngx6.pro/lib/libsfxlo.so)
==27901==    by 0x989CA63: ScFiltersTest::load(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, unsigned long) (in /home/rm/src/libo2/workdir/unxlngx6.pro/LinkTarget/CppunitTest/libtest_sc_subsequent_filters_test.so)
==27901==    by 0x989E148: ScFiltersTest::loadDoc(rtl::OUString const&, int) (in /home/rm/src/libo2/workdir/unxlngx6.pro/LinkTarget/CppunitTest/libtest_sc_subsequent_filters_test.so)
==27901==    by 0x989FE3E: ScFiltersTest::testRangeNameXLSX() (in /home/rm/src/libo2/workdir/unxlngx6.pro/LinkTarget/CppunitTest/libtest_sc_subsequent_filters_test.so)

thanks,
riccardo


More information about the LibreOffice mailing list