<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi,</p>
    <p><br>
    </p>
    <p>After another test, It seems that the m statement which cause the
      segfault.</p>
    <p>Consider the two attached csd files. One contains a "m" statement
      and make a segfault, the other doesn't contain it and work as
      expected.</p>
    <p>a link toward documentation about this, I think I use it
      correctly (the file worked on my previous csound version on Debian
      Jessy):<br>
    </p>
    <p><a class="moz-txt-link-freetext" href="http://www.csounds.com/manual/html/m.html">http://www.csounds.com/manual/html/m.html</a></p>
    <p><br>
    </p>
    <p>Best,</p>
    <p>Mik<br>
    </p>
    <br>
    <div class="moz-cite-prefix">Le 10/11/2017 à 01:10, Felipe Sateler a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAAfdZj_-szt1tG0weC=zQuAqYP1puM5CygWPZMCtR1mMwrdZDw@mail.gmail.com">
      <div dir="ltr">Control: forwarded -1 <a
          href="https://github.com/csound/csound/issues/871"
          moz-do-not-send="true">https://github.com/csound/csound/issues/871</a>
        <div>
          <div class="gmail_extra"><br>
            <div class="gmail_quote">2017-11-08 16:45 GMT-03:00 Mickael
              Viey <span dir="ltr"><<a
                  href="mailto:m.viey@wanadoo.fr" target="_blank"
                  moz-do-not-send="true">m.viey@wanadoo.fr</a>></span>:<br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex"><span
                  class="">Le 08/11/2017 à 14:19, Felipe Sateler a
                  écrit :<br>
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    Control: forcemerge -1 880010<br>
                    Control: tags -1 moreinfo<br>
                    <br>
                    On Sat, Oct 28, 2017 at 7:54 AM, Mickael Viey <<a
                      href="mailto:m.viey@wanadoo.fr" target="_blank"
                      moz-do-not-send="true">m.viey@wanadoo.fr</a>>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      Package: csound<br>
                      <br>
                      Version: 1:6.08.0~dfsg-1<br>
                      Severity: normal<br>
                      <br>
                      Dear Maintainer,<br>
                      <br>
                      <br>
                      I have some csd files I made on another platforms
                      which generate<br>
                      segfault when running with this version of csound.
                      After diagnostic It<br>
                      appears that the macro system which is
                      responsible.<br>
                      <br>
                      By example, this macro works:<br>
                      #define TIME # 0.25 #<br>
                      #define freq # 146 #<br>
                      <br>
                      <br>
                      #define T # $freq #<br>
                      #define Am # $freq * 17 / 16 #<br>
                      #define AM # $freq * 9/8 #<br>
                      <br>
                      But If I had this after te last line:<br>
                      <br>
                      #define E # $freq #<br>
                      <br>
                      I get a segfault. I will join the complete csd
                      file I used for my tests.<br>
                    </blockquote>
                    Weird. I can reproduce on a stretch docker
                    container, but I can't<br>
                    reproduce on sid, either with 6.09 or rebuilding
                    6.08 . I ran out of<br>
                    time, but could you try rebuilding csound and see if
                    the problem<br>
                    persists?<br>
                    <br>
                  </blockquote>
                </span>
                Hi,<br>
                <br>
                I am not sure what you mean by "rebuild" but this is
                what I done:<br>
              </blockquote>
              <div><br>
              </div>
              <div>Thanks, but I meant recompile the csound sources, not
                just reinstall.</div>
              <div><br>
              </div>
              <div>Anyway, I have debugged some more. Turns out the
                error in sid is still present, it just doesn't cause a
                crash. I have forwarded upstream to the above url. </div>
              <div><br>
              </div>
              <div>The error is not due to the macro, but due to the 3/2
                p7. This is invalid syntax, and that triggers the
                crash/malfunction (the crash is in the error printing
                code, heh). You can work around the problem by fixing
                the syntax error and passing 1.5.</div>
              <div><br>
              </div>
            </div>
            <div><br>
            </div>
            -- <br>
            <div class="gmail_signature"
              data-smartmail="gmail_signature"><br>
              Saludos,<br>
              Felipe Sateler</div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>