lilypond-1.1.13
[lilypond.git] / BUGS
blob1651e800d6de2645b96bb1c12d9c065dc7031491
2 This documents serious bugs 
4 ********
6 [Linux Intel, EGCS-1.1b]
8 Compiling with -O2 -finline-functions will cause crashes during
9 parsing stage.
12 [Linux ppc, egcs-1.0.2]
14 All compiling with -O2 is suspect, in particular guile-1.3, and
15 Lily herself will break.
18 [All platforms] 
20 When dealing with beaming that is not correct (eg quarter notes in
21 beams.), you can get the following assert.  This is a serious bug, but
22 a good solution is quite a lot of work.
24         \score{
25                 \melodic{
26                         [c2 c]
27                 }
28         }
30 results in
32         lilypond: ../flower/include/varray.hh:141: struct Rhythmic_grouping *& Array<Rhythmic_grouping *>::elem(int) const: Assertion `i >=0&&i<size_' failed.
34 And this
36         \score{
37                 \melodic{
38                         [c]
39                 }
40         }
44         lilypond: ../flower/include/cursor.tcc:104: int Cursor<void *>::operator -(class Cursor<void *>) const: Assertion `c.ok()' failed.
45         Aborted (core dumped)
48 [Linux libg++ 2.7]
50 LilyPond occasionally crashes while parsing the initialisation files.
51 This is a very obscure bug, and usually entering the commandline
52 differently "fixes" it.
54         lilypond input.ly 
56 and
58         lilypond -I. ./input.ly 
60 makes a difference
62 Typical stacktrace:
64         SIGSEGV
65         __libc_malloc (bytes=16384)
66         ?? ()
67         yyFlexLexer::yy_create_buffer ()
68         Includable_lexer::new_input (this=0x8209a00, s={strh_ = {
69                 :
71 This behaviour has been observed with machines that have old libg++
72 versions (LinuxPPC feb '98, RedHat 4.x).  
76 [Linux Intel]
78 A problem resembling the previous: usage of libg++.2.8.x with the
79 wrong version of libc results in a coredump from the scanner while
80 reading the init files.  Stacktrace:
82         ios::eof (this=0x0)
83         
84         yyFlexLexer::LexerInput (this=0x8294848, buf=0x82955f0 "", max_size=8192)
85         yyFlexLexer::yy_get_next_buffer (this=0x8294848)
86         My_lily_lexer::yylex (this=0x8294848) 
88 Fix: follow the install instructions of libg++: match the right
89 library versions.