[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-bug
Subject:    Issue 713 in lilypond: bus error with \bookpart
From:       codesite-noreply () google ! com
Date:       2008-12-22 19:31:21
Message-ID: 0016e644ddec208461045ea7b493 () google ! com
[Download RAW message or body]

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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic