bug-lilypond
[Top][All Lists]
Advanced

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

Re: How to debug crashing lilypond sessions including \relative?


From: Villum Sejersen
Subject: Re: How to debug crashing lilypond sessions including \relative?
Date: Wed, 28 Sep 2005 07:20:29 +0200
User-agent: Debian Thunderbird 1.0.2 (X11/20050602)

Han-Wen Nienhuys wrote:

Villum Sejersen wrote:
> In july, I asked about a problem (
> http://lists.gnu.org/archive/html/bug-lilypond/2005-07/msg00104.html )
> then in version 2.7.2 but received no answer at all.
>
> Still in all succeding versions, at present 2.7.10, my Lilypond linux
> setup (debian unstable/testing) crashes with a segmentation fault just

Run in GDB, and see what the stacktrace looks like.

Thanks to you and Mats. I reluctantly had come to the same conclusion, that the cause of the problem (\relative causes a segmentation fault) must be hidden somewhere in my particular setup. Now I hope someone can tell me where to look? The message and stacktrace from gdb show:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1214417216 (LWP 13533)]
0x080bf5e9 in Grob::internal_has_interface (this=0x0, k=0xb771a6e0) at grob.cc:650
650       return scm_c_memq (k, interfaces_) != SCM_BOOL_F;

#0 0x080bf5e9 in Grob::internal_has_interface (this=0x0, k=0xb77786e0) at grob.cc:650 #1 0x0818992c in Staff_symbol::has_interface (me=0x0) at staff-symbol.cc:125 #2 0x08188ea2 in Staff_symbol_referencer::get_position (me=0x0) at staff-symbol-referencer.cc:43
#3  0x0818d72d in Stem::head_positions (me=0x85abba8) at stem.cc:73
#4  0x0818d7a6 in Stem::get_default_dir (me=0x85abba8) at stem.cc:256
#5 0x08190e0c in Stem::get_default_stem_end_position (me=0x85abba8) at stem.cc:111
#6  0x081912b3 in Stem::stem_end_position (me=0x85abba8) at stem.cc:95
#7 0x08191c9c in Stem::before_line_breaking (smob=0xb7404a80) at stem.cc:484
#8  0xb7d22a93 in scm_dapply () from /usr/lib/libguile.so.12
#9  0xb7d1e0a3 in scm_apply () from /usr/lib/libguile.so.12
#10 0xb7d1d6b3 in scm_call_1 () from /usr/lib/libguile.so.12
#11 0x080c2393 in Grob::calculate_dependencies (this=0x85abba8, final=2, busy=1, funcname=0xb7778a80) at grob.cc:202 #12 0x080c2345 in Grob::calculate_dependencies (this=0x85ab588, final=2, busy=1, funcname=0xb7778a80) at grob.cc:198
#13 0x0819a21e in System::pre_processing (this=0x858c3a8) at system.cc:284
#14 0x081360b5 in Paper_score::process (this=0x8531a98) at paper-score.cc:91
#15 0x080b0d74 in ly_format_output (context=0xb736cce8) at global-context-scheme.cc:29 #16 0x0815a661 in Score::book_rendering (this=0x8521048, layoutbook=0x8444418, #17 0x0807c542 in Book::process (this=0x8443fa0, default_paper=0x8513f48, default_layout=0x8458150) at book.cc:109 #18 0x0807bbaa in ly_parser_print_book (book_smob=0xb728c560, default_paper=0xb72d44d0, default_layout=0xb71ea1c8, output=0xb728c390) at book-scheme.cc:57
#19 0xb7d32f46 in scm_gsubr_apply () from /usr/lib/libguile.so.12
#20 0xb7d22a93 in scm_dapply () from /usr/lib/libguile.so.12
#21 0xb7d1fb5a in scm_deval () from /usr/lib/libguile.so.12
#22 0xb7d1eab5 in scm_i_eval () from /usr/lib/libguile.so.12
#23 0xb7d1eb7c in scm_primitive_eval () from /usr/lib/libguile.so.12
#24 0x08137209 in internal_ly_parse_scm (ps=0xbfa8cca4) at parse-scm.cc:50
#25 0xb7d60308 in scm_internal_catch () from /usr/lib/libguile.so.12
#26 0x081373a6 in ly_parse_scm (s=0x83d9584 "(if (pair? toplevel-scores)\n (toplevel-book-handler\n parser\n (apply ly:make-book $defaultpaper $defaultheader toplevel-scores)))\n", n=0x0, address@hidden, safe=false) at parse-scm.cc:113
#27 0x081cda68 in Lily_lexer::yylex (this=0x83d7c58) at lexer.ll:293
#28 0x081d1fec in yyparse (my_lily_parser=0x83d7c10) at parser.yy:237
#29 0x081de31f in Lily_parser::do_yyparse (this=0x83d7c10) at parser.yy:2655
#30 0x080dfcf0 in Lily_parser::parse_file (this=0x83d7c10, address@hidden, address@hidden, address@hidden) at lily-parser.cc:114 #31 0x080dc342 in ly_parse_file (name=0xb749b700) at lily-parser-scheme.cc:117
#32 0xb7d1fb73 in scm_deval () from /usr/lib/libguile.so.12
#33 0xb7d22edf in scm_dapply () from /usr/lib/libguile.so.12
#34 0xb7d1e0a3 in scm_apply () from /usr/lib/libguile.so.12
#35 0xb7d1d671 in scm_call_0 () from /usr/lib/libguile.so.12
#36 0xb7d605d2 in scm_body_thunk () from /usr/lib/libguile.so.12
#37 0xb7d60308 in scm_internal_catch () from /usr/lib/libguile.so.12
#38 0xb7d609d1 in scm_catch () from /usr/lib/libguile.so.12
#39 0xb7d1faba in scm_deval () from /usr/lib/libguile.so.12
#40 0xb7d1f714 in scm_deval () from /usr/lib/libguile.so.12
#41 0xb7d1f714 in scm_deval () from /usr/lib/libguile.so.12
#42 0xb7d1f714 in scm_deval () from /usr/lib/libguile.so.12
#43 0xb7d20692 in scm_deval () from /usr/lib/libguile.so.12
#44 0xb7d22edf in scm_dapply () from /usr/lib/libguile.so.12
#45 0xb7d1e0a3 in scm_apply () from /usr/lib/libguile.so.12
#46 0xb7d1d6b3 in scm_call_1 () from /usr/lib/libguile.so.12
#47 0x080f19b6 in main_with_guile () at main.cc:575
#48 0xb7d3699f in scm_init_guile () from /usr/lib/libguile.so.12
#49 0xb7d3695c in scm_init_guile () from /usr/lib/libguile.so.12
#50 0xb7d36630 in scm_boot_guile () from /usr/lib/libguile.so.12
#51 0x080f5db6 in main (argc=3, argv=0xbfa902b4) at main.cc:750


--
yours sincerely, Villum Sejersen

http://home20.inet.tele.dk/vsevisit
telefon +45    59 91  31 57
mobil   +45    30 34  03 44





reply via email to

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