]> git.donarmstrong.com Git - lilypond.git/blob - BUGS
810766b46ed396d25b94e59c66651af9b86f0fe7
[lilypond.git] / BUGS
1 Document Really Ugly Bugs (coredumps, assert fails, etc)
2
3
4 [GNU libc]
5
6 The GNU extension memmem() is known to be buggy on linux libc 5.0.9
7 and before. Glibc upto 2.0.5 also has problems with memmem (), but
8 these should not affect LilyPond.
9
10
11 [Linux Intel]
12
13 LilyPond occasionally crashes while parsing the initialisation files.
14 This is a very obscure bug, and usually entering the commandline
15 differently "fixes" it.
16
17         lilypond input.ly 
18
19 and
20
21         lilypond -I. ./input.ly 
22
23 makes a difference
24
25 Typical stacktrace:
26
27         SIGSEGV
28         __libc_malloc (bytes=16384)
29         ?? ()
30         yyFlexLexer::yy_create_buffer ()
31         Includable_lexer::new_input (this=0x8209a00, s={strh_ = {
32                 :
33
34
35 I get bitten by this every once in a while, and I am very interested
36 in hints what might be wrong.  This problem has only been identified
37 with libc-5.3 and libc-5.4 platforms, so you might try upgrading to
38 6.0, ie. GNU libc-2.
39
40
41 [Linux Intel]
42
43 A problem resembling the previous: usage of libg++.2.8.x with the
44 wrong version of libc results in a coredump from the scanner while
45 reading the init files.  Stacktrace:
46
47         ios::eof (this=0x0)
48         
49         yyFlexLexer::LexerInput (this=0x8294848, buf=0x82955f0 "", max_size=8192)
50         yyFlexLexer::yy_get_next_buffer (this=0x8294848)
51         My_lily_lexer::yylex (this=0x8294848) 
52
53 Fix: follow the install instructions of libg++: match the right
54 library versions.