"Phil Holmes" <em...@philholmes.net> writes: > As I've said earlier, I consistently get a crash trying to make doc, > and the crash continues to occur whilst making the preview of > orchestra.ly. I've followed David's instructions and created the > attached backtrace. This was created using ../configure > --disable-optimising (the same happens without the switch). > > Is this any use for working out what's happening?
Sure. > #0 std::_List_const_iterator<Building>::operator* (this=0x7fff5f66d3e8, > src=<value optimised out>) > at /home/phil/lilypond-git/lily/skyline.cc:468 > #1 Skyline (this=0x7fff5f66d3e8, src=<value optimised out>) at > /home/phil/lilypond-git/lily/skyline.cc:468 > #2 0x00000000005fdd1f in Drul_array (me=0x1e17230, a=<value optimised > out>, pure=<value optimised out>, start=<value optimised out>, > end=<value optimised out>, current_off=<value optimised out>) > at /home/phil/lilypond-git/flower/include/drul-array.hh:31 > #3 Skyline_pair (me=0x1e17230, a=<value optimised out>, pure=<value > optimised out>, start=<value optimised out>, end=<value optimised > out>, current_off=<value optimised out>) This actually sounds a lot like _not_ being compiled without optimization. Sure that you did not misspell the option or forgot make clean or whatever else? > at /home/phil/lilypond-git/lily/include/skyline-pair.hh:26 > #4 Side_position_interface::aligned_side (me=0x1e17230, a=<value > optimised out>, pure=<value optimised out>, start=<value optimised > out>, end=<value optimised out>, current_off=<value optimised out>) > at /home/phil/lilypond-git/lily/side-position-interface.cc:240 > #5 0x00000000005fe66c in axis_aligned_side_helper > (smob=0x2ad1e0b5e7a0, start=<value optimised out>, end=<value > optimised out>, cur_off=0x204) at > /home/phil/lilypond-git/lily/side-position-interface.cc:114 > #6 Side_position_interface::pure_y_aligned_side (smob=0x2ad1e0b5e7a0, > start=<value optimised out>, end=<value optimised out>, > cur_off=0x204) at > /home/phil/lilypond-git/lily/side-position-interface.cc:143 > #7 0x00002ad1d91b3857 in scm_dapply () from /usr/lib/libguile.so.17 > #8 0x00000000004e93ff in Grob::pure_relative_y_coordinate (this=0x1e17230, > refp=0x1e172e0, start=0, end=24) > at /home/phil/lilypond-git/lily/grob.cc:371 > #9 0x00000000004f9190 in Item::pure_height (this=0x1e17230, g=0x1e172e0, > start=0, end=24) > at /home/phil/lilypond-git/lily/item.cc:243 > #10 0x000000000042b6bd in Axis_group_interface::adjacent_pure_heights > (smob=<value optimised out>) > at /home/phil/lilypond-git/lily/axis-group-interface.cc:300 > #11 0x00002ad1d91b330e in scm_dapply () from /usr/lib/libguile.so.17 > #12 0x00000000004db90a in Grob::try_callback_on_alist (this=0x1e172e0, > alist=0x1e17340, sym=0x2ad1dcd70ec0, proc=0x2ad1dcc66c00) at > /home/phil/lilypond-git/lily/grob-property.cc:232 > #13 0x0000000000428e5b in > Axis_group_interface::part_of_line_pure_height (me=0x1e172e0, > begin=true, start=0, end=1) at > /home/phil/lilypond-git/lily/axis-group-interface.cc:174 > #14 0x0000000000429ad4 in > Axis_group_interface::begin_of_line_pure_height (me=0x1e172e0, > start=0, end=2147483647) at > /home/phil/lilypond-git/lily/axis-group-interface.cc:198 > #15 Axis_group_interface::sum_partial_pure_heights (me=0x1e172e0, start=0, > end=2147483647) > at /home/phil/lilypond-git/lily/axis-group-interface.cc:157 > #16 Axis_group_interface::relative_pure_height (me=0x1e172e0, start=0, > end=2147483647) > at /home/phil/lilypond-git/lily/axis-group-interface.cc:347 > #17 0x0000000000429cec in Axis_group_interface::pure_group_height > (me=0x1e172e0, start=0, end=2147483647) > at /home/phil/lilypond-git/lily/axis-group-interface.cc:580 > #18 0x00000000004ee24f in Hara_kiri_group_spanner::pure_height > (smob=<value optimised out>, start_scm=<value optimised out>, > end_scm=<value optimised out>) > at /home/phil/lilypond-git/lily/hara-kiri-group-spanner.cc:58 > #19 0x00002ad1d91b3779 in scm_dapply () from /usr/lib/libguile.so.17 > #20 0x00000000004e9548 in Grob::pure_height (this=0x1e172e0, refp=0x1e172e0, > start=0, end=2147483647) > at /home/phil/lilypond-git/lily/grob.cc:497 > #21 0x00000000004169a8 in get_skylines (me=<value optimised out>, > elems=..., a=<value optimised out>, include_fixed_spacing=<value > optimised out>, pure=<value optimised out>, start=0, end=2147483647) > at /home/phil/lilypond-git/lily/align-interface.cc:96 > #22 Align_interface::internal_get_minimum_translations (me=<value > optimised out>, elems=..., a=<value optimised out>, > include_fixed_spacing=<value optimised out>, pure=<value optimised > out>, start=0, end=2147483647) at > /home/phil/lilypond-git/lily/align-interface.cc:212 > #23 0x000000000041719d in > Align_interface::get_pure_minimum_translations (me=0x1e1e2b0, > ch=0x1e18340, start=0, end=2147483647) at > /home/phil/lilypond-git/lily/align-interface.cc:146 > #24 Align_interface::get_pure_child_y_translation (me=0x1e1e2b0, > ch=0x1e18340, start=0, end=2147483647) > at /home/phil/lilypond-git/lily/align-interface.cc:313 > #25 0x00000000004e9328 in Grob::pure_relative_y_coordinate > (this=0x1e18340, refp=0x2164ea0, start=0, end=2147483647) at > /home/phil/lilypond-git/lily/grob.cc:386 > #26 0x00000000004e92de in Grob::pure_relative_y_coordinate > (this=0x1e17810, refp=0x2164ea0, start=0, end=2147483647) at > /home/phil/lilypond-git/lily/grob.cc:388 > #27 0x00000000004f9190 in Item::pure_height (this=0x1e17810, g=0x2164ea0, > start=0, end=2147483647) > at /home/phil/lilypond-git/lily/item.cc:243 > #28 0x00000000005f81dc in Separation_item::boxes (me=<value optimised out>, > left=<value optimised out>) > at /home/phil/lilypond-git/lily/separation-item.cc:160 > #29 0x00000000005f862f in Separation_item::calc_skylines (smob=<value > optimised out>) > at /home/phil/lilypond-git/lily/separation-item.cc:91 > #30 0x00002ad1d91b330e in scm_dapply () from /usr/lib/libguile.so.17 > #31 0x00000000004db90a in Grob::try_callback_on_alist (this=0x2152460, > alist=0x21524c0, sym=0x2ad1de005aa0, proc=0x2ad1dcbfb6e0) at > /home/phil/lilypond-git/lily/grob-property.cc:232 > #32 0x00000000005a223d in Paper_column::minimum_distance (left=0x2152460, > right=<value optimised out>) > at /home/phil/lilypond-git/lily/paper-column.cc:174 > #33 0x000000000053f6b2 in Multi_measure_rest::calculate_spacing_rods > (me=0x1e173f0, length=<value optimised out>) at > /home/phil/lilypond-git/lily/multi-measure-rest.cc:395 > #34 0x0000000000540318 in Multi_measure_rest::set_spacing_rods (smob=<value > optimised out>) > at /home/phil/lilypond-git/lily/multi-measure-rest.cc:409 > #35 0x00002ad1d91b330e in scm_dapply () from /usr/lib/libguile.so.17 > #36 0x00000000004db90a in Grob::try_callback_on_alist (this=0x1e173f0, > alist=0x1e17450, sym=0x2ad1de005d60, proc=0x2ad1dcc9b0a0) at > /home/phil/lilypond-git/lily/grob-property.cc:232 > #37 0x000000000067564c in System::pre_processing (this=0x2164ea0) > at /home/phil/lilypond-git/lily/system.cc:533 > #38 0x00000000005a60ef in Paper_score::process (this=0x21523d0) > at /home/phil/lilypond-git/lily/paper-score.cc:140 > #39 0x00000000004cdc53 in ly_format_output (context=<value optimised out>) > at /home/phil/lilypond-git/lily/global-context-scheme.cc:45 > #40 0x00000000005ea537 in Score::book_rendering (this=0x2145fd0, > layoutbook=<value optimised out>, default_def=<value optimised out>) > at /home/phil/lilypond-git/lily/score.cc:156 > #41 0x000000000045b45c in Book::process_score (this=<value optimised > out>, s=<value optimised out>, output_paper_book=0x2030150, > layout=0x2380f80) at /home/phil/lilypond-git/lily/book.cc:236 > #42 0x000000000045c78f in Book::process (this=0x1ef3820, > default_paper=<value optimised out>, default_layout=0x1ef6b00, > parent_part=0x0) at /home/phil/lilypond-git/lily/book.cc:302 > #43 0x0000000000458efb in ly_book_process (book_smob=0x2ad1dfca2070, > default_paper=0x2ad1e04ef5c0, default_layout=0x2ad1e0779380, > output=0x2ad1ddc636e0) at > /home/phil/lilypond-git/lily/book-scheme.cc:76 > #44 0x00002ad1d91b3857 in scm_dapply () from /usr/lib/libguile.so.17 > #45 0x00002ad1d91b44e5 in ?? () from /usr/lib/libguile.so.17 > #46 0x00000000005a8947 in ly_eval_scm (form=0x2ad1dfca3a00, i= > DWARF-2 expression error: DW_OP_reg operations must be used either alone or > in conjuction with DW_OP_piece. > ) at /home/phil/lilypond-git/lily/parse-scm.cc:179 > #47 0x00000000006c3e8d in Lily_lexer::eval_scm (this=0x1d21350, > readerdata=0x2ad1dfca2e10, extra_token=35 '#') > at /home/phil/lilypond-git/lily/lexer.ll:1079 > #48 0x00000000006cb8c0 in Lily_lexer::eval_scm_token (parser=0x1db1430, > retval=<value optimised out>) > at /home/phil/lilypond-git/lily/include/lily-lexer.hh:56 > #49 yyparse (parser=0x1db1430, retval=<value optimised out>) at > /home/phil/lilypond-git/lily/parser.yy:452 > #50 0x00000000006d4d77 in Lily_parser::do_yyparse (this=0x30) at > /home/phil/lilypond-git/lily/parser.yy:3463 > #51 0x0000000000510f08 in Lily_parser::parse_file (this=0x1db1430, > init=<value optimised out>, name=<value optimised out>, > out_name=<value optimised out>) > at /home/phil/lilypond-git/lily/lily-parser.cc:124 > #52 0x000000000050d67a in ly_parse_file (name=<value optimised out>) > at /home/phil/lilypond-git/lily/lily-parser-scheme.cc:121 > #53 0x00002ad1d91b5a02 in ?? () from /usr/lib/libguile.so.17 > #54 0x00002ad1d91b38d8 in scm_dapply () from /usr/lib/libguile.so.17 > #55 0x00002ad1d920872d in scm_c_catch () from /usr/lib/libguile.so.17 > #56 0x00002ad1d920892e in scm_catch_with_pre_unwind_handler () from > /usr/lib/libguile.so.17 > #57 0x00002ad1d91b3857 in scm_dapply () from /usr/lib/libguile.so.17 > #58 0x00002ad1d91b44e5 in ?? () from /usr/lib/libguile.so.17 > #59 0x00002ad1d91b46e4 in ?? () from /usr/lib/libguile.so.17 > #60 0x00002ad1d91b38d8 in scm_dapply () from /usr/lib/libguile.so.17 > #61 0x00002ad1de032a8a in scm_srfi1_for_each () from > /usr/lib/libguile-srfi-srfi-1-v-3.so.3 > #62 0x00002ad1d91b575b in ?? () from /usr/lib/libguile.so.17 > #63 0x00002ad1d91b46e4 in ?? () from /usr/lib/libguile.so.17 > #64 0x00002ad1d91b53d4 in ?? () from /usr/lib/libguile.so.17 > #65 0x00002ad1d91b38d8 in scm_dapply () from /usr/lib/libguile.so.17 > #66 0x000000000052327a in main_with_guile () at > /home/phil/lilypond-git/lily/main.cc:533 > #67 0x00002ad1d91cba5f in ?? () from /usr/lib/libguile.so.17 > #68 0x00002ad1d91a1d6a in ?? () from /usr/lib/libguile.so.17 > #69 0x00002ad1d920872d in scm_c_catch () from /usr/lib/libguile.so.17 > #70 0x00002ad1d91a2207 in scm_i_with_continuation_barrier () from > /usr/lib/libguile.so.17 > #71 0x00002ad1d91a22a0 in scm_c_with_continuation_barrier () from > /usr/lib/libguile.so.17 > #72 0x00002ad1d9207634 in scm_i_with_guile_and_parent () from > /usr/lib/libguile.so.17 > #73 0x00002ad1d91cba15 in scm_boot_guile () from /usr/lib/libguile.so.17 > #74 0x00000000005252cf in main (argc=6, argv=0x7fff5f673ea8, envp=<value > optimised out>) > at /home/phil/lilypond-git/lily/main.cc:808 But that is a different backtrace: > #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 All this is definitely already helpful. What's disconcerting is that it's again in the skyline code: are your backtraces now from a code where the commit for issue 3383 has already been reverted? Or do they correspond to any situation between commit 2210b8053b053726ae598f31b62456df1e4db82b Author: David Kastrup <d...@gnu.org> Date: Thu Jul 11 16:49:59 2013 +0200 Revert "Issue3383: old-straight-flag + smaller Stem.thickness gives no outpu This reverts commit 04ce84386dc022316c347ee0c5049c852eea3421. This is a temporary measure for dealing with issue 3432. and commit 04ce84386dc022316c347ee0c5049c852eea3421 Author: David Kastrup <d...@gnu.org> Date: Thu Jun 6 17:37:44 2013 +0200 Issue3383: old-straight-flag + smaller Stem.thickness gives no output and hu This replaces the numerically imprudent y_intercept_ in buildings with start_height_ and adapts calculations. ? -- David Kastrup _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel