<div dir="ltr">Control: forwarded -1 <a href="https://github.com/csound/csound/issues/871">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">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">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>