[Top][All Lists]

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

Segfault when doing wacky stuff

From: Michael Welsh Duggan
Subject: Segfault when doing wacky stuff
Date: Fri, 22 Sep 2006 11:42:28 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Based on the theory that any segfault is a bad segfault, I submit the
following lilypond file.  The code is not expected to work, but is
also not expected to segfault.

\version "2.9.19"

#(define (process-event event)
  (display event)

#(define (test music) 
  (let* ((odef (ly:make-output-def))
         (global (ly:make-global-context odef))
         (listener (ly:make-listener process-event))
         (global-disp (ly:context-events-below global))
         (disp (ly:make-dispatcher)))
   (ly:connect-dispatchers disp global-disp)
   (ly:add-listener listener disp 'StreamEvent)
   (ly:interpret-music-expression music global)))

#(test #{ <a b>4 << a \\ b >> #})


Michael Welsh Duggan

reply via email to

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