bug-lilypond
[Top][All Lists]
Advanced

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

Re: Segfault 2.15.23 Span_bar_stub_engraver


From: address@hidden
Subject: Re: Segfault 2.15.23 Span_bar_stub_engraver
Date: Sun, 1 Jan 2012 02:47:13 +0100

On Dec 31, 2011, at 10:56 PM, Jay Anderson wrote:

> I've been unable to create a good small example so far. When I take
> out seemingly unrelated sections it compiles which makes it difficult
> to narrow down. Removing the "Span_bar_stub_engraver" from my
> PianoStaff fixes the segfault, but what won't work if I do this?
> 
> Below is at least the stack trace in case there is something obvious.
> This stack was made with a build using the latest on master this
> morning. Thanks for the help!
> 
> -----Jay
> 
> #0  Scheme_hash_table::try_retrieve (this=0x0, k=0x7ffff342f520,
>    v=0x7fffffff8b78) at scm-hash.cc:97
> #1  0x000000000048e331 in Context::where_defined (this=0xd71ff0,
>    sym=0x7ffff342f520, value=0x7fffffff8b78) at context.cc:420
> #2  0x00000000004953a7 in updated_grob_properties (tg=<optimized out>,
>    sym=0x7ffff342f520) at context-property.cc:264
> #3  0x00000000006272fe in Span_bar_stub_engraver::process_acknowledged (
>    this=0xce1d10) at span-bar-stub-engraver.cc:119
> #4  0x0000000000685018 in invoke (this=<optimized out>)
>    at ./include/translator-group.hh:46
> #5  Translator_group::precomputed_translator_foreach (this=<optimized out>,
>    idx=<optimized out>) at translator-group.cc:325
> #6  0x00000000004b1975 in Engraver_group::do_announces (this=0x109dd90)
>    at engraver-group.cc:174
> #7  0x00000000004b1942 in Engraver_group::do_announces (this=0xcc31a0)
>    at engraver-group.cc:169
> #8  0x00000000005ddcfd in one_time_step (this=0xcc31a0)
>    at score-engraver.cc:152
> #9  Score_engraver::one_time_step_callback (self=0xcc31a0, ev=<optimized out>)
>    at score-engraver.cc:145
> #10 0x000000000051c4cd in Listener::listen (this=<optimized out>,
>    ev=<optimized out>) at listener.cc:44
> #11 0x00000000004a05cf in Dispatcher::dispatch (this=0xc41260,
>    sev=<optimized out>) at dispatcher.cc:152
> #12 0x000000000049ef8d in Dispatcher::broadcast (this=<optimized out>,
>    ev=<optimized out>) at dispatcher.cc:178
> #13 0x000000000048e7ca in Context::internal_send_stream_event (this=0xf8c268,
>    type=<optimized out>, origin=0x0, props=0x7fffffff9060) at context.cc:460
> #14 0x00000000004d6cde in Global_context::run_iterator_on_me (this=0xf8c1e0,
>    iter=0xdf2e30) at global-context.cc:169
> #15 0x00000000004d8c4b in ly_interpret_music_expression (mus=<optimized out>,
>    ctx=0x7ffff0d94d30) at global-context-scheme.cc:119
> #16 0x00000000004d93d1 in ly_run_translator (mus=0x7fffef54c620,
>    output_def=<optimized out>) at global-context-scheme.cc:146
> #17 0x00000000005dcf00 in Score::book_rendering (this=0xaf4ef0,
>    layoutbook=0xdb3150, default_def=0xc29f50) at score.cc:155
> #18 0x000000000045e324 in Book::process_score (this=<optimized out>,
>    s=<optimized out>, output_paper_book=0xce27a0, layout=<optimized out>)
>    at book.cc:236
> #19 0x000000000045e561 in Book::process (this=0xc241d0,
>    default_paper=<optimized out>, default_layout=0xc29f50, parent_part=0x0)
>    at book.cc:302
> #20 0x000000000045e71b in Book::process (this=<optimized out>,
>    default_paper=<optimized out>, default_layout=<optimized out>)
>    at book.cc:207
> #21 0x000000000045f013 in ly_book_process (book_smob=0x7ffff02766d0,
>    default_paper=0x7ffff03c0aa0, default_layout=0x7ffff05b47a0,
>    output=0x7ffff3568b60) at book-scheme.cc:76
> #22 0x00007ffff7b2bdcf in scm_dapply () from /usr/lib/libguile.so.17
> #23 0x00007ffff7b2d4cb in ?? () from /usr/lib/libguile.so.17
> #24 0x00007ffff7b2be77 in scm_dapply () from /usr/lib/libguile.so.17
> #25 0x00000000006adf6d in yyparse (parser=0x9dbda0) at parser.yy:592
> #26 0x00000000006b5959 in Lily_parser::do_yyparse (this=<optimized out>)
>    at parser.yy:3178
> #27 0x000000000050ed7b in Lily_parser::parse_file (this=0x9dbda0, init=...,
>    name=<optimized out>, out_name=<optimized out>) at lily-parser.cc:124
> #28 0x0000000000514b11 in ly_parse_file (name=<optimized out>)
>    at lily-parser-scheme.cc:121
> #29 0x00007ffff7b2d816 in ?? () from /usr/lib/libguile.so.17
> #30 0x00007ffff7b2be77 in scm_dapply () from /usr/lib/libguile.so.17
> #31 0x00007ffff7b84903 in scm_c_catch () from /usr/lib/libguile.so.17
> #32 0x00007ffff7b84b0e in scm_catch_with_pre_unwind_handler ()
>   from /usr/lib/libguile.so.17
> #33 0x00007ffff7b2bdcf in scm_dapply () from /usr/lib/libguile.so.17
> #34 0x00007ffff7b2d4cb in ?? () from /usr/lib/libguile.so.17
> #35 0x00007ffff7b2cb0c in ?? () from /usr/lib/libguile.so.17
> #36 0x00007ffff7b2be77 in scm_dapply () from /usr/lib/libguile.so.17
> #37 0x00007ffff21c9fd1 in scm_srfi1_for_each ()
>   from /usr/lib/libguile-srfi-srfi-1-v-3.so
> #38 0x00007ffff7b2d6aa in ?? () from /usr/lib/libguile.so.17
> #39 0x00007ffff7b2cb0c in ?? () from /usr/lib/libguile.so.17
> #40 0x00007ffff7b2d343 in ?? () from /usr/lib/libguile.so.17
> #41 0x00007ffff7b2be77 in scm_dapply () from /usr/lib/libguile.so.17
> #42 0x00000000005268d2 in main_with_guile () at main.cc:440
> #43 0x00007ffff7b475cf in ?? () from /usr/lib/libguile.so.17
> #44 0x00007ffff7b1e16a in ?? () from /usr/lib/libguile.so.17
> #45 0x00007ffff7b84903 in scm_c_catch () from /usr/lib/libguile.so.17
> #46 0x00007ffff7b1e6f7 in scm_i_with_continuation_barrier ()
>   from /usr/lib/libguile.so.17
> #47 0x00007ffff7b1e790 in scm_c_with_continuation_barrier ()
>   from /usr/lib/libguile.so.17
> #48 0x00007ffff7b82db4 in scm_i_with_guile_and_parent ()
>   from /usr/lib/libguile.so.17
> #49 0x00007ffff7b47685 in scm_boot_guile () from /usr/lib/libguile.so.17
> #50 0x000000000040d68f in main (argc=2, argv=0x7fffffffe168,
>    envp=<optimized out>) at main.cc:642

Hey Jay,

I wrote that engraver - could you send me the full file?  I'll try to find the 
source of the bug...

Cheers,
MS


reply via email to

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