]> git.donarmstrong.com Git - lilypond.git/blob - BUGS
release: 1.0.17
[lilypond.git] / BUGS
1
2 This documents serious bugs 
3
4 ********
5
6 [Linux Intel, EGCS-1.1b]
7
8 Compiling with -O2 -finline-functions will cause crashes during
9 parsing stage.
10
11
12 [All platforms] 
13
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.
17
18         \score{
19                 \melodic{
20                         [c2 c]
21                 }
22         }
23
24 results in
25
26         lilypond: ../flower/include/varray.hh:141: struct Rhythmic_grouping *& Array<Rhythmic_grouping *>::elem(int) const: Assertion `i >=0&&i<size_' failed.
27
28 And this
29
30         \score{
31                 \melodic{
32                         [c]
33                 }
34         }
35
36 in
37
38         lilypond: ../flower/include/cursor.tcc:104: int Cursor<void *>::operator -(class Cursor<void *>) const: Assertion `c.ok()' failed.
39         Aborted (core dumped)
40
41
42 [Linux libg++ 2.7]
43
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.
47
48         lilypond input.ly 
49
50 and
51
52         lilypond -I. ./input.ly 
53
54 makes a difference
55
56 Typical stacktrace:
57
58         SIGSEGV
59         __libc_malloc (bytes=16384)
60         ?? ()
61         yyFlexLexer::yy_create_buffer ()
62         Includable_lexer::new_input (this=0x8209a00, s={strh_ = {
63                 :
64
65 This behaviour has been observed with machines that have old libg++
66 versions (LinuxPPC feb '98, RedHat 4.x).  
67
68
69
70 [Linux Intel]
71
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:
75
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) 
81
82 Fix: follow the install instructions of libg++: match the right
83 library versions.