[Csnd-dev] Crashing bug

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Csnd-dev] Crashing bug

Steven Yi
Hi All,

From Anton's email on the user's list, I experienced a crash that
Hlodver also experienced.  I did a git bisect session and found that
the crashing was first introduced in this commit:

2064211c149fa24dcce9be6b894a97ef93fa8bc8 is the first bad commit
commit 2064211c149fa24dcce9be6b894a97ef93fa8bc8
Author: jpff <[hidden email]>
Date:   Mon Feb 6 21:21:10 2017 +0000

    fix score r without macro

The code is not an area I've looked at before.  (A diff of the commit
is here: https://github.com/csound/csound/commit/2064211c149fa24dcce9be6b894a97ef93fa8bc8).

John: could you take a look at this change?  The test file used is
"dafunk-lead.csd" that Anton posted.

Thanks!
steven
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd-dev] Crashing bug

Michael Gogins-2
There's another recent problem, "\n" inside a prints format string causes an error. Changing to "\\n" enables Csound to run but \n in format strings used to work.

Best,
Mike

On Feb 19, 2017 8:52 AM, "Steven Yi" <[hidden email]> wrote:
Hi All,

From Anton's email on the user's list, I experienced a crash that
Hlodver also experienced.  I did a git bisect session and found that
the crashing was first introduced in this commit:

2064211c149fa24dcce9be6b894a97ef93fa8bc8 is the first bad commit
commit 2064211c149fa24dcce9be6b894a97ef93fa8bc8
Author: jpff <[hidden email]>
Date:   Mon Feb 6 21:21:10 2017 +0000

    fix score r without macro

The code is not an area I've looked at before.  (A diff of the commit
is here: https://github.com/csound/csound/commit/2064211c149fa24dcce9be6b894a97ef93fa8bc8).

John: could you take a look at this change?  The test file used is
"dafunk-lead.csd" that Anton posted.

Thanks!
steven

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd-dev] Crashing bug

Steven Yi
In reply to this post by Steven Yi
BTW: I found out that the issue is rooted in this line of the CSD:

f2 0 8192 10  1.0 0.0 0.0 0.0 5.0e-2

Apparently after that change, the e in the scientific notation leads
to a crash.  Changing that to ".005" manually allows the CSD to run.

On Sat, Feb 18, 2017 at 4:52 PM, Steven Yi <[hidden email]> wrote:

> Hi All,
>
> From Anton's email on the user's list, I experienced a crash that
> Hlodver also experienced.  I did a git bisect session and found that
> the crashing was first introduced in this commit:
>
> 2064211c149fa24dcce9be6b894a97ef93fa8bc8 is the first bad commit
> commit 2064211c149fa24dcce9be6b894a97ef93fa8bc8
> Author: jpff <[hidden email]>
> Date:   Mon Feb 6 21:21:10 2017 +0000
>
>     fix score r without macro
>
> The code is not an area I've looked at before.  (A diff of the commit
> is here: https://github.com/csound/csound/commit/2064211c149fa24dcce9be6b894a97ef93fa8bc8).
>
> John: could you take a look at this change?  The test file used is
> "dafunk-lead.csd" that Anton posted.
>
> Thanks!
> steven
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd-dev] Crashing bug

Steven Yi
Here is a minimal test.csd that crashes.  We should add this to the
test suite once the code is working again.

On Sat, Feb 18, 2017 at 5:17 PM, Steven Yi <[hidden email]> wrote:

> BTW: I found out that the issue is rooted in this line of the CSD:
>
> f2 0 8192 10  1.0 0.0 0.0 0.0 5.0e-2
>
> Apparently after that change, the e in the scientific notation leads
> to a crash.  Changing that to ".005" manually allows the CSD to run.
>
> On Sat, Feb 18, 2017 at 4:52 PM, Steven Yi <[hidden email]> wrote:
>> Hi All,
>>
>> From Anton's email on the user's list, I experienced a crash that
>> Hlodver also experienced.  I did a git bisect session and found that
>> the crashing was first introduced in this commit:
>>
>> 2064211c149fa24dcce9be6b894a97ef93fa8bc8 is the first bad commit
>> commit 2064211c149fa24dcce9be6b894a97ef93fa8bc8
>> Author: jpff <[hidden email]>
>> Date:   Mon Feb 6 21:21:10 2017 +0000
>>
>>     fix score r without macro
>>
>> The code is not an area I've looked at before.  (A diff of the commit
>> is here: https://github.com/csound/csound/commit/2064211c149fa24dcce9be6b894a97ef93fa8bc8).
>>
>> John: could you take a look at this change?  The test file used is
>> "dafunk-lead.csd" that Anton posted.
>>
>> Thanks!
>> steven

test.csd (394 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd-dev] Crashing bug

jpff
OK I understad -- too late tonigt toug.  Will attack in morning

On Sat, 18 Feb 2017, Steven Yi wrote:

> Here is a minimal test.csd that crashes.  We should add this to the
> test suite once the code is working again.
>
> On Sat, Feb 18, 2017 at 5:17 PM, Steven Yi <[hidden email]> wrote:
>> BTW: I found out that the issue is rooted in this line of the CSD:
>>
>> f2 0 8192 10  1.0 0.0 0.0 0.0 5.0e-2
>>
>> Apparently after that change, the e in the scientific notation leads
>> to a crash.  Changing that to ".005" manually allows the CSD to run.
>>
>> On Sat, Feb 18, 2017 at 4:52 PM, Steven Yi <[hidden email]> wrote:
>>> Hi All,
>>>
>>> From Anton's email on the user's list, I experienced a crash that
>>> Hlodver also experienced.  I did a git bisect session and found that
>>> the crashing was first introduced in this commit:
>>>
>>> 2064211c149fa24dcce9be6b894a97ef93fa8bc8 is the first bad commit
>>> commit 2064211c149fa24dcce9be6b894a97ef93fa8bc8
>>> Author: jpff <[hidden email]>
>>> Date:   Mon Feb 6 21:21:10 2017 +0000
>>>
>>>     fix score r without macro
>>>
>>> The code is not an area I've looked at before.  (A diff of the commit
>>> is here: https://github.com/csound/csound/commit/2064211c149fa24dcce9be6b894a97ef93fa8bc8).
>>>
>>> John: could you take a look at this change?  The test file used is
>>> "dafunk-lead.csd" that Anton posted.
>>>
>>> Thanks!
>>> steven
>
Loading...