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


Hello,

On pc Debian x86-64 with master sources updated today, I noticed this on
console:
warn:legacy.osl:22303:1:unotools/source/config/configmgr.cxx:173:
OSL_ASSERT: items_.empty()

I think it's quite old but I would like to tackle this.
I made some debug and found that it was "Setup/L10N"
It's created there: 
http://opengrok.libreoffice.org/xref/core/unotools/source/config/syslocaleoptions.cxx#513
and it seems there's a refcount pb when adding some logs in ctr and destr of
SvtSysLocaleOptions

http://opengrok.libreoffice.org/search?q=holdConfigItem&project=core&defs=&refs=&path=unotools%2F&hist=
shows that some initializing elements use refcount, some use
std::unique_ptr, some std::shared_ptr
Also, the way to deal with multithreads/mutex is also different depending on
cases

Any idea what right rules to follow?

Julien



--
View this message in context: 
http://nabble.documentfoundation.org/OSL-ASSERT-items-empty-because-of-Setup-L10N-tp4199284.html
Sent from the Dev mailing list archive at Nabble.com.

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.