]> git.donarmstrong.com Git - lilypond.git/blob - BUGS
release: 0.1.47
[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 [IRIX (5.3?)]
12
13 coredump from strstream::strstream () upon the first read of a file
14
15 [Linux Intel]
16
17 LilyPond occasionally crashes while parsing the initialisation files.
18 This is a very obscure bug, and usually entering the commandline
19 differently "fixes" it.
20
21         lilypond input.ly 
22
23 and
24
25         lilypond -I. ./input.ly 
26
27 makes a difference
28
29 Typical stacktrace:
30
31         SIGSEGV
32         __libc_malloc (bytes=16384)
33         ?? ()
34         yyFlexLexer::yy_create_buffer ()
35         Includable_lexer::new_input (this=0x8209a00, s={strh_ = {
36                 :
37
38
39 I get bitten by this every once in a while, and I am very interested
40 in hints what might be wrong.  This problem has only been identified
41 with libc-5.3 and libc-5.4 platforms, so you might try upgrading to
42 6.0, ie. GNU libc-2.
43
44
45 [Linux Intel]
46
47 A problem resembling the previous: usage of libg++.2.8.x with the
48 wrong version of libc results in a coredump from the scanner while
49 reading the init files.  Stacktrace:
50
51         ios::eof (this=0x0)
52         
53         yyFlexLexer::LexerInput (this=0x8294848, buf=0x82955f0 "", max_size=8192)
54         yyFlexLexer::yy_get_next_buffer (this=0x8294848)
55         My_lily_lexer::yylex (this=0x8294848) 
56
57 Fix: follow the install instructions of libg++: match the right
58 library versions.