A similar crash has been reported on -user-fr, which I was able to trim down to 
the minimal example below (commenting any line solves the bug). Interestingly 
though, this one’s reproducible even on GNU/Linux. (Whereas the previous 
snippets in this ticket do not.)

~~~
\version "2.19.80"
% 2.18.2 doesn’t crash, whilst 2.21.0 still does.

\header { title = "foo bar" }

{
  \pageBreak
  c'1 \break
  c' \break
  \repeat unfold 4 c'
}
~~~

Here’s the log on GNU/Linux:
~~~
page-breaking.cc:1052: void Page_breaking::line_divisions_rec(vsize, const 
Line_division&, const Line_division&, Page_breaking::Line_division*): Assertion 
`my_index == 0' failed.
Aborted (core dumped)
~~~
See also the attached Windows screenshot, which looks a lot like what had 
previously been reported.


Attachments:

- [Capture 
Frescobaldi-Lilypond.JPG](https://sourceforge.net/p/testlilyissues/issues/_discuss/thread/f2771a57/b3ae/attachment/Capture%20Frescobaldi-Lilypond.JPG)
 (54.1 kB; image/jpeg)


---

** [issues:#4943] Manual page breaking causing assertion failure using Windows**

**Status:** Accepted
**Created:** Sat Jul 23, 2016 10:51 AM UTC by pkx166h
**Last Updated:** Tue Sep 27, 2016 09:03 AM UTC
**Owner:** nobody
**Attachments:**

- 
[AssertionFailing.ly](https://sourceforge.net/p/testlilyissues/issues/4943/attachment/AssertionFailing.ly)
 (1.1 kB; text/x-lilypond)


On Sat, 9 Jan 2016 at 09:55 Chris Yate <[email protected]> wrote:

> So, it turns out this was easy to minimise the code. File is attached.
> It's still ~70 bars but only one voice, which is the dynamics staff of a
> piano score (without anything else), so it's only silent music.
>
> "AutoPageBreaksOff" in the score block causes the exception failure.
>
> I note some "insane spring distance" warnings.These don't happen in the
> real thing.
>
> Chris



Note: According to Phil H's own tests: "This started in 2.19.21.  2.19.20 is 
OK."


---

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.
_______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto

Reply via email to