<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Writer crashes when trying to insert symbol"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=132193">bug 132193</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>UNCONFIRMED
</td>
<td>NEW
</td>
</tr>
<tr>
<td style="text-align:right;">Ever confirmed</td>
<td>
</td>
<td>1
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Writer crashes when trying to insert symbol"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=132193#c14">Comment # 14</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Writer crashes when trying to insert symbol"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=132193">bug 132193</a>
from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
<pre>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
<a href="https://opengrok.libreoffice.org/xref/core/cui/source/dialogs/cuicharmap.cxx?r=b5bde198#260">https://opengrok.libreoffice.org/xref/core/cui/source/dialogs/cuicharmap.cxx?r=b5bde198#260</a>)
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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>