lilypond-user
[Top][All Lists]
Advanced

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

todays git segfaults [backtrace]


From: Wilbert Berendsen
Subject: todays git segfaults [backtrace]
Date: Wed, 1 Oct 2008 14:39:46 +0200
User-agent: KMail/1.9.9

Hi, I updated my LilyPond today, it built fine but it segfaults on some file 
(while working perfect on others). I attach the file and here is the 
backtrace. The crash is in the instrument name code.

When I comment line 189 in the ly file, to remove the instrument name engraver 
from the choirstaff, LilyPond does not segfault.

address@hidden cornelius $ gdb lilypond
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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 "i686-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run die-konige.ly
Starting program: /usr/local/bin/lilypond die-konige.ly
[Thread debugging using libthread_db enabled]
[New Thread 0xb788b6d0 (LWP 23376)]
GNU LilyPond 2.11.61
Verwerken van `die-konige.ly'
Ontleden...
Vertolken van muziek...[8][16][24]
Voorbewerken van grafische objecten...
Vertolken van muziek...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb788b6d0 (LWP 23376)]
Engraver::internal_make_grob (this=0x8ac63b0, symbol=0xb6c78ee0, cause=0x404,
    name=0x8308dbc "InstrumentName",
    file=0x8308d6e "instrument-name-engraver.cc", line=87,
    fun=0x8308efc "start_spanner") at ./include/lily-guile.hh:189
189     inline SCM ly_cdr (SCM x) { return SCM_CDR (x); }
(gdb) bt
#0  Engraver::internal_make_grob (this=0x8ac63b0, symbol=0xb6c78ee0,
    cause=0x404, name=0x8308dbc "InstrumentName",
    file=0x8308d6e "instrument-name-engraver.cc", line=87,
    fun=0x8308efc "start_spanner") at ./include/lily-guile.hh:189
#1  0x080de26b in Engraver::internal_make_spanner (this=0x8ac63b0,
    x=0xb6c78ee0, cause=0x404, name=0x8308dbc "InstrumentName",
    file=0x8308d6e "instrument-name-engraver.cc", line=87,
    fun=0x8308efc "start_spanner") at engraver.cc:163
#2  0x0812db91 in Instrument_name_engraver::start_spanner (this=0x8ac63b0)
    at instrument-name-engraver.cc:87
#3  0x082b90a3 in precomputed_recurse_over_translators (c=0x8ac5d88,
    idx=PROCESS_MUSIC, dir=UP) at ./include/translator-group.hh:35
#4  0x082b9041 in precomputed_recurse_over_translators (c=0x8ac0970,
    idx=PROCESS_MUSIC, dir=UP) at translator-group.cc:207
#5  0x08218ea1 in Score_performer::one_time_step_callback (self=0x8ac0db8,
    ev=0xb33ebb58) at score-performer.cc:138
#6  0x080ca015 in Dispatcher::dispatch (this=0x8ac0400, sev=0xb33ebb58)
    at dispatcher.cc:139
#7  0x080b67d4 in Context::internal_send_stream_event (this=0x8abee64,
    type=0xb6cbad10, origin=0x0, props=0xbfc4052c) at context.cc:451
#8  0x08102097 in Global_context::run_iterator_on_me (this=0x8abee00,
    iter=0x8ac02e8) at global-context.cc:159
#9  0x08104aa0 in ly_interpret_music_expression (mus=0xb72ae818,
    ctx=0xb33cd890) at global-context-scheme.cc:108
#10 0x0810504e in ly_run_translator (mus=0xb72ae818, output_def=0xb2329d50)
    at global-context-scheme.cc:136
---Type <return> to continue, or q <return> to quit---
#11 0x0821598b in Score::book_rendering (this=0x8653af8, layoutbook=0x845e5b8,
    default_def=0x840a2f8) at score.cc:146
#12 0x080957de in Book::process (this=0x845e590, default_paper=0x855ed48,
    default_layout=0x840a2f8) at book.cc:139
#13 0x08097032 in ly_book_process (book_smob=0xb2381468,
    default_paper=0xb74c1810, default_layout=0xb70e19f0, output=0xb6c85c00)
    at book-scheme.cc:53
#14 0xb7f293e8 in scm_gsubr_apply () from /usr/lib/libguile.so.17
#15 0xb7f0fca7 in scm_dapply () from /usr/lib/libguile.so.17
#16 0xb7f1321e in deval () from /usr/lib/libguile.so.17
#17 0xb7f17c3b in scm_primitive_eval () from /usr/lib/libguile.so.17
#18 0x081d329c in ly_parse_scm (
    s=0x85828a3 "(if (or (pair? toplevel-scores) output-empty-score-list)\n  
((if (defined? 'default-toplevel-book-handler)\n    
default-toplevel-book-handler\n    toplevel-book-handler)\n   parser\n   
(apply ly:make-book "...,
    n=0xbfc40aa0, address@hidden, safe=false, parser=0x4) at parse-scm.cc:131
#19 0x082d8e8d in Lily_lexer::yylex (this=0x8596960) at lexer.ll:340
#20 0x082de8be in yyparse (my_lily_parser=0x846f6e0) at parser.yy:2621
#21 0x08141370 in Lily_parser::parse_file (this=0x846f6e0, address@hidden,
    address@hidden, address@hidden) at lily-parser.cc:114
#22 0x081469dc in ly_parse_file (name=0xb6c17190) at lily-parser-scheme.cc:124
#23 0xb7f12105 in deval () from /usr/lib/libguile.so.17
#24 0xb7f0ff16 in scm_dapply () from /usr/lib/libguile.so.17
#25 0xb7f100a5 in scm_apply () from /usr/lib/libguile.so.17
#26 0xb7f14d7d in scm_call_0 () from /usr/lib/libguile.so.17
#27 0xb7f709b0 in scm_body_thunk () from /usr/lib/libguile.so.17
---Type <return> to continue, or q <return> to quit---
#28 0xb7f70f85 in scm_c_catch () from /usr/lib/libguile.so.17
#29 0xb7f710d6 in scm_catch_with_pre_unwind_handler ()
   from /usr/lib/libguile.so.17
#30 0xb7f293e8 in scm_gsubr_apply () from /usr/lib/libguile.so.17
#31 0xb7f0fca7 in scm_dapply () from /usr/lib/libguile.so.17
#32 0xb7f1321e in deval () from /usr/lib/libguile.so.17
#33 0xb7f12de2 in deval () from /usr/lib/libguile.so.17
#34 0xb7f0ff16 in scm_dapply () from /usr/lib/libguile.so.17
#35 0xb7f100a5 in scm_apply () from /usr/lib/libguile.so.17
#36 0xb7f14d41 in scm_call_1 () from /usr/lib/libguile.so.17
#37 0xb7fbba44 in scm_srfi1_for_each ()
   from /usr/lib/libguile-srfi-srfi-1-v-3.so.3
#38 0xb7f1319a in deval () from /usr/lib/libguile.so.17
#39 0xb7f12de2 in deval () from /usr/lib/libguile.so.17
#40 0xb7f13b20 in deval () from /usr/lib/libguile.so.17
#41 0xb7f0ff16 in scm_dapply () from /usr/lib/libguile.so.17
#42 0xb7f100a5 in scm_apply () from /usr/lib/libguile.so.17
#43 0xb7f14d41 in scm_call_1 () from /usr/lib/libguile.so.17
#44 0x08160aab in main_with_guile () at main.cc:426
#45 0xb7f2d916 in invoke_main_func () from /usr/lib/libguile.so.17
#46 0xb7eff722 in c_body () from /usr/lib/libguile.so.17
#47 0xb7f70f85 in scm_c_catch () from /usr/lib/libguile.so.17
#48 0xb7effc82 in scm_i_with_continuation_barrier ()
   from /usr/lib/libguile.so.17
#49 0xb7effd63 in scm_c_with_continuation_barrier ()
   from /usr/lib/libguile.so.17
---Type <return> to continue, or q <return> to quit---
#50 0xb7f70109 in scm_i_with_guile_and_parent () from /usr/lib/libguile.so.17
#51 0xb7f701fe in scm_with_guile () from /usr/lib/libguile.so.17
#52 0xb7f2d8af in scm_boot_guile () from /usr/lib/libguile.so.17
#53 0x0815f0fb in main (argc=2, argv=0xbfc43794, envp=Cannot access memory at 
address 0x40c
) at main.cc:622
(gdb)





best regards,
Wilbert Berendsen

-- 
LilyKDE 0.6.3 has been released today!
LilyPond integration for KDE: http://lilykde.googlecode.com/

Attachment: die-konige.ly
Description: Text Data


reply via email to

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