In case anyone here is interested (perhaps Ralph), a Minimal not-Working Example I've sent to the bugs list.
---------- Forwarded message ---------- From: Chris Yate <chrisy...@gmail.com> Date: 9 January 2016 at 09:55 Subject: Re: Manual page breaking causing assertion failure To: tisimst <tisimst.lilyp...@gmail.com> Cc: bug-lilyp...@gnu.org 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 On 9 January 2016 at 09:05, Chris Yate <chrisy...@gmail.com> wrote: > Yes I understand a minimal example is ideal, but I don't think this would > occur with minimal code. I'll run a couple of tests to check. > > Chris > On 9 Jan 2016 4:33 am, "Abraham Lee" <tisimst.lilyp...@gmail.com> wrote: > >> Chris, >> >> Sorry, I didn't mean to have you send _me_ your code (typing error). Is >> your code that big that you can't reduce it down towards a "tiny example"? >> If you can, that'd be best. Otherwise, if a single file, just attach the >> file to an email. If a group of files, then a .zip folder would be fine. >> I've seen others share code via gist or github, etc. Take your pick I guess. >> >> Best, >> Abraham >> >> On Friday, January 8, 2016, Chris Yate <chrisy...@gmail.com> wrote: >> >>> Hi, and thanks. >>> >>> How would be best to give you the code? I could attach as a .zip to a >>> list email, or upload to a gist. >>> >>> (Please note, I'm using openlilylib, minimally, which I doubt has >>> anything to do with the bug but is a dependency) >>> Forwarding to the bug list. Yes, if I'd make your code available to the >>> developers. >>> >>> Best, >>> Abraham >>> >>> ---------- Forwarded message ---------- >>> From: *Chris Yate* <chrisy...@gmail.com> >>> Date: Friday, January 8, 2016 >>> Subject: Manual page breaking causing assertion failure >>> To: Lilypond-User Mailing List <lilypond-user@gnu.org> >>> >>> >>> Hi, >>> I'm trying to paginate my score nicely and the automatic paging isn't >>> good enough. So I'm doing all the page breaks manually -- and a certain >>> situation is causing an assertion failure on compilation: >>> >>> << Snippet of output: >>> >>> .... >>> >>> MIDI output to `BeiMannernScore.mid'... >>> >>> Finding the ideal number of pages... >>> >>> Fitting music on 9 or 10 pages... >>> >>> This application has requested the Runtime to terminate it in an unusual >>> way. >>> >>> Please contact the application's support team for more information. >>> >>> Assertion failed! >>> >>> Program: C:\Program Files (x86)\LilyPond\usr\bin\lilypond.exe >>> >>> File: >>> /home/gub/NewGub/gub/target/mingw/src/lilypond-git.sv.gnu.org--lilypond.git-release-unstable/lily/page-breaking.cc, >>> Line 1180 >>> >>> Expression: ret <= cached_line_details_.size () >>> >>> Exited with return code 3. >>> >>> >> >>> >>> >>> The problem occurs with the page break on a specific bar. For now I've >>> done the obvious thing and gone with a working state -- it's not critical. >>> >>> >>> Happy to push the code up to a Gist for anyone that wishes to debug the >>> issue. Let me know. >>> >>> >>> (This is apparently not happening if I build on Linux, only in Windows). >>> >>> Chris >>> >>>
\version "2.19.35" dynamics = { \time 6/8 \partial 8*4 s8\p s s s | s2. | s2. | s2. | s2. | s2. | s2. | s2. | s s s\p s s s | s2. | s2. | s2. | s4. \crescTextCresc s8\cresc s\! s | s4. s4\f s8 | s8 s s\p s s s \f | s2. | s2. | s2. | s4. s4 \tuplet 3/2 { s16 s s } | s2. | s2. | s2. | s2. | s2. | s4.\sf s4. | s2. | s2. | s4.\sf s4. | s4.\sf s4. | s2. | s2. | s4.\sf\> s4 s8\! | s4 s8 s16\< s s8 s | s4.\sf\> s4 s8\! | s16\> s\! s8 s8 s4 s8 | s4. s4\pp s8 | \crescHairpin s4\< s8 s4 s8 | s4\> s8 s4 s8 | s4\! \crescTextCresc s8\< s s\! s | s8 s s\p s s s | s2. | s2. | s2. | s2. | s2. | s4 s8 s \crescTextCresc s8\cresc s8\! | s8 s8 s8 s16\p s s8 s | s2. | s2. | s2. | s2. | s4 s8 \crescTextCresc s16\cresc s s8 s | s4 s8 s8\f s s8 | s4 s8\p s4 s8 | s4. s4.\sf | s2. | 4 8 s4.\sf | s4 s8 s4.\sf | s4 s8 \afterGrace s4.\sf { s16 s } | s16\f s s8 s2 | s2. | s4 \dimTextDecresc s8\> s4 s8 | s2. | s2.\p | s4 s8 s4 s8\pp | s2. | s2. | s2. | s2. | s4 s8 s4 s8\ff | s2. } \score { << \autoPageBreaksOff \dynamics >> \header {} \layout { } }
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user