Hi Kohei,

> > Likely aRefStr isn't interned, but only constructed from an OUString.
> 
> Yup, and what I used to do in a case like this was to insert a printf
> statement in that constructor of SharedString (the one that only takes
> OUString) to see if anybody is calling it.  If somebody is calling it, set
> a break point there and you'll find the culprit.
> 
> One likely scenario is where someone is passing a OUString value to a
> function that expects a SharedString.

That is the case indeed, I found the culprit late yesterday.
Thanks for your suggestion. I use a lot of SAL_DEBUG for traces as it is often 
much faster than gdb, but this time gdb provide the clue for me.

Winfried
_______________________________________________
LibreOffice mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to