Dear list,

after a long hiatus, I am now typing another piece for choir. But after I
had finished the first voice, the document would not compile. I narrowed it
down to the following MWE. See the comment in the second line with notes:


\version "2.18"
\language "deutsch"

SopranNoten = \relative c'' {
        \dynamicUp
        \time 4/4
        \key d \major
        \clef treble

        d=''2 cis4\!\f\< h |
        e\> a,\! d2~( |  % remove either ~ or ( from that d2, and it compiles
        d cis4) h |
}

\score{
        \SopranNoten
        \layout{}
}


This snippet causes Lilypond to crash on my machines. Both run Gentoo Linux
with identical versions, namely Lilypoind 2.18.2. I installed 2.18.2 on an
Ubuntu and an Arch installation. Both of them have no problem. :'-(

I was afraid that my own systems are at fault. But what can I do to fix it?
Based on the backtrace given below, can you take a guess? Perhabs it is some
underlying library or an incompatibility between libs due to a different gcc
version?

Many thanks and I hope everyone came back safely from a nice weekend in
Chemnitz. :) I was too exhausted to go this time.



#0  Grob::get_offset (this=this@entry=0x0, a=a@entry=X_AXIS) at grob.cc:397
#1  0x00005555555d17f7 in Grob::relative_coordinate (this=0x0, 
refp=0x5555560370e0, a=X_AXIS) at grob.cc:338
#2  0x00005555555d181c in Grob::relative_coordinate (this=0x555556034270, 
refp=0x5555560370e0, a=X_AXIS) at grob.cc:342
#3  0x00005555555d181c in Grob::relative_coordinate (this=0x555555ecd8b0, 
refp=0x5555560370e0, a=X_AXIS) at grob.cc:342
#4  0x00005555555d181c in Grob::relative_coordinate (this=0x555555ece190, 
refp=0x5555560370e0, a=X_AXIS) at grob.cc:342
#5  0x00005555555d181c in Grob::relative_coordinate (this=0x555555ecdc30, 
refp=0x5555560370e0, a=X_AXIS) at grob.cc:342
#6  0x00005555555d181c in Grob::relative_coordinate (this=0x555555ece2e0, 
refp=0x5555560370e0, a=X_AXIS) at grob.cc:342
#7  0x00005555555d1852 in Grob::relative_coordinate 
(this=this@entry=0x555555ece2e0, refp=<optimized out>, a=a@entry=X_AXIS) at 
grob.cc:345
#8  0x0000555555603398 in Slur_configuration::score_extra_encompass 
(this=0x55555603fb20, state=...) at slur-configuration.cc:327
#9  0x0000555555603c1d in Slur_configuration::run_next_scorer 
(this=0x55555603fb20, state=...) at slur-configuration.cc:508
#10 0x00005555556bdb98 in Slur_score_state::get_best_curve 
(this=this@entry=0x7fffffff7550) at slur-scoring.cc:423
#11 0x00005555556bdcf7 in Slur::calc_control_points (smob=<optimized out>) at 
slur-scoring.cc:359
#12 0x00007ffff7928012 in scm_dapply (proc=0x7ffff3ef1970, arg1=0x7ffff0ae37a0, 
args=0x404) at eval.c:4895
#13 0x00005555555ca868 in Grob::try_callback_on_alist 
(this=this@entry=0x555555ecdce0, alist=alist@entry=0x555555ecdd40, 
sym=sym@entry=0x7ffff22bae00, proc=proc@entry=0x7ffff3ef1970) at 
grob-property.cc:232
#14 0x00005555555cab30 in Grob::internal_get_property 
(this=this@entry=0x555555ecdce0, sym=0x7ffff22bae00) at grob-property.cc:189
#15 0x00005555556f37ff in Slur::get_curve (me=me@entry=0x555555ecdce0) at 
slur.cc:235
#16 0x00005555556f516b in Slur::vertical_skylines (smob=<optimized out>) at 
slur.cc:378
#17 0x00007ffff7928012 in scm_dapply (proc=0x7ffff3f1c4a0, arg1=0x7ffff0ae37a0, 
args=0x404) at eval.c:4895
#18 0x00005555555ca868 in Grob::try_callback_on_alist 
(this=this@entry=0x555555ecdce0, alist=alist@entry=0x555555ecdd40, 
sym=sym@entry=0x7ffff353c4e0, proc=proc@entry=0x7ffff3f1c4a0) at 
grob-property.cc:232
#19 0x00005555555cab30 in Grob::internal_get_property 
(this=this@entry=0x555555ecdce0, sym=0x7ffff353c4e0) at grob-property.cc:189
#20 0x0000555555705d12 in add_interior_skylines (me=me@entry=0x555555ecdce0, 
x_common=x_common@entry=0x555556034270, y_common=y_common@entry=0x5555560370e0, 
skylines=skylines@entry=0x7fffffff7e70) at axis-group-interface.cc:655
#21 0x00005555557082e2 in Axis_group_interface::skyline_spacing 
(me=0x5555560370e0) at axis-group-interface.cc:917
#22 0x00005555557084a9 in Axis_group_interface::calc_skylines (smob=<optimized 
out>) at axis-group-interface.cc:398
#23 0x00007ffff7928012 in scm_dapply (proc=0x7ffff3df7f10, arg1=0x7ffff04ce960, 
args=0x404) at eval.c:4895
#24 0x00005555555ca868 in Grob::try_callback_on_alist 
(this=this@entry=0x5555560370e0, alist=alist@entry=0x555556037140, 
sym=sym@entry=0x7ffff353c4e0, proc=proc@entry=0x7ffff3df7f10) at 
grob-property.cc:232
#25 0x00005555555cab30 in Grob::internal_get_property 
(this=this@entry=0x5555560370e0, sym=0x7ffff353c4e0) at grob-property.cc:189
#26 0x0000555555698748 in get_skylines (ret=0x7fffffff8450, end=<optimized 
out>, start=<optimized out>, pure=<optimized out>, a=<optimized out>, 
elements=0x7fffffff8430, me=<optimized out>) at align-interface.cc:86
#27 Align_interface::internal_get_minimum_translations 
(me=me@entry=0x5555560373a0, all_grobs=std::vector of length 1, capacity 1 = 
{...}, a=a@entry=Y_AXIS, include_fixed_spacing=<optimized out>, 
include_fixed_spacing@entry=false, pure=pure@entry=false, start=<optimized out>,
    end=<optimized out>) at align-interface.cc:210
#28 0x0000555555699d47 in 
Align_interface::get_minimum_translations_without_min_dist 
(me=me@entry=0x5555560373a0, all_grobs=std::vector of length 1, capacity 1 = 
{...}, a=a@entry=Y_AXIS) at align-interface.cc:166
#29 0x00005555557d06f5 in Page_layout_problem::append_system 
(this=this@entry=0x7fffffff8b90, sys=sys@entry=0x555556034270, spring=..., 
indent=indent@entry=8.535826771653543, padding=1) at page-layout-problem.cc:549
#30 0x00005555557d2551 in Page_layout_problem::Page_layout_problem 
(this=0x7fffffff8b90, pb=<optimized out>, page_scm=<optimized out>, 
systems=0x7ffff04c9e60) at page-layout-problem.cc:479
#31 0x000055555576b8c2 in Page_breaking::make_pages 
(this=this@entry=0x7fffffff9240, lines_per_page=std::vector of length 1, 
capacity 1 = {...}, systems=systems@entry=0x7ffff04c9e80) at 
page-breaking.cc:624
#32 0x000055555571759d in Optimal_page_breaking::solve 
(this=this@entry=0x7fffffff9240) at optimal-page-breaking.cc:219
#33 0x00005555555c9873 in ly_optimal_breaking (pb=<optimized out>) at 
page-breaking-scheme.cc:43
#34 0x00007ffff7928012 in scm_dapply (proc=0x7ffff3e20cc0, arg1=0x7ffff0bdcdb0, 
args=0x404) at eval.c:4895
#35 0x00005555556e84d1 in Paper_book::pages (this=this@entry=0x555555d31430) at 
paper-book.cc:654
#36 0x00005555556e8814 in Paper_book::output_aux 
(this=this@entry=0x555555d31430, 
output_channel=output_channel@entry=0x7ffff3232d40, is_last=is_last@entry=true, 
first_page_number=first_page_number@entry=0x7fffffff9540,
    first_performance_number=first_performance_number@entry=0x7fffffff9548) at 
paper-book.cc:162
#37 0x00005555556e8aaa in Paper_book::output (this=this@entry=0x555555d31430, 
output_channel=output_channel@entry=0x7ffff3232d40) at paper-book.cc:185
#38 0x00005555555dea01 in ly_book_process (book_smob=<optimized out>, 
default_paper=0x7ffff0ebcad0, default_layout=0x7ffff10d4c70, 
output=0x7ffff3232d40) at book-scheme.cc:79
#39 0x00007ffff79281bf in scm_dapply (proc=0x7ffff35774f0, arg1=0x7ffff3e37520, 
args=0x7ffff0bdcdd0, args@entry=0x404) at eval.c:4930
#40 0x00007ffff7929158 in deval (x=<optimized out>, env=<optimized out>) at 
eval.c:4378
#41 0x00007ffff7930adc in scm_i_eval (exp=<optimized out>, env=<optimized out>) 
at eval.c:5910
#42 0x00007ffff7930b26 in scm_primitive_eval (exp=<optimized out>) at 
eval.c:5935
#43 0x0000555555598db0 in internal_ly_eval_scm (ps=ps@entry=0x7fffffff9900) at 
parse-scm.cc:108
#44 0x0000555555598f3b in ly_eval_scm (form=form@entry=0x7ffff0be0620, i=..., 
safe=safe@entry=false, parser=parser@entry=0x555555bce9d0) at parse-scm.cc:181
#45 0x0000555555825905 in Lily_lexer::eval_scm (this=this@entry=0x555555c3caf0, 
readerdata=readerdata@entry=0x7ffff0be0620, hi=..., 
extra_token=extra_token@entry=35 '#') at lexer.ll:1116
#46 0x000055555583a509 in Lily_lexer::eval_scm_token (this=0x555555c3caf0, 
sval=0x7ffff0be0620, w=...) at ./include/lily-lexer.hh:59
#47 0x000055555582fd77 in yyparse (parser=parser@entry=0x555555bce9d0, 
retval=retval@entry=0x7fffffffb7b0) at parser.yy:434
#48 0x000055555583a464 in Lily_parser::do_yyparse 
(this=this@entry=0x555555bce9d0) at parser.yy:3625
#49 0x000055555572fbc8 in Lily_parser::parse_file 
(this=this@entry=0x555555bce9d0, init="init.ly", name="test.ly", 
out_name="test") at lily-parser.cc:124
#50 0x00005555557357cb in ly_parse_file (name=<optimized out>) at 
lily-parser-scheme.cc:121
#51 0x00007ffff792a1bb in deval (x=<optimized out>, x@entry=0x7ffff1c0e920, 
env=<optimized out>, env@entry=0x7ffff1b481f0) at eval.c:4232
#52 0x00007ffff792878d in scm_dapply (proc=0x7ffff1b48320, arg1=<optimized 
out>, args=0x7ffff1b481f0) at eval.c:5012
#53 0x00007ffff7980d28 in scm_c_catch (tag=<optimized out>, 
body=body@entry=0x7ffff7980630 <scm_body_thunk>, 
body_data=body_data@entry=0x7fffffffc3d0, handler=0x7ffff7980640 
<scm_handle_by_proc>, handler_data=handler_data@entry=0x7fffffffc3c8, 
pre_unwind_handler=0x0,
    pre_unwind_handler_data=0x7fffffffc3c0) at throw.c:203
#54 0x00007ffff7980e4d in scm_catch_with_pre_unwind_handler (key=<optimized 
out>, thunk=<optimized out>, handler=<optimized out>, 
pre_unwind_handler=<optimized out>) at throw.c:587
#55 0x00007ffff79281bf in scm_dapply (proc=0x7ffff35774f0, arg1=0x7ffff3f6cd80, 
args=0x7ffff1b48260, args@entry=0x404) at eval.c:4930
#56 0x00007ffff7929158 in deval (x=<optimized out>, env=<optimized out>, 
env@entry=0x7ffff1b484d0) at eval.c:4378
#57 0x00007ffff79293f7 in deval (x=0x7ffff1c11b60, x@entry=0x7ffff1c121d0, 
env=0x7ffff1b484d0, env@entry=0x7ffff1b49e00) at eval.c:3397
#58 0x00007ffff792878d in scm_dapply (proc=0x7ffff1b49f10, arg1=<optimized 
out>, args=0x7ffff1b49e00) at eval.c:5012
#59 0x00007ffff2091570 in scm_srfi1_for_each (proc=0x7ffff1b49ec0, 
arg1=0x7ffff1b49f50, args=<optimized out>) at srfi-1.c:1516
#60 0x00007ffff7929525 in deval (x=<optimized out>, env=<optimized out>, 
env@entry=0x7ffff1b49800) at eval.c:4509
#61 0x00007ffff79293f7 in deval (x=0x7ffff1c11060, env=0x7ffff1b49800, 
env@entry=0x7ffff1b49e70) at eval.c:3397
#62 0x00007ffff7929a3b in deval (x=0x7ffff1b49a30, x@entry=0x7ffff1c179f0, 
env=env@entry=0x7ffff1b49e70) at eval.c:3648
#63 0x00007ffff792878d in scm_dapply (proc=0x7ffff1c17400, arg1=<optimized 
out>, args=0x7ffff1b49e70) at eval.c:5012
#64 0x0000555555710d6b in main_with_guile () at main.cc:533
#65 0x00007ffff7942fdf in invoke_main_func (body_data=0x7fffffffd400) at 
init.c:367
#66 0x00007ffff791aa6a in c_body (d=d@entry=0x7fffffffd3a0) at 
continuations.c:349
#67 0x00007ffff7980d28 in scm_c_catch (tag=tag@entry=0x104, 
body=body@entry=0x7ffff791aa60 <c_body>, 
body_data=body_data@entry=0x7fffffffd3a0, handler=handler@entry=0x7ffff791aa80 
<c_handler>, handler_data=handler_data@entry=0x7fffffffd3a0,
    pre_unwind_handler=pre_unwind_handler@entry=0x7ffff7981310 
<scm_handle_by_message_noexit>, pre_unwind_handler_data=0x0) at throw.c:203
#68 0x00007ffff791b044 in scm_i_with_continuation_barrier 
(body=body@entry=0x7ffff791aa60 <c_body>, 
body_data=body_data@entry=0x7fffffffd3a0, handler=handler@entry=0x7ffff791aa80 
<c_handler>, handler_data=handler_data@entry=0x7fffffffd3a0,
    pre_unwind_handler=0x7ffff7981310 <scm_handle_by_message_noexit>, 
pre_unwind_handler_data=pre_unwind_handler_data@entry=0x0) at 
continuations.c:325
#69 0x00007ffff791b120 in scm_c_with_continuation_barrier 
(func=func@entry=0x7ffff7942fc0 <invoke_main_func>, 
data=data@entry=0x7fffffffd400) at continuations.c:367
#70 0x00007ffff797f0b6 in scm_i_with_guile_and_parent (func=0x7ffff7942fc0 
<invoke_main_func>, data=0x7fffffffd400, parent=<optimized out>) at 
threads.c:733
#71 0x00007ffff7943155 in scm_boot_guile (argc=<optimized out>, argv=<optimized 
out>, main_func=<optimized out>, closure=<optimized out>) at init.c:350
#72 0x0000555555586b85 in main (argc=2, argv=0x7fffffffd588, envp=<optimized 
out>) at main.cc:808

-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me on any social network.

On Mondays I feel like Robinson -- I’m waiting for Friday.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to