bug-lilypond
[Top][All Lists]
Advanced

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

segfault in 2.3.11


From: Werner LEMBERG
Subject: segfault in 2.3.11
Date: Sat, 21 Aug 2004 08:36:29 +0200 (CEST)

The input below causes version 2.3.11 to crash (please ignore the
texidoc text :-).  Appended is a backtrace of the first few levels.


    Werner


======================================================================

% 
% address@hidden

\version "2.3.11"

\header { texidoc = "
Whole rests sometimes don't get enough horizontal space.  In the example
below, the third bar looks ugly.
" }

\addquote "Ai" { c4 d e f }

A = \relative c' {
      \quote "Ai" 1 | g1 | }
B = \relative c' {
      \tag #'score { R1 }
       \tag #'part { << R1^"voice a"     \\
                        \quote "Ai" 1 >> } |
      c4 d e f |
    }

\score {
  \context Staff = "B" {
    \applymusic  #(remove-tag 'score) \B
  }
}

% EOF


======================================================================


Program received signal SIGSEGV, Segmentation fault.
Quote_iterator::construct_children (this=0x84b0e48)
    at include/lily-guile.hh:119
119     inline SCM ly_caar (SCM x) { return SCM_CAAR (x); }
(gdb) bt full
#0  Quote_iterator::construct_children (this=0x84b0e48)
    at include/lily-guile.hh:119
        result = 21
        cmp = 5
        hi = 6
        lo = 4
        vec = 0x4047f6b0
        dur = 0x40484a90
        now = {static smob_tag_ = 10623, main_part_ = {sign_ = 0, num_ = 0, 
    den_ = 1}, grace_part_ = {sign_ = 0, num_ = 0, den_ = 1}}
        stop = {static smob_tag_ = 10623, main_part_ = {sign_ = 1, num_ = 1, 
    den_ = 1}, grace_part_ = {sign_ = 0, num_ = 0, den_ = 1}}
#1  0x0818aafc in Simultaneous_music_iterator::construct_children (
    this=0x84b0df8) at simultaneous-music-iterator.cc:64
        scm_iter = 0x4066e750
        name = 0x83b2090
        t = (Context *) 0x15
        j = 0
        i = 0x404b12d0
        tail = (SCM *) 0x84b0e3c
#2  0x08137801 in Music_iterator::get_iterator (this=0x84b02e8, m=0x85bf1c0)
    at music-iterator.cc:148
        m = (Music *) 0x84b0e2c
        ip = 0x4066e768
#3  0x081867e1 in Sequential_iterator::next_element (this=0x84b02e8)
    at sequential-iterator.cc:192
        len = {static smob_tag_ = 10623, main_part_ = {sign_ = 0, num_ = 0, 
    den_ = 1}, grace_part_ = {sign_ = 0, num_ = 0, den_ = 1}}
#4  0x08186b3c in Sequential_iterator::process (this=0x84b02e8, 
    until=0xbfffd984) at sequential-iterator.cc:230
        until = (Moment *) 0xbfffd984
#5  0x08138942 in Music_wrapper_iterator::process (this=0x84af4b8, m=
        {static smob_tag_ = 10623, main_part_ = {sign_ = -1073751588, num_ = 
3221215708, den_ = 136446393}, grace_part_ = {sign_ = -1073751240, num_ = 
3221215812, den_ = 139125936}}) at music-wrapper-iterator.cc:56
        this = (Music_wrapper_iterator *) 0x84af4b8
        m = (Moment *) 0xbfffd9e8
#6  0x0818ac8a in Simultaneous_music_iterator::process (this=0x84ae4f8, 
    until=0xbfffda44) at simultaneous-music-iterator.cc:86
        until = (Moment *) 0xbfffda44
        proc = (SCM *) 0x406689cc
#7  0x08138942 in Music_wrapper_iterator::process (this=0x84ae4b0, m=
        {static smob_tag_ = 10623, main_part_ = {sign_ = -1073751252, num_ = 
1074219792, den_ = 134530932}, grace_part_ = {sign_ = -1073751116, num_ = 
3221216228, den_ = 3221216300}}) at music-wrapper-iterator.cc:56
        this = (Music_wrapper_iterator *) 0x84ae4b0
        m = (Moment *) 0xbfffdb38
#8  0x08186aec in Sequential_iterator::process (this=0x84ae430, 
    until=0xbfffdc2c) at sequential-iterator.cc:217
        gf = (Grace_fixup *) 0xbfffdab4
        until = (Moment *) 0xbfffdc2c
#9  0x08186aec in Sequential_iterator::process (this=0x84ae3b0, 
    until=0xbfffdc94) at sequential-iterator.cc:217
        gf = (Grace_fixup *) 0xbfffdbb4
        until = (Moment *) 0xbfffdc94
#10 0x08138942 in Music_wrapper_iterator::process (this=0x84ae368, m=
        {static smob_tag_ = 10623, main_part_ = {sign_ = -1073750660, num_ = 
16, den_ = 1}, grace_part_ = {sign_ = -1073750448, num_ = 3221216740, den_ = 
140247552}}) at music-wrapper-iterator.cc:56
        this = (Music_wrapper_iterator *) 0x84ae368
        m = (Moment *) 0xbfffdd88
#11 0x08186aec in Sequential_iterator::process (this=0x84ae2e8, 
    until=0xbfffdde4) at sequential-iterator.cc:217
        gf = (Grace_fixup *) 0xbfffdd04
        until = (Moment *) 0xbfffdde4
#12 0x08138942 in Music_wrapper_iterator::process (this=0x85c0200, m=
        {static smob_tag_ = 10623, main_part_ = {sign_ = -1073750460, num_ = 
3221216836, den_ = 135497888}, grace_part_ = {sign_ = 140244456, num_ = 
140247552, den_ = 1080468528}}) at music-wrapper-iterator.cc:56
        this = (Music_wrapper_iterator *) 0x85c0200
        m = (Moment *) 0xbfffde50
#13 0x080b9944 in Global_context::run_iterator_on_me (this=<incomplete type>, 
    iter=0x85c0200) at global-context.cc:143
        w = {static smob_tag_ = 10623, main_part_ = {sign_ = 0, num_ = 0, 
    den_ = 1}, grace_part_ = {sign_ = 0, num_ = 0, den_ = 1}}
        first = false
#14 0x0817f30a in ly_run_translator (mus=0x40493160, output_def=0x4064e328)
    at score.cc:127
        mus = 0x4047f6b0
        output_def = 0x0
        timer = {start_clock_ = 1510000}
        protected_iter = 0x4066a430
#15 0x08180b11 in Score::book_rendering (this=0xbfffdfb8, outname=0xbfffdfb8, 
    paperbook=0x85be018, default_def=0x85bddf8) at score.cc:242
        def = (Output_def *) 0x85be0e0
        scaled = 0x4064e328
        context = 0x85bfca0
        i = 0
        outname = (String *) 0xbfffdfb8
        scale = 1.7572990175729903
        out = 0x4064e368
        systems = 0x2974
        outdef_count = 0
        this = (String *) 0xbfffdfb8
        this = (String *) 0xbfffdfb8
#16 0x08085f37 in Book::process (this=0xbfffe038, outname=0xbfffe038, 
    default_def=0x85bddf8) at book.cc:82
        systems = 0xb
        i = 0
        outname = (String *) 0xbfffe038
        scaled_bookdef = (Output_def *) 0x15
        score_count = 1
        this = (String *) 0xbfffe038
        this = (String *) 0xbfffe038
#17 0x080f39de in ly_parser_print_book (parser_smob=0x407d2698, 
    book_smob=0x404b8508) at lily-parser.cc:512
        outname = {root_ = {strh_ = {data = 0x85bf548}}, dir_ = {strh_ = {
      data = 0x85bf570}}, base_ = {strh_ = {data = 0x8366be8}}, ext_ = {
    strh_ = {data = 0x85bf5c0}}}
        c = (int *) 0x84a53bc
        paper = (Output_def *) 0x85bddf8
        pb = (Paper_book *) 0x11
#18 0x4006333b in scm_deval (x=0x2974, env=0x404b8648) at eval.c:3148
        t = {lloc = 0x407d2698, arg1 = 0x407d2698}
        proc = 0x4030d168
        arg2 = 0x404b8508
        debug = {prev = 0xbfffef2c, status = 128, vect = 0xbfffe054, 
  info = 0xbfffe06c}
        debug_info_end = (scm_t_debug_info *) 0xbfffe084
#19 0x4005ee49 in scm_i_eval (exp=0x404b8740, env=0x404b8648) at eval.c:4069
        exp = 0x0
        env = 0x4047f6b0
#20 0x4005eee7 in scm_primitive_eval (exp=0x404b8740) at eval.c:4094
        exp = 0x404b8740
        env = 0x15
        transformer = 0x15
#21 0x08154719 in internal_ly_parse_scm (ps=0xbfffe2d8) at parse-scm.cc:45
        sf = (Source_file *) 0x404b8740
        port = 0x407da838
        off = 1078691648
        from = 0xae2
        form = 0x404b8740
        answer = 0x2b74
        to = 0x15
#22 0x08154782 in catch_protected_parse_body (p=0xbfffe2d8) at parse-scm.cc:68
        p = (void *) 0x15
#23 0x4009e376 in scm_internal_catch (tag=0x8376750, 
    body=0x8154770 <catch_protected_parse_body(void *)>, body_data=0xbfffe2d8, 
    handler=0x8154790 <parse_handler(void *, scm_unused_struct *, 
scm_unused_struct *)>, handler_data=0xbfffe2d8) at throw.c:205
        tag = 0x8376750
        jbr = {buf = {{__jmpbuf = {1074536528, 1074555584, 137848656, 
        -1073749348, -1073749580, 1074389746}, __mask_was_saved = 0, 
      __saved_mask = {__val = {1076752264, 1078889776, 1919902464, 3221217888, 
          1074387573, 136878266, 10, 139332512, 1074387550, 1074536528, 
          139090360, 139092512, 139332472, 1, 139090124, 1074245166, 
          137895984, 585, 1919902578, 3221217936, 1074387971, 136878266, 10, 
          136305691, 1074387884, 139092512, 3221217964, 136305374, 139089992, 
          3221217976, 135074579, 3221218028}}}}, throw_tag = 0x81548a8, 
  retval = 0x82898ba}
        jmpbuf = 0x404ee6d0
        answer = 0x400c6ac0
#24 0x081548b1 in ly_parse_scm (
    s=0x84a6220 "(if (pair? toplevel-scores)\n  (ly:parser-print-book parser\n  
 (apply ly:make-book $defaultbookpaper $globalheader toplevel-scores)))\n\n", 
    n=0xbfffe484, i=
      {defined_str0_ = 0x84a6220 "(if (pair? toplevel-scores)\n  
(ly:parser-print-book parser\n   (apply ly:make-book $defaultbookpaper 
$globalheader toplevel-scores)))\n\n", source_file_ = 0x84a59b8}, safe=false) 
at parse-scm.cc:109
        s = 0x84a6220 "(if (pair? toplevel-scores)\n  (ly:parser-print-book 
parser\n   (apply ly:make-book $defaultbookpaper $globalheader 
toplevel-scores)))\n\n"
        n = (int *) 0x15
        ps = {
  str = 0x84a6220 "(if (pair? toplevel-scores)\n  (ly:parser-print-book 
parser\n   (apply ly:make-book $defaultbookpaper $globalheader 
toplevel-scores)))\n\n", nchars = 227, start_location_ = {
    defined_str0_ = 0x84a6220 "(if (pair? toplevel-scores)\n  
(ly:parser-print-book parser\n   (apply ly:make-book $defaultbookpaper 
$globalheader toplevel-scores)))\n\n", source_file_ = 0x84a59b8}, safe_ = false}
        ans = 0x0




reply via email to

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