lilypond-auto
[Top][All Lists]
Advanced

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

[Lilypond-auto] Issue 3490 in lilypond: Crash in orchestra.ly


From: lilypond
Subject: [Lilypond-auto] Issue 3490 in lilypond: Crash in orchestra.ly
Date: Fri, 09 Aug 2013 10:57:32 +0000

Status: Accepted
Owner: address@hidden
CC: address@hidden
Labels: Type-Crash

New issue 3490 by address@hidden: Crash in orchestra.ly
http://code.google.com/p/lilypond/issues/detail?id=3490

This would appear to be the problem mentioned in <URL:http://code.google.com/p/lilypond/issues/detail?id=3255#c46>.

There are several mailing list threads about it, see <URL:http://lists.gnu.org/archive/html/lilypond-devel/2013-06/msg00208.html>. The indicated problematic patch would be

35d5f2e2ff40e0bd35cf00f22c2428eac354e566 is the first bad commit
commit 35d5f2e2ff40e0bd35cf00f22c2428eac354e566
Author: David Kastrup <address@hidden>
Date:   Sat Apr 27 18:31:01 2013 +0200

   Let stack-lines deal properly with vertical spacing (X-empty stencils)

which is a rewrite of stack-lines that does not appear to have the potential to trigger this problem on its own: the previously introduced primitive ly:stencil-stack and/or the changed exact structure generated by stack-lines would appear to be responsible for the later segmentation fault.

Keith mentions redefinition of \vspace as a problem vector, but this is no longer done in the present version and has not affected the crash.

The relevant backtrace is

#0  0x000000000068583d in Skyline (this=0x7fff83458b48, src=...)
    at /home/phil/lilypond-git/lily/skyline.cc:468
#1  0x00000000004141d9 in Drul_array (this=0x7fff83458b30)
    at /home/phil/lilypond-git/flower/include/drul-array.hh:31
#2  0x0000000000414269 in Skyline_pair (this=0x7fff83458b30)
    at /home/phil/lilypond-git/lily/include/skyline-pair.hh:26
#3 0x0000000000675e6a in Side_position_interface::aligned_side (me=0x2c1d750,
    a=Y_AXIS, pure=true, start=0, end=24, current_off=0x0)
    at /home/phil/lilypond-git/lily/side-position-interface.cc:240
#4  0x0000000000674657 in axis_aligned_side_helper (smob=0x2abd80fa1950,
    a=Y_AXIS, pure=true, start=0, end=24, current_off_scm=0x204)
    at /home/phil/lilypond-git/lily/side-position-interface.cc:114
#5  0x000000000067536b in Side_position_interface::pure_y_aligned_side (
    smob=0x2abd80fa1950, start=0x2, end=0x62, cur_off=0x204)
    at /home/phil/lilypond-git/lily/side-position-interface.cc:143
#6  0x00002abd795f5857 in scm_dapply () from /usr/lib/libguile.so.17
#7  0x0000000000523d1f in call_pure_function (unpure=0x2abd7e383ea0,
    args=0x2abd7ef99df0, start=0, end=24)
    at /home/phil/lilypond-git/lily/grob-property.cc:340
#8  0x000000000052fffe in Grob::pure_relative_y_coordinate (this=0x2c1d750,
    refp=0x2c1d800, start=0, end=24)
    at /home/phil/lilypond-git/lily/grob.cc:371
#9  0x0000000000548203 in Item::pure_height (this=0x2c1d750, g=0x2c1d800,
    start=0, end=24) at /home/phil/lilypond-git/lily/item.cc:243
#10 0x0000000000439bd5 in Axis_group_interface::adjacent_pure_heights (
    smob=0x2abd80f9b3a0)
    at /home/phil/lilypond-git/lily/axis-group-interface.cc:300
#11 0x00002abd795f530e in scm_dapply () from /usr/lib/libguile.so.17
#12 0x00000000005238ce in Grob::try_callback_on_alist (this=0x2c1d800,
    alist=0x2c1d860, sym=0x2abd7d1b2ec0, proc=0x2abd7d0a8c00)
    at /home/phil/lilypond-git/lily/grob-property.cc:232
#13 0x0000000000523680 in Grob::internal_get_property (this=0x2c1d800,
    sym=0x2abd7d1b2ec0) at /home/phil/lilypond-git/lily/grob-property.cc:189
#14 0x0000000000438d8b in Axis_group_interface::part_of_line_pure_height (
    me=0x2c1d800, begin=true, start=0, end=1)
    at /home/phil/lilypond-git/lily/axis-group-interface.cc:174
#15 0x0000000000438f59 in Axis_group_interface::begin_of_line_pure_height (
    me=0x2c1d800, start=0)
    at /home/phil/lilypond-git/lily/axis-group-interface.cc:198
#16 0x0000000000438b2f in Axis_group_interface::sum_partial_pure_heights (
    me=0x2c1d800, start=0, end=2147483647)
    at /home/phil/lilypond-git/lily/axis-group-interface.cc:157
#17 0x000000000043a191 in Axis_group_interface::relative_pure_height (
    me=0x2c1d800, start=0, end=2147483647)
    at /home/phil/lilypond-git/lily/axis-group-interface.cc:347
#18 0x000000000043da75 in Axis_group_interface::pure_group_height (
    me=0x2c1d800, start=0, end=2147483647)
    at /home/phil/lilypond-git/lily/axis-group-interface.cc:580
#19 0x0000000000539563 in Hara_kiri_group_spanner::pure_height (
    smob=0x2abd80f9b3a0, start_scm=0x2, end_scm=0x1fffffffe)
    at /home/phil/lilypond-git/lily/hara-kiri-group-spanner.cc:58
#20 0x00002abd795f5779 in scm_dapply () from /usr/lib/libguile.so.17
#21 0x0000000000523d1f in call_pure_function (unpure=0x2abd7e1bc580,
    args=0x2abd7f2b51b0, start=0, end=2147483647)
    at /home/phil/lilypond-git/lily/grob-property.cc:340
#22 0x000000000052371e in Grob::internal_get_pure_property (this=0x2c1d800,
    sym=0x2abd7e4474a0, start=0, end=2147483647)
    at /home/phil/lilypond-git/lily/grob-property.cc:201
#23 0x0000000000530b85 in Grob::pure_height (this=0x2c1d800, refp=0x2c1d800,
    start=0, end=2147483647) at /home/phil/lilypond-git/lily/grob.cc:497
#24 0x000000000041ebd8 in get_skylines (g=0x2c1d800, a=Y_AXIS,
    other_common=0x2f59730, pure=true, start=0, end=2147483647)
    at /home/phil/lilypond-git/lily/align-interface.cc:96
#25 0x000000000041f366 in Align_interface::internal_get_minimum_translations ( me=0x2c247d0, elems=..., a=Y_AXIS, include_fixed_spacing=true, pure=true,
    start=0, end=2147483647)
    at /home/phil/lilypond-git/lily/align-interface.cc:212
#26 0x000000000041eefc in Align_interface::get_pure_minimum_translations (
    me=0x2c247d0, all_grobs=..., a=Y_AXIS, start=0, end=2147483647)
    at /home/phil/lilypond-git/lily/align-interface.cc:146
#27 0x000000000042002e in Align_interface::get_pure_child_y_translation (
    me=0x2c247d0, ch=0x2c1e860, start=0, end=2147483647)
    at /home/phil/lilypond-git/lily/align-interface.cc:313
#28 0x00000000005300e8 in Grob::pure_relative_y_coordinate (this=0x2c1e860,
    refp=0x2f6c170, start=0, end=2147483647)
    at /home/phil/lilypond-git/lily/grob.cc:386
#29 0x0000000000530119 in Grob::pure_relative_y_coordinate (this=0x2c1dd30,
    refp=0x2f6c170, start=0, end=2147483647)
    at /home/phil/lilypond-git/lily/grob.cc:388
#30 0x0000000000548203 in Item::pure_height (this=0x2c1dd30, g=0x2f6c170,
    start=0, end=2147483647) at /home/phil/lilypond-git/lily/item.cc:243
#31 0x0000000000671ae7 in Separation_item::boxes (me=0x2f59730, left=0x0)
    at /home/phil/lilypond-git/lily/separation-item.cc:160
#32 0x0000000000671552 in Separation_item::calc_skylines (smob=0x2abd8001c060)
    at /home/phil/lilypond-git/lily/separation-item.cc:91
#33 0x00002abd795f530e in scm_dapply () from /usr/lib/libguile.so.17
#34 0x00000000005238ce in Grob::try_callback_on_alist (this=0x2f59730,
    alist=0x2f59790, sym=0x2abd7e4477a0, proc=0x2abd7d03b300)
    at /home/phil/lilypond-git/lily/grob-property.cc:232
#35 0x0000000000523680 in Grob::internal_get_property (this=0x2f59730,
    sym=0x2abd7e4477a0) at /home/phil/lilypond-git/lily/grob-property.cc:189
#36 0x000000000060fadb in Paper_column::minimum_distance (left=0x2f59730,
    right=0x2fc2920) at /home/phil/lilypond-git/lily/paper-column.cc:174
#37 0x000000000059bc62 in Multi_measure_rest::calculate_spacing_rods (
    me=0x2c1d910, length=4)
    at /home/phil/lilypond-git/lily/multi-measure-rest.cc:395
#38 0x000000000059c256 in Multi_measure_rest::set_spacing_rods (
    smob=0x2abd80f9b2b0)
    at /home/phil/lilypond-git/lily/multi-measure-rest.cc:409
#39 0x00002abd795f530e in scm_dapply () from /usr/lib/libguile.so.17
#40 0x00000000005238ce in Grob::try_callback_on_alist (this=0x2c1d910,
    alist=0x2c1d970, sym=0x2abd7e447a60, proc=0x2abd7d0da920)
    at /home/phil/lilypond-git/lily/grob-property.cc:232
#41 0x0000000000523680 in Grob::internal_get_property (this=0x2c1d910,
    sym=0x2abd7e447a60) at /home/phil/lilypond-git/lily/grob-property.cc:189
#42 0x000000000070726f in System::pre_processing (this=0x2f6c170)
    at /home/phil/lilypond-git/lily/system.cc:533
#43 0x0000000000615fdd in Paper_score::process (this=0x2f596a0)
    at /home/phil/lilypond-git/lily/paper-score.cc:140
#44 0x000000000051081e in ly_format_output (context=0x2abd800784b0)
    at /home/phil/lilypond-git/lily/global-context-scheme.cc:45
#45 0x00000000006620c7 in Score::book_rendering (this=0x2f4d2a0,
    layoutbook=0x2e37490, default_def=0x2cfdd40)
    at /home/phil/lilypond-git/lily/score.cc:156
#46 0x0000000000483aa8 in Book::process_score (this=0x2cfaa60,
    s=0x2abd800adb20, output_paper_book=0x2e37420, layout=0x2cfdd40)
    at /home/phil/lilypond-git/lily/book.cc:236
#47 0x0000000000483e69 in Book::process (this=0x2cfaa60,
    default_paper=0x2ee8380, default_layout=0x2cfdd40, parent_part=0x0)
    at /home/phil/lilypond-git/lily/book.cc:302
#48 0x0000000000483959 in Book::process (this=0x2cfaa60,
    default_paper=0x2ee8380, default_layout=0x2cfdd40)
    at /home/phil/lilypond-git/lily/book.cc:207
#49 0x0000000000480508 in ly_book_process (book_smob=0x2abd800ef140,
    default_paper=0x2abd8093c690, default_layout=0x2abd80bc6450,
    output=0x2abd7e0a5600) at /home/phil/lilypond-git/lily/book-scheme.cc:76
#50 0x00002abd795f5857 in scm_dapply () from /usr/lib/libguile.so.17
#51 0x00002abd795f64e5 in ?? () from /usr/lib/libguile.so.17
#52 0x0000000000618883 in internal_ly_eval_scm (ps=0x7fff8345b090)
    at /home/phil/lilypond-git/lily/parse-scm.cc:105
#53 0x0000000000618b39 in ly_eval_scm (form=0x2abd800f0ad0, i=..., safe=false,
    parser=0x2b5f220) at /home/phil/lilypond-git/lily/parse-scm.cc:179
#54 0x000000000076d767 in Lily_lexer::eval_scm (this=0x2b28380,
    readerdata=0x2abd800efee0, extra_token=35 '#')
    at /home/phil/lilypond-git/lily/lexer.ll:1079
#55 0x0000000000784e82 in Lily_lexer::eval_scm_token (this=0x2b28380,
    sval=0x2abd800efee0)
    at /home/phil/lilypond-git/lily/include/lily-lexer.hh:56
#56 0x0000000000770016 in yyparse (parser=0x2b5f220, retval=0x7fff8345f238)
    at /home/phil/lilypond-git/lily/parser.yy:452
#57 0x0000000000783d79 in Lily_parser::do_yyparse (this=0x2b5f220)
    at /home/phil/lilypond-git/lily/parser.yy:3463
#58 0x0000000000562f6d in Lily_parser::parse_file (this=0x2b5f220, init=...,
name=..., out_name=...) at /home/phil/lilypond-git/lily/lily-parser.cc:124
#59 0x000000000055e43c in ly_parse_file (name=0x2abd7e148160)
    at /home/phil/lilypond-git/lily/lily-parser-scheme.cc:121
#60 0x00002abd795f7a02 in ?? () from /usr/lib/libguile.so.17
#61 0x00002abd795f58d8 in scm_dapply () from /usr/lib/libguile.so.17
#62 0x00002abd7964a72d in scm_c_catch () from /usr/lib/libguile.so.17
#63 0x00002abd7964a92e in scm_catch_with_pre_unwind_handler ()
   from /usr/lib/libguile.so.17
#64 0x00002abd795f5857 in scm_dapply () from /usr/lib/libguile.so.17
#65 0x00002abd795f64e5 in ?? () from /usr/lib/libguile.so.17
#66 0x00002abd795f66e4 in ?? () from /usr/lib/libguile.so.17
#67 0x00002abd795f58d8 in scm_dapply () from /usr/lib/libguile.so.17
#68 0x00002abd7e474a8a in scm_srfi1_for_each ()
   from /usr/lib/libguile-srfi-srfi-1-v-3.so.3
#69 0x00002abd795f775b in ?? () from /usr/lib/libguile.so.17
#70 0x00002abd795f66e4 in ?? () from /usr/lib/libguile.so.17
#71 0x00002abd795f73d4 in ?? () from /usr/lib/libguile.so.17
#72 0x00002abd795f58d8 in scm_dapply () from /usr/lib/libguile.so.17
#73 0x000000000057a34f in main_with_guile ()
    at /home/phil/lilypond-git/lily/main.cc:533
#74 0x00002abd7960da5f in ?? () from /usr/lib/libguile.so.17
#75 0x00002abd795e3d6a in ?? () from /usr/lib/libguile.so.17
#76 0x00002abd7964a72d in scm_c_catch () from /usr/lib/libguile.so.17
#77 0x00002abd795e4207 in scm_i_with_continuation_barrier ()
   from /usr/lib/libguile.so.17
#78 0x00002abd795e42a0 in scm_c_with_continuation_barrier ()
   from /usr/lib/libguile.so.17
#79 0x00002abd79649634 in scm_i_with_guile_and_parent ()
   from /usr/lib/libguile.so.17
#80 0x00002abd7960da15 in scm_boot_guile () from /usr/lib/libguile.so.17
#81 0x000000000057bb13 in main (argc=6, argv=0x7fff834608e8,
    envp=0x7fff83460920) at /home/phil/lilypond-git/lily/main.cc:808

A later user report of the same problem <URL:http://lists.gnu.org/archive/html/lilypond-devel/2013-08/msg00034.html> gives a similar core dump and locates the problem somewhere between version 2.17.18 and 2.17.19, consistent with the result of Phil's bisection.

The crash occurs with a command like
/home/abuild/rpmbuild/BUILD/lilypond-2.17.19/scripts/build/out/run-and-check
"/usr/bin/lilypond -dpreview -dresolution=150 -o ./out-www
orchestra.ly" "orchestra.preview.log"

Normal compilation of the file does not appear to exhibit a problem. The relevant difference may be -dpreview though it is unclear why.


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



reply via email to

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