[Libreoffice-bugs] [Bug 132193] Writer crashes when trying to insert symbol

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Apr 23 13:43:34 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=132193

Julien Nabet <serval2412 at yahoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #14 from Julien Nabet <serval2412 at yahoo.fr> ---
Thank you for the backtrace! Very interesting!

Taking a look at this loop here:
260  void SvxCharacterMap::updateRecentCharControl()
261  {
262      int i = 0;
263      for ( std::deque< OUString >::iterator it = maRecentCharList.begin(),
it2 = maRecentCharFontList.begin();
264          it != maRecentCharList.end() || it2 != maRecentCharFontList.end();
265          ++it, ++it2, i++)
266      {
267          m_aRecentCharView[i].SetText(*it);
268          vcl::Font rFont = m_aRecentCharView[i].GetFont();
269          rFont.SetFamilyName( *it2 );
270          m_aRecentCharView[i].SetFont(rFont);
271          m_aRecentCharView[i].Show();
272      }

(See
https://opengrok.libreoffice.org/xref/core/cui/source/dialogs/cuicharmap.cxx?r=b5bde198#260)

I think "it" variable may be equal to maRecentCharList.end() but we would stay
in the loop because it2 != maRecentCharFontList.end()

Now I must search why there would be more font in maRecentCharFontList than in
maRecentCharList.

Just to be sure, when you say "symbol" you mean "special character"?
Also do you insert a specific symbol to have the crash or do you have the crash
with any symbol? What font do you select?

Let's put this one to NEW since there's a bt.

Could you provide step by step

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200423/611d93ea/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list