lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error tracking through the log files [was: Re: Compilation error with pa


From: Marc Hohl
Subject: Error tracking through the log files [was: Re: Compilation error with page-breaking-page-count3.ly]
Date: Fri, 28 Sep 2012 11:30:14 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0

Am 28.09.2012 10:16, schrieb Marc Hohl:
Am 28.09.2012 01:38, schrieb address@hidden:
Updates:
    Labels: -Patch-new Patch-needs_work

Comment #33 on issue 2790 by address@hidden: Patch: bar-line interface part 2/2
http://code.google.com/p/lilypond/issues/detail?id=2790

Patchy says 'fail on make check' - took an age to find anything in the logs - still cannot workouty how to quickly find what is the offending snippet/reg test when running multi cpu - the logs tell me to look in a snippet log which is there but which just lists a ton of snippets and which CPU failed, but I cannot ever seem to quickly narrow it down.

It ends up as a tedious make check with one CPU and hope the logs show up, they didn't this time, the log file just contained a single line with the lilypond version.

Anyway, after grepping for 'error' I came across


lily-7dccbf09.log:programming error: number of pages is out of bounds
lily-7dccbf09.log:programming error: tried to space systems on a bad number of pages
lily-7dccbf09.log:programming error: number of pages is out of bounds
lily-7dccbf09.log:programming error: tried to space systems on a bad number of pages

/lilypond-git/input/regression/page-breaking-page-count3.ly

I tried to compile this file both with my patch and with current master and get this
error in *both* cases.

Can anyone compile the snippet and confirm that?

It seems to be a bug totally unrelated to my work ;-)
Well, it seems to be not as simple as that.

I did a 'make test' on my patch. This fails, obviously.
The console says:

Dissecting...
Writing snippets...
Processing...
Processing /home/marc/git/lilypond/out/lybook-testdb/snippet-names-3552501373601762147.ly command failed: /home/marc/git/lilypond/out/bin/lilypond -I ./ -I ./out-test -I ../../input -I /home/marc/git/lilypond/Documentation -I /home/marc/git/lilypond/Documentation/snippets/out -I ../../input/regression/ -I /home/marc/git/lilypond/Documentation/included/ -I /home/marc/git/lilypond/mf/out/ -I /home/marc/git/lilypond/mf/out/ -I /home/marc/git/lilypond/Documentation/pictures -I /home/marc/git/lilypond/Documentation/pictures/./out-test -dbackend=eps --formats=ps -dseparate-log-files -dinclude-eps-fonts -dgs-load-lily-fonts --header=texidoc -I /home/marc/git/lilypond/Documentation/included/ -ddump-profile -dcheck-internal-types -ddump-signatures -danti-alias-factor=1 -I "/home/marc/git/lilypond/out/lybook-testdb" -I "." -I ".." -I "/home/marc/git/lilypond/input/regression" -I "./" -I "./out-test" -I "../../input" -I "/home/marc/git/lilypond/Documentation" -I "/home/marc/git/lilypond/Documentation/snippets/out" -I "../../input/regression/" -I "/home/marc/git/lilypond/Documentation/included/" -I "/home/marc/git/lilypond/mf/out/" -I "/home/marc/git/lilypond/mf/out/" -I "/home/marc/git/lilypond/Documentation/pictures" -I "/home/marc/git/lilypond/Documentation/pictures/./out-test" --formats=eps -deps-box-padding=3.000000 -dread-file-list -dno-strip-output-dir "/home/marc/git/lilypond/out/lybook-testdb/snippet-names-3552501373601762147.ly"
Child returned 1
Error ignored by lilylib
Error trapped by lilypond-book

Please see /home/marc/git/lilypond/out/lybook-testdb/snippet-names-3552501373601762147.log

make[2]: *** [out-test/collated-files.texi] Error 1
make[2]: Leaving directory `/home/marc/git/lilypond/input/regression'
make[1]: *** [local-test] Error 2
make[1]: Leaving directory `/home/marc/git/lilypond/input/regression'
make: *** [test] Fehler 2


Ok. So far, so bad. Now I look at the log file.

address@hidden ~/git/lilypond (barlineII)$ more /home/marc/git/lilypond/out/lybook-testdb/snippet-names-3552501373601762147.log
GNU LilyPond 2.17.4
address@hidden ~/git/lilypond (barlineII)$

Ok, this is what James mentioned for the faulty patchy run.

The file snippet-names-3552501373601762147.ly contains

snippet-map-3552501373601762147.ly
b4/lily-1ce78b89.ly
f8/lily-25dab396.ly
37/lily-4583781c.ly
3d/lily-a69e10a7.ly
...
...
...
15/lily-c90f9b1c.ly

Since only the starting message appears, the fault is probably
at the beginning of the list of files, so I look at
snippet-map-3552501373601762147.ly

#(define version-seen #t)
#(define output-empty-score-list #f)
#(ly:add-file-name-alist '(("59/lily-6e61a987.ly" . "out-test/collated-files.tel
y")
...
...
...

I looked at the first file 59/lily-6e61a987.ly, which appears to be accidental-ancient.ly,
which appears to compile without problems with my patch.

How can I narrow down the file that causes the error?
It is somewhat strange that Lilypond shows only its version number and then aborts.

Regards,

Marc







Regards,

Marc

_______________________________________________
lilypond-devel mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]