bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 1009 in lilypond: \transpose causes crash (std::logic_error)


From: lilypond
Subject: Re: Issue 1009 in lilypond: \transpose causes crash (std::logic_error)
Date: Wed, 10 Feb 2010 21:07:32 +0000


Comment #4 on issue 1009 by n.puttock: \transpose causes crash (std::logic_error)
http://code.google.com/p/lilypond/issues/detail?id=1009

I don't get an exception under Ubuntu 9.10 x64, but the warning message is a bit weird:

warning: transposition by b��' makes alteration larger than double

The garbled pitch string changes each time the snippet's compiled, which is hardly surprising when you look in pitch.cc and see that trying to convert Rational (-3/2) into a valid alteration results in a memory access outside the array holding the
alteration strings (the index is -2).

We have a private method Pitch::normalize (), which ensures valid octaves and alterations; why don't we use it in this case (even if it has to be made public)?



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

reply via email to

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