bug-lilypond
[Top][All Lists]
Advanced

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

Issue 713 in lilypond: bus error with \bookpart


From: codesite-noreply
Subject: Issue 713 in lilypond: bus error with \bookpart
Date: Mon, 22 Dec 2008 19:31:21 +0000

Updates:
        Labels: Type-Defect

Comment #1 on issue 713 by nicolas.sceaux: bus error with \bookpart
http://code.google.com/p/lilypond/issues/detail?id=713

In Paper_book::output_aux(), for a parent Paper_book, despite the looping:
  for (SCM p = scm_reverse (bookparts_); scm_is_pair (p); p = scm_cdr (p))
not all children bookparts are processed, causing the bus error to occur later on.
I don't understand why. For instance, when trying:
  SCM bookparts = scm_reverse (bookparts_);
scm_display (scm_length (bookparts), scm_current_output_port ()); // whatever
  for (SCM p = bookparts; scm_is_pair (p); p = scm_cdr (p))
then the bus error does not occur, the looping reaches all children bookparts. As a workaround, bookparts will be stored in Paper_book in straight order, instead of reverse order, to avoid
the multiple reversings.

--
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]