[Top][All Lists]

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

2.19.81 aborts on many .ly files when compiled with gcc8 -Wp,-D_GLIBCXX_

From: Mamoru TASAKA
Subject: 2.19.81 aborts on many .ly files when compiled with gcc8 -Wp,-D_GLIBCXX_ASSERTIONS
Date: Wed, 9 May 2018 20:09:44 +0900
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0


As previously reported on this mailing list:

There was a downstream bug report on Fedora (rawhide) as
https://bugzilla.redhat.com/show_bug.cgi?id=1568274 that

lilypond 2.19.81 , when compiled with gcc8 -Wp,-D_GLIBCXX_ASSERTIONS , abort()s 
on many .ly files.
-Wp,-D_GLIBCXX_ASSERTIONS adds some brief range checks for std::vector and 
Fedora 28 and above uses
this compilation flags by default:

For example, $ lilypond lilypond-2.19.81/input/regression/rest-pitched-beam.ly 
abort()s like the attached.
And the attached proposal patch should fix this issue. Please review this.

Mamoru TASAKA <address@hidden>

Attachment: gdb-lilypond.log.txt
Description: Text document

Attachment: rest-pitched-beam.ly
Description: Text Data

Attachment: 0001-Fix-out-of-bounds-access-detected-by-D_GLIBCXX_ASSER.patch
Description: Text Data

reply via email to

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