]> git.donarmstrong.com Git - lilypond.git/blob - BUGS
release: 0.1.48
[lilypond.git] / BUGS
1 Document Really Ugly Bugs (coredumps, assert fails, etc)
2
3
4 \score{
5         \melodic{
6         [a8 a-2] /bla
7         }
8 }
9 koor.ly: 4: error: parse error, expecting `DIGIT' or `UNSIGNED':
10         [a8 a-2] /bla
11                      
12 koor.ly: 5: error: Have to be in Lyric mode for lyrics:
13         }
14          
15 lilypond: parser.y:765: int yyparse(void *): Assertion `((My_lily_parser *) my_lily_parser_l)->post_reqs.empty ()' failed.
16 Aborted (core dumped)
17
18
19 [gcc 2.8.x/libstdc++ 2.8.x/libg++ 2.8.0]
20
21 The latest gcc release causes lily to crash just after Interpreting
22 music:
23
24 stacktrace looks something like:
25
26       __DTOR_END__ ()
27       __malloc ()
28
29 [GNU libc]
30
31 The GNU extension memmem() is known to be buggy on linux libc 5.0.9
32 and before. Glibc upto 2.0.5 also has problems with memmem (), but
33 these should not affect LilyPond.
34
35
36 [IRIX (5.3?)]
37
38 coredump from strstream::strstream () upon the first read of a file
39
40 [Linux Intel]
41
42 LilyPond occasionally crashes while parsing the initialisation files.
43 This is a very obscure bug, and usually entering the commandline
44 differently "fixes" it.
45
46         lilypond input.ly 
47
48 and
49
50         lilypond -I. ./input.ly 
51
52 makes a difference
53
54 Typical stacktrace:
55
56         SIGSEGV
57         __libc_malloc (bytes=16384)
58         ?? ()
59         yyFlexLexer::yy_create_buffer ()
60         Includable_lexer::new_input (this=0x8209a00, s={strh_ = {
61                 :
62
63
64 I get bitten by this every once in a while, and I am very interested
65 in hints what might be wrong.  This problem has only been identified
66 with libc-5.3 and libc-5.4 platforms, so you might try upgrading to
67 6.0, ie. GNU libc-2.
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.