james@Zeus:~/Documents/scratch$ gdb /home/james/lilypond-git/build/out/bin/lilypond core GNU gdb (Ubuntu 8.1-0ubuntu3.2) 8.1.0.20180409-git Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /home/james/lilypond-git/build/out/bin/lilypond...done. [New LWP 16392] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `lilypond --pdf blah.ly'. Program terminated with signal SIGABRT, Aborted. #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 0x00007fad821e7e97 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 #1 0x00007fad821e9801 in __GI_abort () at abort.c:79 #2 0x00007fad821d939a in __assert_fail_base (fmt=0x7fad823607d8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x55b1c6f8f40f "my_index == 0", file=file@entry=0x55b1c6f8f1b8 "/home/james/lilypond-git/lily/page-breaking.cc", line=line@entry=1053, function=function@entry=0x55b1c6f8f900 > const&, std::vector > const&, std::vector >*)::__PRETTY_FUNCTION__> "void Page_breaking::line_divisions_rec(vsize, const Line_division&, const Line_division&, Page_breaking::Line_division*)") at assert.c:92 #3 0x00007fad821d9412 in __GI___assert_fail (assertion=0x55b1c6f8f40f "my_index == 0", file=0x55b1c6f8f1b8 "/home/james/lilypond-git/lily/page-breaking.cc", line=1053, function=0x55b1c6f8f900 > const&, std::vector > const&, std::vector >*)::__PRETTY_FUNCTION__> "void Page_breaking::line_divisions_rec(vsize, const Line_division&, const Line_division&, Page_breaking::Line_division*)") at assert.c:101 #4 0x000055b1c6dcac4c in Page_breaking::line_divisions_rec(unsigned long, std::vector > const&, std::vector > const&, std::vector >*) (this=0x7ffd3515fec0, system_count=5, min_sys=std::vector of length 4, capacity 4 = {...}, max_sys=std::vector of length 4, capacity 4 = {...}, cur_division=0x7ffd3515fa50) at /home/james/lilypond-git/lily/page-breaking.cc:1053 #5 0x000055b1c6dcacd5 in Page_breaking::line_divisions_rec(unsigned long, std::vector > const&, std::vector > const&, std::vector >*) (this=0x7ffd3515fec0, system_count=5, min_sys=std::vector of length 4, capacity 4 = {...}, max_sys=std::vector of length 4, capacity 4 = {...}, cur_division=0x7ffd3515fa50) at /home/james/lilypond-git/lily/page-breaking.cc:1063 #6 0x000055b1c6dc9fd5 in Page_breaking::set_current_breakpoints(unsigned long, unsigned long, unsigned long, std::vector >, std::vector >) (this=0x7ffd3515fec0, start=0, end=1, system_count=5, lower_bound=std::vector of length 4, capacity 4 = {...}, upper_bound=std::vector of length 4, capacity 4 = {...}) at /home/james/lilypond-git/lily/page-breaking.cc:908 #7 0x000055b1c6d3da02 in Optimal_page_breaking::solve() (this=0x7ffd3515fec0) at /home/james/lilypond-git/lily/optimal-page-breaking.cc:125 #8 0x000055b1c6baf90a in ly_optimal_breaking(scm_unused_struct*) (pb=0x7fad7c4bf5d0) at /home/james/lilypond-git/lily/page-breaking-scheme.cc:45 #9 0x00007fad83a9c762 in scm_dapply (proc=0x7fad7f9cce30, arg1=0x7fad7c4bf5d0, args=0x404) at eval.c:4895 #10 0x000055b1c6d27da7 in Paper_book::pages() (this=0x55b1c919f0b0) at /home/james/lilypond-git/lily/paper-book.cc:653 #11 0x000055b1c6d246ee in Paper_book::output_aux(scm_unused_struct*, bool, long*, long*) (this=0x55b1c919f0b0, output_channel=0x7fad7ed740a0, is_last=true, first_page_number=0x7ffd35160240, first_performance_number=0x7ffd35160248) at /home/james/lilypond-git/lily/paper-book.cc:148 #12 0x000055b1c6d2497b in Paper_book::output(scm_unused_struct*) (this=0x55b1c919f0b0, output_channel=0x7fad7ed740a0) at /home/james/lilypond-git/lily/paper-book.cc:171 ---Type to continue, or q to quit--- #13 0x000055b1c6d9c95d in ly_book_process(scm_unused_struct*, scm_unused_struct*, scm_unused_struct*, scm_unused_struct*) (book_smob=0x7fad7c4c1220, default_paper=0x7fad7c79f1d0, default_layout=0x7fad7c92b3e0, output=0x7fad7ed740a0) at /home/james/lilypond-git/lily/book-scheme.cc:78 #14 0x00007fad83a9c8df in scm_dapply (proc=0x7fad7f12a4f0, arg1=0x7fad7facb3b0, args=0x7fad7c4bf5f0, args@entry=0x404) at eval.c:4930 #15 0x00007fad83a9f59b in deval (x=, env=) at eval.c:4378 #16 0x000055b1c6b53372 in internal_ly_eval_scm(Parse_start*) (ps=0x7ffd35160630) at /home/james/lilypond-git/lily/parse-scm.cc:103 #17 0x000055b1c6b533a6 in catch_protected_eval_body(void*) (p=0x7ffd35160630) at /home/james/lilypond-git/lily/parse-scm.cc:115 #18 0x00007fad83aa7162 in scm_c_with_fluid (fluid=0x7fad7f0e9be0, value=0x7fad7c4c1ff0, cproc=0x55b1c6b5338e , cdata=0x7ffd35160630) at fluids.c:463 #19 0x000055b1c6b5361e in ly_eval_scm(scm_unused_struct*, Input, bool, Lily_parser*) (form=0x7fad7c4c2bb0, i=..., safe=false, parser=0x55b1c919b290) at /home/james/lilypond-git/lily/parse-scm.cc:181 #20 0x000055b1c6f10dc6 in Lily_lexer::eval_scm(scm_unused_struct*, Input, char) (this= 0x55b1c913d7f0, readerdata=0x7fad7c4c2bb0, hi=..., extra_token=35 '#') at /home/james/lilypond-git/lily/lexer.ll:1096 #21 0x000055b1c6f2dcc8 in Lily_lexer::eval_scm_token(scm_unused_struct*, Input) (this=0x55b1c913d7f0, sval=0x7fad7c4c2bb0, w=...) at /home/james/lilypond-git/lily/include/lily-lexer.hh:63 #22 0x000055b1c6f13884 in yyparse(Lily_parser*, scm_unused_struct**) (parser=0x55b1c919b290, retval=0x7ffd351629b0) at /home/james/lilypond-git/lily/parser.yy:452 #23 0x000055b1c6f2a8b2 in Lily_parser::do_yyparse_trampoline(void*) (parser=0x55b1c919b290) at /home/james/lilypond-git/lily/parser.yy:4214 #24 0x00007fad83aa7162 in scm_c_with_fluid (fluid=0x7fad7f0e9c60, value=0x7fad7d4876e0, cproc=0x55b1c6f2a87c , cdata=0x55b1c919b290) at fluids.c:463 #25 0x000055b1c6f2a874 in Lily_parser::do_yyparse() (this=0x55b1c919b290) at /home/james/lilypond-git/lily/parser.yy:4207 #26 0x000055b1c6eca30c in Lily_parser::parse_file(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&) (this=0x55b1c919b290, init="init.ly", name="blah.ly", out_name="blah") at /home/james/lilypond-git/lily/lily-parser.cc:123 #27 0x000055b1c6d76d71 in ly_parse_file(scm_unused_struct*) (name=0x7fad7ee37020) at /home/james/lilypond-git/lily/lily-parser-scheme.cc:122 #28 0x00007fad83a9f8a6 in deval (x=, x@entry=0x7fad7d6245c0, env=, env@entry=0x7fad7d487770) at eval.c:4232 #29 0x00007fad83a9cf45 in scm_dapply (proc=0x7fad7d487880, arg1=, args=0x7fad7d487770) at eval.c:5012 #30 0x00007fad83af5b03 in scm_c_catch (tag=, body=body@entry=0x7fad83af5510 , body_data=body_data@entry=0x7ffd351631e0, handler=0x7fad83af5520 , handler_data=handler_data@entry=0x7ffd351631d8, pre_unwind_handler=0x0, pre_unwind_handler_data=0x7ffd351631d0) at throw.c:204 #31 0x00007fad83af5d2d in scm_catch_with_pre_unwind_handler (key=, thunk=, handler=, pre_unwind_handler=) at throw.c:588 #32 0x00007fad83a9c8df in scm_dapply (proc=0x7fad7f12a4f0, arg1=0x7fad7fb1d940, args=0x7fad7d4877c0, args@entry=0x404) at eval.c:4930 #33 0x00007fad83a9f59b in deval (x=, env=, env@entry=0x7fad7d487a20) at eval.c:4378 ---Type to continue, or q to quit--- #34 0x00007fad83a9f98c in deval (x=0x7fad7d627770, x@entry=0x7fad7d627d90, env=0x7fad7d487a20, env@entry=0x7fad7d4922c0) at eval.c:3397 #35 0x00007fad83a9cf45 in scm_dapply (proc=0x7fad7d492c50, arg1=, args=0x7fad7d4922c0) at eval.c:5012 #36 0x00007fad7dc4441a in scm_srfi1_for_each (proc=0x7fad7d492a20, arg1=0x7fad7d488ac0, args=0x404) at srfi-1.c:1516 #37 0x00007fad83a9f77e in deval (x=, env=, env@entry=0x7fad7d488410) at eval.c:4367 #38 0x00007fad83a9f98c in deval (x=0x7fad7d626c60, env=0x7fad7d488410, env@entry=0x7fad7d488a80) at eval.c:3397 #39 0x00007fad83aa0ed4 in deval (x=0x7fad7d488640, x@entry=0x7fad7d62ced0, env=env@entry=0x7fad7d488a80) at eval.c:3648 #40 0x00007fad83a9cf45 in scm_dapply (proc=0x7fad7d62c900, arg1=, args=0x7fad7d488a80) at eval.c:5012 #41 0x000055b1c6ba1026 in Scm_variable::operator()(scm_unused_struct*) (this=0x55b1c7312d48 , arg1=0x7fad7d488ac0) at /home/james/lilypond-git/lily/include/lily-modules.hh:73 #42 0x000055b1c6d46c2d in main_with_guile(void*, int, char**) () at /home/james/lilypond-git/lily/main.cc:519 #43 0x00007fad83ab7d6f in invoke_main_func (body_data=0x7ffd35163d30) at init.c:367 #44 0x00007fad83a8f33a in c_body (d=d@entry=0x7ffd35163cd0) at continuations.c:349 #45 0x00007fad83af5b03 in scm_c_catch (tag=tag@entry=0x104, body=body@entry=0x7fad83a8f330 , body_data=body_data@entry=0x7ffd35163cd0, handler=handler@entry=0x7fad83a8f350 , handler_data=handler_data@entry=0x7ffd35163cd0, pre_unwind_handler=pre_unwind_handler@entry=0x7fad83af61f0 , pre_unwind_handler_data=0x0) at throw.c:204 #46 0x00007fad83a8f914 in scm_i_with_continuation_barrier (body=body@entry=0x7fad83a8f330 , body_data=body_data@entry=0x7ffd35163cd0, handler=handler@entry=0x7fad83a8f350 , handler_data=handler_data@entry=0x7ffd35163cd0, pre_unwind_handler=0x7fad83af61f0 , pre_unwind_handler_data=pre_unwind_handler_data@entry=0x0) at continuations.c:325 #47 0x00007fad83a8f9f0 in scm_c_with_continuation_barrier (func=func@entry=0x7fad83ab7d50 , data=data@entry=0x7ffd35163d30) at continuations.c:367 #48 0x00007fad83af3f16 in scm_i_with_guile_and_parent (func=0x7fad83ab7d50 , data=0x7ffd35163d30, parent=) at threads.c:734 #49 0x00007fad83ab7ee5 in scm_boot_guile (argc=, argv=, main_func=, closure=) at init.c:350 #50 0x000055b1c6d485a1 in main(int, char**, char**) (argc=3, argv=0x7ffd35163ec8, envp=0x7ffd35163ee8) at /home/james/lilypond-git/lily/main.cc:831