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


Hi tino,

On Friday, 2012-12-14 11:26:46 +0000, tino wrote:

AFAIR you recently added the pricing functions. When running calc to test my code changes, I 
get lots of:
warn:legacy.osl:11918:1:/home/w.donkers/git/libo/tools/source/rc/resmgr.cxx:773: 
file:///home/w.donkers/git/libo/solver/unxlngi6/installation/opt/program/../program/resource/pricingen-US.res
Class: 256, Id: 0. Cannot free resource!

Thanks for the info, but I'm not sure how to debug this.

See Caolan's mail in this thread about setting a breakpoint in gdb. Note
that you need a build configured with --enable-dbgutil to see these
warnings. They are triggered as soon as the first formula cell is
entered.

Maybe someone
else can comment what "Class: 256, Id: 0" is and what a possible cause
of the warning may be? I could only guess it's something to do with
UNO as there's no dynamic allocations in the core calculations.

It's from our internal resource manager that for example loads strings
defined in .srs files, I assume it's the function names. Each
Class: 256, Id: 0. Cannot free resource!
is preceded by a

warn:legacy.osl:20465:1:/build/libo/core/tools/source/rc/resmgr.cxx:773:
file:///build/libo/core/solver/unxlngx6/installation/opt/program/../program/resource/pricingen-US.res
Class: 377, Id: 3001. Cannot load resource!

with IDs in the range 3001..3004 which would match 4 function names.

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD
Support the FSFE, care about Free Software! https://fsfe.org/support/?erack

Attachment: pgp1SVdYUTvne.pgp
Description: PGP signature


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.