MIDI crashes in 2.7.35

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

MIDI crashes in 2.7.35

Erik Sandberg
Hi,

The midi code causes memory corruption in 2.7.35. For example:

\version "2.7.35"

\score {
 {c4}
        \midi {
        }
}

gives the following here:

GNU LilyPond 2.7.35
Processing `foo.ly'
Parsing...
Interpreting music...
MIDI output to `foo.midi'...
Track... Segmentation fault

By randomly manipulating the input, the crash can be made to happen as early
as:

Processing `foo.ly'
Parsing...
Interpreting music... *** glibc detected *** malloc(): memory corruption:
0x08616db0 ***
Aborted

--
Erik Sandberg
Maintainer of the Lilypond bug CVS archive,
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lily-bugs/bugs/
http://lilypond.org/bugs/v2.7/


_______________________________________________
lilypond-devel mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-devel
Reply | Threaded
Open this post in threaded view
|

Re: MIDI crashes in 2.7.35

Han-Wen Nienhuys

Can't duplicate, valgrind also doesn't complain. Please try with a clean
build.

Erik Sandberg wrote:

> Hi,
>
> The midi code causes memory corruption in 2.7.35. For example:
>
> \version "2.7.35"
>
> \score {
>  {c4}
>         \midi {
>         }
> }
>
> gives the following here:
>
> GNU LilyPond 2.7.35
> Processing `foo.ly'
> Parsing...
> Interpreting music...
> MIDI output to `foo.midi'...
> Track... Segmentation fault
>
> By randomly manipulating the input, the crash can be made to happen as early
> as:
>
> Processing `foo.ly'
> Parsing...
> Interpreting music... *** glibc detected *** malloc(): memory corruption:
> 0x08616db0 ***
> Aborted
>


--
  Han-Wen Nienhuys - [hidden email] - http://www.xs4all.nl/~hanwen


_______________________________________________
lilypond-devel mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-devel