lilypond-devel
[Top][All Lists]
Advanced

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

Re: tracking down a crash


From: David Kastrup
Subject: Re: tracking down a crash
Date: Fri, 22 Nov 2013 10:32:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

"Keith E OHara" <address@hidden> writes:

> On Wed, 20 Nov 2013 23:48:47 -0800, David Kastrup <address@hidden> wrote:
>
>> So one suspicion would be that iter_ points to a non-operative
>> iterator.  Maybe set it to zero in
>
>> Sequential_iterator::do_quit ()
>
> That change, on master, did not clear the crash.

Argh.  How about this one (should likely apply using git am):

>From 668947b09f989342181ab3962b475b9efa3d0976 Mon Sep 17 00:00:00 2001
From: David Kastrup <address@hidden>
Date: Fri, 22 Nov 2013 10:30:23 +0100
Subject: [PATCH] GC-related fix of volta-repeat-iterator

This problem was introduced with issue 355.
---
 lily/volta-repeat-iterator.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lily/volta-repeat-iterator.cc b/lily/volta-repeat-iterator.cc
index 1100536..e9b858d 100644
--- a/lily/volta-repeat-iterator.cc
+++ b/lily/volta-repeat-iterator.cc
@@ -53,6 +53,7 @@ void
 Volta_repeat_iterator::derived_mark () const
 {
   scm_gc_mark (alt_restores_);
+  Sequential_iterator::derived_mark ();
 }
 
 SCM
-- 
1.8.3.2


-- 
David Kastrup

reply via email to

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