Re: weird seg-fault involving lyrics; take two
Yup, updating to 2.10.23 made the problem go away. Thanks! -David John Mandereau wrote: > Le lundi 07 mai 2007 à 17:50 +, David Bobroff a écrit : > >> I sent a problem to the list the other day. I have not gotten any >> response. Perhaps my example file was too big. Here is the problem >> again with a smaller input file: >> >> I'm having a problem involving lyrics. In the following file, if I >> comment out the line with \addlyrics LilyPond will process it. If I >> leave that line in, I get a segmentation fault *unless* I comment out >> the other set of cues. >> >> In short; I can get all the cues but no lyrics, or lyrics and no other >> cues except for the ones with the lyrics. Is this a software or wetware >> problem? >> > > Can't reproduce: your snippet compiles fine on my GNU/Linux box with > both 2.10.23 and 2.11.23, even if "\que" is uncommented. I recommend > you to upgrade to 2.10.23. > > Cheers > John > > >> -David >> >> \version "2.10.10" >> >> cue = {\set fontSize = #-3.5 } >> >> euc = {\unset fontSize } >> >> >> main = \relative c' { >> s1 >> c1 >> s1 >> R1 >> } >> >> que = \relative c'' { >> s1*2 >> %% Commenting out the block below allows lyrics in the first bar >> %% >> << >> { >> \cue >> c8 d e f g a b c >> } >> \\ >> { >> R1 >> } >> >> >> %% Commenting out the block above allows lyrics in the first bar >> } >> >> barOne = \relative c'' { >> << >> { >> << >> \context Voice = "vox" { >> \cue >> c'4 b a g >> \euc >> } >> %% Commenting out the lyrics allows the later cue to work >> \addlyrics { vo- cal cue notes } >> >> >> } >> \\ >> { >> R1 >> } >> >> >> } >> >> \score { >> \context Staff << >> \barOne >> % \que >> \main >> >> >> } >> >> > > > > ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: weird seg-fault involving lyrics; take two
Le lundi 07 mai 2007 à 17:50 +, David Bobroff a écrit : > I sent a problem to the list the other day. I have not gotten any > response. Perhaps my example file was too big. Here is the problem > again with a smaller input file: > > I'm having a problem involving lyrics. In the following file, if I > comment out the line with \addlyrics LilyPond will process it. If I > leave that line in, I get a segmentation fault *unless* I comment out > the other set of cues. > > In short; I can get all the cues but no lyrics, or lyrics and no other > cues except for the ones with the lyrics. Is this a software or wetware > problem? Can't reproduce: your snippet compiles fine on my GNU/Linux box with both 2.10.23 and 2.11.23, even if "\que" is uncommented. I recommend you to upgrade to 2.10.23. Cheers John > -David > > \version "2.10.10" > > cue = {\set fontSize = #-3.5 } > > euc = {\unset fontSize } > > > main = \relative c' { > s1 > c1 > s1 > R1 > } > > que = \relative c'' { > s1*2 > %% Commenting out the block below allows lyrics in the first bar > %% > << > { > \cue > c8 d e f g a b c > } > \\ > { > R1 > } > >> > %% Commenting out the block above allows lyrics in the first bar > } > > barOne = \relative c'' { > << > { > << > \context Voice = "vox" { > \cue > c'4 b a g > \euc > } > %% Commenting out the lyrics allows the later cue to work > \addlyrics { vo- cal cue notes } > >> > } > \\ > { > R1 > } > >> > } > > \score { > \context Staff << > \barOne > % \que > \main > >> > } > ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
weird seg-fault involving lyrics; take two
I sent a problem to the list the other day. I have not gotten any response. Perhaps my example file was too big. Here is the problem again with a smaller input file: I'm having a problem involving lyrics. In the following file, if I comment out the line with \addlyrics LilyPond will process it. If I leave that line in, I get a segmentation fault *unless* I comment out the other set of cues. In short; I can get all the cues but no lyrics, or lyrics and no other cues except for the ones with the lyrics. Is this a software or wetware problem? -David \version "2.10.10" cue = {\set fontSize = #-3.5 } euc = {\unset fontSize } main = \relative c' { s1 c1 s1 R1 } que = \relative c'' { s1*2 %% Commenting out the block below allows lyrics in the first bar %% << { \cue c8 d e f g a b c } \\ { R1 } >> %% Commenting out the block above allows lyrics in the first bar } barOne = \relative c'' { << { << \context Voice = "vox" { \cue c'4 b a g \euc } %% Commenting out the lyrics allows the later cue to work \addlyrics { vo- cal cue notes } >> } \\ { R1 } >> } \score { \context Staff << \barOne % \que \main >> } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
weird seg-fault involving lyrics
I'm transposing an orchestral part. I'm preserving the original cues etc. I've set up definitions for different "layers" so that I can leave the cues at there original pitches when I transpose the instrument part. The cues are, of course, in a separate definition block. The very first measure is a vocal cue. I've had trouble adding the lyrics (I seldom work with vocal music so it always takes me a few tries to get it right) but I got it to work in isolation. Then I tried adding it to the main file. Suddenly I was getting segmentation faults. I tried a minimal example but the seg fault went away. I finally found a way to reproduce it. In descriptive terms; if I leave out the lyrics for the vocal cue it runs fine. If I leave out all subsequent cues it runs fine. Am I doing something wrong, or is this a bug? Example below: %%% Begin LilyPond file %%% \version "2.10.10" cue = {\set fontSize = #-3.5 } euc = {\unset fontSize } inv = { \once \override Stem #'transparent = ##t \once \override NoteHead #'transparent = ##t \override Accidental #'transparent = ##t } basstpt = \relative c''{ \key c \major \override Score.TimeSignature #'transparent = ##t \time 4/4 s1 \override Score.TimeSignature #'transparent = ##f \time 12/8 s4 g8-\f c8. g16 c8 e4 c8 e8. c16 e8 \time 4/4 g2-\> ~ g8-\! r r4 } que = \relative c'' { s1 s1. s1 %% Commenting out the block below allows lyrics in the first bar %% Otherwise: seg fault %% << { \cue c8 d e f g a b c } \\ { R1 } >> %% %% Commenting out the block above allows lyrics in the first bar %% Otherwise: seg fault } barOne = \relative c'' { << { << \context Voice = "vox" { \cue \autoBeamOff es4 d8 c bes4. g8 \inv g4 s4*5 \euc } %% Commenting out the lyrics allows the later cue to work %\addlyrics { gräss lich sten Schmach sie preis } >> } \\ { R1 a4\rest s4*5 } >> } \score { \context Staff << \que \barOne \basstpt >> } %%% End LilyPond file %%% -David ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user