Crash in 2.25.4
Gwyn Ciesla via bug-lilypond <[email protected]>
| Newsgroups | gmane.comp.gnu.lilypond.bugs |
|---|---|
| Message-ID | <bxbeLnZDUr0Ekw2CrTuVZ7UE8PHyJmOJjGW51RxLk7j9qrl_C5O6hvir_LHEBBNyUoHNM7BozPfLhxwz-X_gD0oW7MTFhzwezusRB_uNmhg=@protonmail.com> |
Attaching reproducer. From Fedora bug: When I attempt to build a score using a PianoStaff or GrandStaff (which contains more than one sub-staff), lilypond crashes. Reproducible: Always Steps to Reproduce: 1. Attempt to build a minimal reproducer (which I will attach) with lilypond-2.25.4 Actual Results: Slightly varying modes of crashing. #1) Without dumping core: --- 8< --- nils@makake:~/music> lilypond minimal.ly GNU LilyPond 2.25.4 (running Guile 2.2) Processing `minimal.ly' Parsing... Interpreting music... Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 page... Drawing systems... /usr/share/lilypond/2.25.4/ly/init.ly:64:2: error: Guile signaled an error for the expression beginning here # (let ((book-handler (if (defined? 'default-toplevel-book-handler) In procedure scm_hash_fn_create_handle_x: Error while printing exception. --- >8 --- #2) With dumping core: --- 8< --- nils@makake:~/music> lilypond minimal.ly GNU LilyPond 2.25.4 (running Guile 2.2) Processing `minimal.ly' Parsing... Interpreting music... Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 page... Drawing systems... /usr/share/lilypond/2.25.4/ly/init.ly:64:2: error: Guile signaled an error for the expression beginning here # (let ((book-handler (if (defined? 'default-toplevel-book-handler) In procedure scm_hash_fn_create_handle_x: Wrong type argument in position 1 (expecting hash-table): Segmentation fault (core dumped) --- >8 --- Expected Results: It builds a PDF from the score. - I get the same behavior on Fedora 38 and Rawhide. - Using the lilypond-2.25.3 Fedora package _or_ the 2.25.4 binary from upstream doesn’t exhibit the issue. -- Gwyn Ciesla she/her/hers ------------------------------------------------ in your fear, seek only peace in your fear, seek only love -d. bowie Sent with Proton Mail secure email.
test.ly
(text/x-lilypond, 454 B)
\version "2.25.3"
global = {
\key c \major
\time 4/4
}
right = \relative c'' {
\global
% Music follows here.
c4 d e f | g f e d | c1
}
left = \relative c' {
\global
% Music follows here.
c4 d e f | g f e d | c1
}
\score {
%% This could also be a GrandStaff
\new PianoStaff <<
%% It must contain two staves to show the problem
\new Staff = "right" \right
\new Staff = "left" { \clef bass \left }
>>
\layout { }
}
signature.asc
(application/pgp-signature, 509 B)
-----BEGIN PGP SIGNATURE----- Version: ProtonMail wsBzBAEBCAAnBYJkZTLVCZA+RuwayVuP5BYhBNPfcbRi6XMx0h/dvT5G7BrJ W4/kAAAHVAf/TN046mNAaEQM7MF3Frga7CCYwYOtybIC8Am+03la07nGQhgK 18rItt2fxrk/7eG3aYKynJfr5axC528W4IYGcRSg+b8Q6nldPedjTyCatWcN rbvXv+znBBTegWHPVHSIto1Iq14Hj2fxqfY/rWVWFtR2HL/kY+Xl2MurkiCL MHRZWPO/sPraqxurN6uERjj7/SKbrzQ9YqiysJv8C+cSCjyiXLBvg7f6HzXT KHgKLnXn8TT4Ap+8WUVl3nphttlFndjTm061OJwJRbcnuKt0AEBzhtlCeyce CbQKjTolx55Szxl7ZTin03cg5OtyPeCZs8un/oMsJ8qEKmSAHSRqaw== =D+bo -----END PGP SIGNATURE-----