additional calc functions produce warnings
Eike Rathke
erack at redhat.com
Fri Dec 14 09:31:11 PST 2012
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20121214/96291d7a/attachment.pgp>
More information about the LibreOffice
mailing list