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


Hi there,

        Digging through the string logs, trying to make sense of the extremely
intense thrash around this SINGLETON/ stuff, I was curious to get rather
deep stacks, cf. appended trace.

        AFAICS the purpose of this code is mostly to turn a pretty simple,
pretty flat XML structure, into a simple list of singletons that we can
then whack into a hash table somewhere else.

        Is all this heavy-lifting really necessary for that ? it seems just a
little intense :-)

        I'm also curious if the performance issue here (this code features
reasonably high on a startup profile IIRC) might be related to the
multiple '.rdb' file code (?).

        Thanks,

                Michael.

#0  __fscanf (stream=0xb7dbd580, format=0xb7fbe2d7 "") at fscanf.c:27
#1  0xb7fb0d56 in rtl_uStringBuffer_makeStringAndClear () from 
/data/opt/OOInstall/program/../ure-link/lib/libuno_sal.so.3
#2  0xb43ccf05 in rtl::OUStringBuffer::makeStringAndClear (this=0xbfffe3f4)
    at /data/opt/libreoffice/master/solver/unxlngi6.pro/inc/rtl/ustrbuf.hxx:186
#3  0xb441203f in stoc::simpleregistry::(anonymous namespace)::pathToString (path=...)
    at /data/opt/libreoffice/master/stoc/source/simpleregistry/textualservices.cxx:430
#4  0xb4413d4b in stoc::simpleregistry::(anonymous namespace)::Key::getResolvedName 
(this=0x8078f98, 
    aKeyName="/SINGLETONS/com.sun.star.configuration.ReadOnlyAccess")
    at /data/opt/libreoffice/master/stoc/source/simpleregistry/textualservices.cxx:963
#5  0xb441a9c2 in stoc_defreg::NestedKeyImpl::computeName (this=0x80824e8, 
name="/SINGLETONS/com.sun.star.configuration.ReadOnlyAccess")
    at /data/opt/libreoffice/master/stoc/source/defaultregistry/defaultregistry.cxx:272
#6  0xb441ef16 in stoc_defreg::NestedKeyImpl::getResolvedName (this=0x80824e8, 
aKeyName="/SINGLETONS/com.sun.star.configuration.ReadOnlyAccess")
    at /data/opt/libreoffice/master/stoc/source/defaultregistry/defaultregistry.cxx:1113
#7  0xb441a9c2 in stoc_defreg::NestedKeyImpl::computeName (this=0x8082620, 
name="/SINGLETONS/com.sun.star.configuration.ReadOnlyAccess")
    at /data/opt/libreoffice/master/stoc/source/defaultregistry/defaultregistry.cxx:272
#8  0xb441ef16 in stoc_defreg::NestedKeyImpl::getResolvedName (this=0x8082620, 
aKeyName="/SINGLETONS/com.sun.star.configuration.ReadOnlyAccess")
    at /data/opt/libreoffice/master/stoc/source/defaultregistry/defaultregistry.cxx:1113
#9  0xb441a9c2 in stoc_defreg::NestedKeyImpl::computeName (this=0x8082230, 
name="/SINGLETONS/com.sun.star.configuration.ReadOnlyAccess")
    at /data/opt/libreoffice/master/stoc/source/defaultregistry/defaultregistry.cxx:272
#10 0xb441ef16 in stoc_defreg::NestedKeyImpl::getResolvedName (this=0x8082230, 
aKeyName="/SINGLETONS/com.sun.star.configuration.ReadOnlyAccess")
    at /data/opt/libreoffice/master/stoc/source/defaultregistry/defaultregistry.cxx:1113
#11 0xb441a9c2 in stoc_defreg::NestedKeyImpl::computeName (this=0x8082190, 
name="/SINGLETONS/com.sun.star.configuration.ReadOnlyAccess")
    at /data/opt/libreoffice/master/stoc/source/defaultregistry/defaultregistry.cxx:272
#12 0xb441ef16 in stoc_defreg::NestedKeyImpl::getResolvedName (this=0x8082190, 
aKeyName="/SINGLETONS/com.sun.star.configuration.ReadOnlyAccess")
    at /data/opt/libreoffice/master/stoc/source/defaultregistry/defaultregistry.cxx:1113
#13 0xb441a9c2 in stoc_defreg::NestedKeyImpl::computeName (this=0x8082128, 
name="/SINGLETONS/com.sun.star.configuration.ReadOnlyAccess")
    at /data/opt/libreoffice/master/stoc/source/defaultregistry/defaultregistry.cxx:272
#14 0xb441ef16 in stoc_defreg::NestedKeyImpl::getResolvedName (this=0x8082128, 
aKeyName="/SINGLETONS/com.sun.star.configuration.ReadOnlyAccess")
    at /data/opt/libreoffice/master/stoc/source/defaultregistry/defaultregistry.cxx:1113
#15 0xb441a9c2 in stoc_defreg::NestedKeyImpl::computeName (this=0x8081928, 
name="/SINGLETONS/com.sun.star.configuration.ReadOnlyAccess")
    at /data/opt/libreoffice/master/stoc/source/defaultregistry/defaultregistry.cxx:272
#16 0xb441ef16 in stoc_defreg::NestedKeyImpl::getResolvedName (this=0x8081928, 
aKeyName="/SINGLETONS/com.sun.star.configuration.ReadOnlyAccess")
    at /data/opt/libreoffice/master/stoc/source/defaultregistry/defaultregistry.cxx:1113
#17 0xb441a9c2 in stoc_defreg::NestedKeyImpl::computeName (this=0x80821f8, 
name="/SINGLETONS/com.sun.star.configuration.ReadOnlyAccess")
    at /data/opt/libreoffice/master/stoc/source/defaultregistry/defaultregistry.cxx:272
#18 0xb441ef16 in stoc_defreg::NestedKeyImpl::getResolvedName (this=0x80821f8, 
aKeyName="/SINGLETONS/com.sun.star.configuration.ReadOnlyAccess")
    at /data/opt/libreoffice/master/stoc/source/defaultregistry/defaultregistry.cxx:1113
#19 0xb441a9c2 in stoc_defreg::NestedKeyImpl::computeName (this=0x80e42d8, 
name="/SINGLETONS/com.sun.star.configuration.ReadOnlyAccess")
    at /data/opt/libreoffice/master/stoc/source/defaultregistry/defaultregistry.cxx:272
#20 0xb441c9cb in stoc_defreg::NestedKeyImpl::openKey (this=0x80e42d8, 
aKeyName="/SINGLETONS/com.sun.star.configuration.ReadOnlyAccess")
    at /data/opt/libreoffice/master/stoc/source/defaultregistry/defaultregistry.cxx:684
#21 0xb441cab0 in stoc_defreg::NestedKeyImpl::openKey (this=0x8079a78, 
aKeyName="/com.sun.star.configuration.ReadOnlyAccess")
    at /data/opt/libreoffice/master/stoc/source/defaultregistry/defaultregistry.cxx:693
#22 0xb441a4f4 in stoc_defreg::NestedKeyImpl::NestedKeyImpl (this=0x8082298, 
rKeyName="/com.sun.star.configuration.ReadOnlyAccess", pKey=
    0x80826f0) at /data/opt/libreoffice/master/stoc/source/defaultregistry/defaultregistry.cxx:215
#23 0xb441d9b0 in stoc_defreg::NestedKeyImpl::openKeys (this=0x80826f0)
    at /data/opt/libreoffice/master/stoc/source/defaultregistry/defaultregistry.cxx:852
#24 0xb7a7366d in ?? () from /data/opt/OOInstall/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3

-- 
michael.meeks@suse.com  <><, Pseudo Engineer, itinerant idiot


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.