[Top][All Lists]

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

merge-rests.ily w/ text on full measure rest segfault 2.13.53 (and from

From: Jay Anderson
Subject: merge-rests.ily w/ text on full measure rest segfault 2.13.53 (and from git)
Date: Sat, 12 Mar 2011 16:37:25 -0700

This uses merge-rests.ily which is included with issue 1228
(http://code.google.com/p/lilypond/issues/detail?id=1228). I'm running
ubuntu x86-64 linux (2.6.35-22-generic). Below is a minimal example.
Two things make the segfault go away: remove the mergeRests from the
layout block and removing the markup from the full measure rest. I
hope this is clearer and easier to reproduce than the last
segmentation fault bug I submitted. Thanks for the help!


\version "2.13.53"

\include "merge-rests.ily"


music = {R1_"asdf" |}

  \new Staff
      \new Voice
      \new Voice

gdb stacktrace:
GNU gdb (GDB) 7.2-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from
(gdb) run segv2.ly
Starting program:
/home/jay/programming/github/lilypond/out/bin/lilypond segv2.ly
[Thread debugging using libthread_db enabled]
GNU LilyPond 2.13.54
Processing `segv2.ly'
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Program received signal SIGSEGV, Segmentation fault.
0x00000000004d3f55 in Grob::extent (this=0x0, refp=<value optimized
out>, a=X_AXIS) at grob.cc:427
427       if (dim_cache_[a].extent_)
(gdb) where
#0  0x00000000004d3f55 in Grob::extent (this=0x0, refp=<value
optimized out>, a=X_AXIS) at grob.cc:427
#1  0x00000000004d45b3 in robust_relative_extent (me=0x7fffffff9350,
refpoint=0x0, a=X_AXIS) at grob.cc:788
#2  0x00000000005c5f3f in centered_on_object (smob=<value optimized
out>) at self-alignment-interface.cc:69
#3  Self_alignment_interface::x_centered_on_y_parent (smob=<value
optimized out>) at self-alignment-interface.cc:90
#4  0x00000000005d3c60 in evaluate_with_simple_closure
(delayed_argument=0x7ffff2520b70, expr=<value optimized out>,
    pure=false, start=0, end=0) at simple-closure.cc:74
#5  0x00000000005d3bf3 in evaluate_args
(delayed_argument=0x7ffff2520b70, expr=0x7fffef72f0c0, pure=false,
start=0, end=0)
    at simple-closure.cc:48
#6  evaluate_with_simple_closure (delayed_argument=0x7ffff2520b70,
expr=0x7fffef72f0c0, pure=false, start=0, end=0)
    at simple-closure.cc:82
#7  0x00000000004c7e46 in Grob::try_callback_on_alist (this=0xbe3000,
alist=0xbe3060, sym=0x7ffff2ab51c0, proc=0x7fffef72f0d0)
    at grob-property.cc:236
#8  0x00000000004d3ae4 in get_offset (this=0xbe3000, refp=0xc09bd0,
a=<value optimized out>) at grob.cc:380
#9  Grob::relative_coordinate (this=0xbe3000, refp=0xc09bd0, a=<value
optimized out>) at grob.cc:309
#10 0x0000000000631a7f in System::get_paper_system (this=0xc09bd0) at
#11 0x0000000000550b2a in Page_breaking::draw_page
(this=0x7fffffff9f80, systems=0x7ffff251f810,
    configuration=<value optimized out>, page_num=1, last=true) at
#12 0x0000000000551093 in Page_breaking::make_pages
(this=0x7fffffff9f80, lines_per_page=<value optimized out>,
    at page-breaking.cc:603
#13 0x0000000000547183 in Optimal_page_breaking::solve
(this=0x7fffffff9f80) at optimal-page-breaking.cc:211
#14 0x000000000054eab5 in ly_optimal_breaking (pb=<value optimized
out>) at page-breaking-scheme.cc:42
#15 0x0000000000575317 in Paper_book::pages (this=0xc08f20) at paper-book.cc:655
#16 0x0000000000576e21 in Paper_book::output_aux (this=0xc08f20,
output_channel=0x7ffff3a0ca20, is_last=true,
first_performance_number=0x7fffffffa26c) at paper-book.cc:162
#17 0x00000000005779b4 in Paper_book::output (this=0xc08f20,
output_channel=0x7ffff3a0ca20) at paper-book.cc:185
#18 0x000000000044fa2e in ly_book_process (book_smob=<value optimized
out>, default_paper=0x7ffff211a850,
    default_layout=0x7ffff1e11d70, output=0x7ffff3a0ca20) at book-scheme.cc:79
#19 0x00007ffff792caf4 in ?? () from /usr/lib/libguile.so.17
#20 0x00000000005826ef in ly_parse_scm (
    s=0xac85dd "(let ((book-handler (if (defined?
'default-toplevel-book-handler)\n", ' ' <repeats 25 times>,
"default-toplevel-book-handler\n", ' ' <repeats 25 times>,
"toplevel-book-handler)))\n   (cond ((pair? toplevel-boo"...,
n=0x7fffffffa5a8, i=DWARF-2 expression error: DW_OP_reg operations
must be used either alone or in conjuction with DW_OP_piece or
    at parse-scm.cc:139
#21 0x0000000000673a37 in Lily_lexer::yylex (this=0xac6b40) at lexer.ll:351
#22 0x0000000000677607 in yylex (my_lily_parser=<value optimized out>)
at parser.yy:2790
#23 yyparse (my_lily_parser=<value optimized out>) at out/parser.cc:2468
#24 0x00000000004f7911 in Lily_parser::parse_file (this=0xabb810,
init=<value optimized out>, name=<value optimized out>,
    out_name=<value optimized out>) at lily-parser.cc:121
#25 0x00000000004f46c7 in ly_parse_file (name=<value optimized out>)
at lily-parser-scheme.cc:123
#26 0x00007ffff792d28f in ?? () from /usr/lib/libguile.so.17
#27 0x00007ffff79865bd in scm_c_catch () from /usr/lib/libguile.so.17
---Type <return> to continue, or q <return> to quit---
#28 0x00007ffff79867be in scm_catch_with_pre_unwind_handler () from
#29 0x00007ffff792caf4 in ?? () from /usr/lib/libguile.so.17
#30 0x00007ffff792ce7c in ?? () from /usr/lib/libguile.so.17
#31 0x00007ffff287f9da in scm_srfi1_for_each () from
#32 0x00007ffff792d4b1 in ?? () from /usr/lib/libguile.so.17
#33 0x00007ffff792ce7c in ?? () from /usr/lib/libguile.so.17
#34 0x00007ffff792dd44 in ?? () from /usr/lib/libguile.so.17
#35 0x000000000050890b in main_with_guile () at main.cc:436
#36 0x00007ffff7948a2f in ?? () from /usr/lib/libguile.so.17
#37 0x00007ffff791ed4a in ?? () from /usr/lib/libguile.so.17
#38 0x00007ffff79865bd in scm_c_catch () from /usr/lib/libguile.so.17
#39 0x00007ffff791f207 in scm_i_with_continuation_barrier () from
#40 0x00007ffff791f2a0 in scm_c_with_continuation_barrier () from
#41 0x00007ffff7985504 in scm_i_with_guile_and_parent () from
#42 0x00007ffff79489e5 in scm_boot_guile () from /usr/lib/libguile.so.17
#43 0x000000000050a9f0 in main (argc=2, argv=0x7fffffffe838,
envp=<value optimized out>) at main.cc:631

reply via email to

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