Bug 2208744

Summary: lilypond-2.25.4-1.fc38.x86_64 mostly broken
Product: [Fedora] Fedora Reporter: Paolo Bonzini <pbonzini>
Component: lilypondAssignee: Gwyn Ciesla <gwync>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 38CC: gwync, i
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-20 17:16:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Paolo Bonzini 2023-05-20 07:49:48 UTC
Any attempt to typeset even relatively trivial music will result in a crash.
Example:

\version "2.23.6"

\score
{
    \new Staff {
        \key g \minor
        \relative c'' { g4 g g bes | d2 d | }
        \relative c'' { g4 g g bes | d2 d | }
        \relative c'' { g'2 f4 g | f d bes2 | }
        \relative c'' { c2 bes4 c | d2 d | }
        \relative c'' { g'2 f4 g | f d bes2 | }
        \relative c'' { c2 bes4 c | d bes g2 | }
        \relative c'' { g4 g8 g g4 bes | d d8 d d4 bes | }
        \relative c'' { g4 g8 g g4 bes | d1 | }
        \relative c'' { g4 g8 g g4 bes | d d8 d d4 bes | }
        \relative c'' { g4 g8 g g4 f | g1 \bar "|." }
    }
}


Reproducible: Always

Steps to Reproduce:
1. lilypond test.ly

Actual Results:  

GNU LilyPond 2.25.4 (running Guile 2.2)
Processing `test.ly'
Parsing...
Interpreting music...[8][16]
Preprocessing graphical objects...
/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_get_handle: Wrong type argument in position 1 (expecting hash-table): Segmentation fault (core dumped)

The error can change, including:

Preprocessing graphical objects...terminate called after throwing an instance of 'std::length_error'
  what():  basic_string::_M_create
Aborted (core dumped)


Expected Results:  
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Converting to `test.pdf'...
Success: compilation successfully completed


lilypond-2.24.1-1.fc37 works when installed in Fedora 38.

Comment 1 Gwyn Ciesla 2023-05-20 17:16:12 UTC

*** This bug has been marked as a duplicate of bug 2208024 ***