Re: First scheme program: Preprocessing graphical objects...Segmentation fault

2009-07-10 Thread Tim Woodall
On Sun, 21 Jun 2009, Neil Puttock wrote: 2009/6/20 Tim Woodall : What am I doing wrong? I can't really explain why it breaks, but repeating a music expression without making a fresh copy can cause weird errors. If you change (append notes notes) to (append notes (ly:music-deep-copy notes))

Re: First scheme program: Preprocessing graphical objects...Segmentation fault

2009-06-21 Thread Han-Wen Nienhuys
There are some functions (mostly on the C++ side) that assume that the music objects they contain are unique copies, and modify them in place. If objects are shared, functions like going to relative mode and transposition may apply transformations multiple times, laeding to excessive pitches, for e

Re: First scheme program: Preprocessing graphical objects...Segmentation fault

2009-06-20 Thread Neil Puttock
2009/6/20 Tim Woodall : > What am I doing wrong? I can't really explain why it breaks, but repeating a music expression without making a fresh copy can cause weird errors. If you change (append notes notes) to (append notes (ly:music-deep-copy notes)) it works fine. Regards, Neil

Re: First scheme program: Preprocessing graphical objects...Segmentation fault

2009-06-20 Thread Tim Woodall
On Sat, 20 Jun 2009, Tim Woodall wrote: On Sat, 20 Jun 2009, Tim Woodall wrote: I'm working on my first ever scheme program. Things were going swimmingly until I made a typo and: t...@feynman:~/cvs/hanon$ lilypond hanon.ly GNU LilyPond 2.10.33 Processing `hanon.ly' Parsing... Interpreting musi

Re: First scheme program: Preprocessing graphical objects...Segmentation fault

2009-06-20 Thread Tim Woodall
On Sat, 20 Jun 2009, Tim Woodall wrote: I'm working on my first ever scheme program. Things were going swimmingly until I made a typo and: t...@feynman:~/cvs/hanon$ lilypond hanon.ly GNU LilyPond 2.10.33 Processing `hanon.ly' Parsing... Interpreting music... [8][16][24][32][40][48][56][64][72][8

First scheme program: Preprocessing graphical objects...Segmentation fault

2009-06-20 Thread Tim Woodall
I'm working on my first ever scheme program. Things were going swimmingly until I made a typo and: t...@feynman:~/cvs/hanon$ lilypond hanon.ly GNU LilyPond 2.10.33 Processing `hanon.ly' Parsing... Interpreting music... [8][16][24][32][40][48][56][64][72][80][88][96][101] Preprocessing graphical ob