Well, the patch contains this part:
+ + // When the extents of two
ledgers at the same
+ // vertical position overlap horizontally, we merge
+ // them together to produce a single stencil. In rare
+ // cases they do not overlap and we do not merge them.
+
if (lr.ledger_extents_.find (lpos) == lr.ledger_extents_.end
())
- lr.ledger_extents_[lpos] = x_extent;
+ // Found nothing for this lpos.
+ lr.ledger_extents_[lpos].push_back(x_extent);
else
- lr.ledger_extents_[lpos].unite (x_extent);
I suspect that "do not merge" here translates to "eat all memory and crash".
But I'll have to do more of an analysis to be sure.
---
** [issues:#5345] Crash with specific combination of pitch and omitted note
head**
**Status:** Accepted
**Created:** Fri Jun 15, 2018 12:11 AM UTC by Simon Albrecht
**Last Updated:** Fri Jun 15, 2018 09:33 AM UTC
**Owner:** nobody
Reported by Lukas-Fabian Moser [in this
thread](http://lists.gnu.org/archive/html/lilypond-user/2018-06/msg00222.html)
with the following minimal example:
WARNING: Only test with appropriate configuration of ulimit, see the e-mail
exchange.
~~~~
:::TeX
\version "2.19.80"
\new Staff <<
{
\clef bass
e,4
}
{
\omit NoteHead
e,4
}
>>
~~~~
Lukas says:
> Everything here (except the \version) seems to be necessary. I can reproduce
> the crash with some other configurations as well (another pitch in tenor
> clef, for instance), but removing any single command seems to resolve the
> problem. Also, putting each "voice" into a regular \new Voice (as in Harm's
> proposal) makes the problem disappear. Just as taking f, instead of e, for
> the pitch does (which could point to ledger lines).
David K. says the problem appears to be in the page builder.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is
a mailing list, you can unsubscribe from the mailing list.------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto