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