lilypond-1.0.19
[lilypond.git] / BUGS
blob054d425246941e3b94db75c303ab66b7b7458f03
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 [All platforms] 
14 When dealing with beaming that is not correct (eg quarter notes in
15 beams.), you can get the following assert.  This is a serious bug, but
16 a good solution is quite a lot of work.
18         \score{
19                 \melodic{
20                         [c2 c]
21                 }
22         }
24 results in
26         lilypond: ../flower/include/varray.hh:141: struct Rhythmic_grouping *& Array<Rhythmic_grouping *>::elem(int) const: Assertion `i >=0&&i<size_' failed.
28 And this
30         \score{
31                 \melodic{
32                         [c]
33                 }
34         }
38         lilypond: ../flower/include/cursor.tcc:104: int Cursor<void *>::operator -(class Cursor<void *>) const: Assertion `c.ok()' failed.
39         Aborted (core dumped)
42 [Linux libg++ 2.7]
44 LilyPond occasionally crashes while parsing the initialisation files.
45 This is a very obscure bug, and usually entering the commandline
46 differently "fixes" it.
48         lilypond input.ly 
50 and
52         lilypond -I. ./input.ly 
54 makes a difference
56 Typical stacktrace:
58         SIGSEGV
59         __libc_malloc (bytes=16384)
60         ?? ()
61         yyFlexLexer::yy_create_buffer ()
62         Includable_lexer::new_input (this=0x8209a00, s={strh_ = {
63                 :
65 This behaviour has been observed with machines that have old libg++
66 versions (LinuxPPC feb '98, RedHat 4.x).  
70 [Linux Intel]
72 A problem resembling the previous: usage of libg++.2.8.x with the
73 wrong version of libc results in a coredump from the scanner while
74 reading the init files.  Stacktrace:
76         ios::eof (this=0x0)
77         
78         yyFlexLexer::LexerInput (this=0x8294848, buf=0x82955f0 "", max_size=8192)
79         yyFlexLexer::yy_get_next_buffer (this=0x8294848)
80         My_lily_lexer::yylex (this=0x8294848) 
82 Fix: follow the install instructions of libg++: match the right
83 library versions.